I have these 2 commands for FFMPEG, but can't work out how to use the output from the first command and link into the 2nd one, and use them as a single process. I have the following:
Loop video for duration
ffmpeg -stream_loop -1 -i input.m4v -c copy -t 10800 output3h.m4v
Add track to loop X times from .txt
ffmpeg -y -i output3h.m4v -f concat -i text.txt -map 0:v -map 1:a -c:v copy -preset ultrafast -async 1 -shortest complete3h.m4v
Can any one help link them together for 1 action? If any one knows of a way to make the audio loop for the duration of the looped video (t) instead of using the .txt that would help greatly also.