[FFmpeg-user] Playing videos in a loop!
Suri Shelvapille
suri at baymicrosystems.com
Tue Nov 18 20:22:18 CET 2014
Dear Folks:
I am creating a Video mosaic as follows. Unfortunately, after the video ends, everything stops. I would like to play all the videos in a loop. I have tried "-loop 0", "-loop 1" to ffmpeg and it has not helped. I have tried the same on ffplay as well and that has not helped either. Any help would be deeply appreciated.
-----------------------------------------------------------------------------------
#!/bin/bash
ffmpeg -i a1.avi -i a2.avi -filter_complex "nullsrc=size=320x90 [base];[0:v] setpts=PTS-STARTPTS, scale=160X90 [pos0];[1:v] setpts=PTS-STARTPTS, scale=160X90 [pos1];[base][pos0] overlay=shortest=0 [tmp1];[tmp1][pos1] overlay=shortest=0:x=160" -c:v libx264 -f avi - | ffplay -
thanks
Suri
More information about the ffmpeg-user
mailing list