Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We’re trying to edit a video with FFmpeg. One of our videos has an alpha channel and we want to superimpose this above another video.


Video 01: Start frame 1     end frame 200
Video 02: Start frame 100   end frame 300 

A common function within video editing software is working with multiple layers. So far we haven't been able to find such a function within FFmpeg.

Does anyone know how to do this? Any suggestion is welcome! (or if you know any other way to do this trough a unix command line we'd be glad to know)

share|improve this question
Sure, there's an overlay filter. Make sure you run a recent version of FFmpeg. –  slhck Dec 4 '12 at 13:54
@slhck Sure, the overlay filter works, but we don't know how to time the filter. We want to specify an in- en out- for the filter. So far we haven't been able to find how to do that. –  Jerre Dec 5 '12 at 8:46
I suspect you would need to use the sendcmd filter, if you can get your head around it. –  evilsoup Jan 17 '13 at 2:55
add comment

migrated from stackoverflow.com Dec 4 '12 at 16:22

This question came from our site for professional and enthusiast programmers.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.