[FFmpeg-user] side by side videos

Teemu Likonen tlikonen at iki.fi
Mon Mar 25 18:01:21 CET 2013

Lorenzo Perone [2013-03-25 17:30:59 +0100] wrote:

> Hi Teemu,
> I've tried your suggestion and I've used this string:
> ffmpeg.exe -i realtime_test1.mp4 -filter_complex "[in] scale=642:1050,
>> pad=1284:1050 [left]; movie=realtime_test2.mp4, scale=642:1050;
>> [left][right] overlay=642:0 [out]" Output.mp4

>> [mov,mp4,m4a,3gp,3g2,mj2 @ 00000000023cd5c0] Invalid stream specifier: in.
>>     Last message repeated 1 times
>> Stream specifier 'in' in filtergraph description [in] scale=642:1050,
>> pad=1284:1
>> 050 [left]; movie=realtime_test2.mp4, scale=642:1050; [left][right]
>> overlay=642:
>> 0 [out] matches no streams.

Please read the error messages yourself and try to understand them. The
input specifier "[in]" is invalid. FFmpeg does not know it. Use input
specifier like "[0:v:0]" to refer to the first video stream of the first
input file.

When the filter graph outputs the stream named "[out]" you can later
refer to that with "-map [out]".

(Note that I have not dug any deeper into your task of having side by
side videos. I'm just helping about this specific error.)

More information about the ffmpeg-user mailing list