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

Cecil Westerhof Cecil at decebal.nl
Mon May 19 20:54:03 CEST 2014


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


More information about the ffmpeg-user mailing list