[FFmpeg-user] side by side videos
michael.rampe at gmail.com
Wed Mar 27 03:31:47 CET 2013
Lorenzo Perone wrote
> Now they are 642px large and 1050px hight, both of them are 2:41 (mm:ss)
> Today I'm working in windows 7 64 bit using FFmpeg git-e0e8c20 64-bit
> and I've tried this string:
> ffmpeg.exe -i realtime_test1.mp4 -vf "[in] scale=642:1050, pad=1284:1050
>> [left]; movie=realtime_test2.mp4, scale=642:1050; [left][right]
>> overlay=642:0 [out]" Output.mp4
...looks like your only problem is that you have not labelled the [right]
branch before calling it in the overlay filter.
ffmpeg.exe -i realtime_test1.mp4 -vf "[in] scale=642:1050, pad=1284:1050
[left]; movie=realtime_test2.mp4, scale=642:1050[right]; [left][right]
overlay=642:0 [out]" Output.mp4
Otherwise, this looks fine to me.
In regards to some of the other suggestions, I use filter_complex in
"complex" situations where i need stream selection control or multiple
outputs. Otherwise, this method is preferred by me as you do not have to
worry about stream specifiers or mapping outputs.
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/side-by-side-videos-tp4658071p4658138.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user