Template:Merging two y4m videos side-by-side

From XiphWiki
Revision as of 14:28, 17 June 2015 by Tmatth (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Merging 2 y4m videos side-by-side

To combine two y4m videos into a single video with the input videos displayed side-by-side, do:

ffmpeg -i uncompressed.y4m -i decoded.y4m -filter_complex "[0:v]setpts=PTS-STARTPTS, pad=iw*2:ih[bg]; \
           [1:v]setpts=PTS-STARTPTS[fg]; [bg][fg]overlay=w" a_b_compare.y4m