Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migrated from Dec 4 '12 at 16:22

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

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

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.