[FFmpeg-user] Two videos within one movie alongside each other

Andrew Gora master at io.ua
Mon Jul 23 11:52:50 CEST 2012

> Cle'ment Boesch recently added this to libavfilter documentation for
> overlay:
> # play an original video and a filtered version (here with the deshake
> filter)
> # side by side
> ffplay input.avi -vf 'split[a][b]; [a]pad=iw*2:ih[src];
> [b]deshake[filt]; [src][filt]overlay=w'
> # the previous example is the same as:
> ffplay input.avi -vf 'split[b], pad=iw*2[src], [b]deshake,
> [src]overlay=w'

Thanks a lot! It works.

Andrew Gora

More information about the ffmpeg-user mailing list