[FFmpeg-user] Encode to Side by Side Video

Nicolas George nicolas.george at normalesup.org
Tue Jun 5 10:41:37 CEST 2012

Le septidi 17 prairial, an CCXX, Lou a écrit :
> >  -i "input-1.flv" -filter:v "[in]setpts=PTS-STARTPTS,pad=iw*2:ih:iw:0,[T1]overlay=0:0[out];movie=input-2.flv,setpts=PTS-STARTPTS[T1]" output.mp4
> My example worked until 4e781c25b7b1955d1a9a0b0771c3ce1acb0957bd. Some
> (untested?) flotsam from libav. Or maybe there is a syntax change that
> I didn't notice. It should work if you switch to
> cca9528524c7a4b91451f4322bd50849af5d057e.

The git commit message is quite explicit: "fix the order of connecting
unlabeled links". You are using unlabeled links for the input of the overlay
filter, the order has been swapped as the previous parsing was in
contradiction to the documentation and the intended behaviour.

I suggest you always use labeled links whenever there are several inputs or
outputs to a filter.

Also, note that now that filter_complex exists, using movie is no longer


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120605/c2a6af59/attachment.asc>

More information about the ffmpeg-user mailing list