[FFmpeg-user] ffmpeg play continuous loop!

Suri Shelvapille suri at baymicrosystems.com
Fri Nov 21 21:05:15 CET 2014

As per your suggestion tried the below, unfortunately did not work....any other suggestions? Should the base video be a movie filter instead of nullsrc?

ffmpeg -i a1.avi -i a2.avi -filter_complex "nullsrc=size=320x90 [base];movie=a1.avi:loop=100, setpts=PTS-STARTPTS, scale=160X90 [pos0];movie=a2.avi:loop=100, 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 -

-----Original Message-----
From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Carl Eugen Hoyos
Sent: Thursday, November 20, 2014 9:47 AM
To: ffmpeg-user at ffmpeg.org
Subject: Re: [FFmpeg-user] ffmpeg play continuous loop!

Suri Shelvapille <suri <at> baymicrosystems.com> writes:

> I need to play all the videos in a loop.

Then please try with the movie filter as input, there is no loop option for files passed via "-i".

Carl Eugen

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

More information about the ffmpeg-user mailing list