[FFmpeg-user] How to overlay several pictures onto your video

Raúl Mansilla raul.mansilla at overon.es
Mon May 19 21:54:01 CEST 2014


I think you must send the first overlay to another label an then overlay the second image on the previous label....

> "[0:v][1:v]overlay=0:0:enable=between(t\,0\,7) [temp]; [temp][2:v]overlay=0:0:enable=between(t\,40\,45)" \


	RAUL MANSILLA
Ingenieria | PlayOut

> El 19/05/2014, a las 20:54, Cecil Westerhof <Cecil at decebal.nl> escribió:
> 
> At the moment I am using the following:
>    ffmpeg \
>      -y \
>      -i input.mp4 \
>      -i 0.png \
>      -i 1.png \
>      -c:v libx264 \
>      -crf 18 \
>      -filter_complex \
>        "[0:v][1:v]overlay=0:0:enable=between(t\,0\,7); [0:v][2:v]overlay=0:0:enable=between(t\,40\,45)" \
>      -codec:a copy \
>      out.mp4
> 
> This partly works. The first picture is shown from 0 to 7. But the
> second picture is not shown. How could I make the second picture shown
> also?
> 
> -- 
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 


More information about the ffmpeg-user mailing list