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.

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 http://sonnati.wordpress.com/2012/07/02/ffmpeg-the-swiss-army-knife-of-internet-streaming-part-v/

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
2  
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
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.