Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I need to perform 3 operations on a source video (in sequence)

1 resize the source video from 320X 240 to 640X480 (200%)
2 add another video file before
3 add a 3rd video after

In addition I need to combine an audio file with the finished result(3 video files concatentated.

I found a partial solution here, suggesting a way to concatenate 2 video files

But not sure of the proper syntax to concatenate a 3rd file and also mux an audio file with the finished result. Can anyone help with some suggested settings to try?

share|improve this question
Does concatenating work for you? If so, you could simply concat file 1 and 2, and then concat file 3 with the result from the first operation. To mux audio in, combine the complete video file with an audio track using the -map option, and -c copy. Maybe you can edit your question and show us what exactly you have. I just found concatenating to be a little difficult. Especially if it's MP4 or MKV, and the bitstreams are of the same format, you might want to look into MP4box or mkvtoolnix for file concatenation instead of FFmpeg. – slhck Nov 25 '12 at 10:12
Thanks. have it working using the concat filter option – eco_bach Nov 26 '12 at 2:17
Ah, great! Can you post the correct answer below, please? This way, others can benefit from the solution; you can even accept the answer – slhck Nov 26 '12 at 5:19

You must log in to answer this question.

Browse other questions tagged .