examples: Looping Input
Hello,
I was wondering if you guys could add an example for the correct way (or recommended way) for looping input (specifically audio and video streams) an indefinite amount of time.
Use case: I want to loop a file's video and audio an indefinite amount of times and stream live until I stop the pipeline.
Other:
- I've seen a few solutions that don't seem to be the "correct way" because of issues relating to the timestamps.
- Some solutions just say use `ffmpeg -stream_loop -1", which isn't always a viable option.