Dear Folks:

First of all, this is an awesome program!

I am using ffmpeg and ffplay combination to display a mosaic of 12 videos. I am 
using shortest=1 option to ffmpeg to stop all videos when the shortest video 
finishes. I need to play all the videos in a loop. Can you please suggest the 
correct way.

Here is the shortened command (for 2 videos) :
-----------------------------------------------------------------
#!/bin/bash
ffmpeg -i a1.avi -i a2.avi -filter_complex "nullsrc=size=1440x1080 [base];[0:v] 
setpts=PTS-STARTPTS, scale=480x270 [pos0];[1:v] setpts=PTS-STARTPTS, 
scale=480x270 [pos1];[base][pos0] overlay=shortest=1 [tmp1];[tmp1][pos1] 
overlay=shortest=1:x=480" -c:v libx264 -f avi - | ffplay -

many thanks,
Suri
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to