Template:Merging two y4m videos side-by-side: Difference between revisions
Jump to navigation
Jump to search
m (Tmatth moved page Template:Merging 2 y4m videos side-by-side to Template:Merging two y4m videos side-by-side without leaving a redirect: Use english instead of number) |
|||
Line 3: | Line 3: | ||
<pre> | <pre> | ||
ffmpeg -i uncompressed.y4m -i | ffmpeg -i uncompressed.y4m -i compressed.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 | [1:v]setpts=PTS-STARTPTS[fg]; [bg][fg]overlay=w" a_b_compare.y4m | ||
</pre> | </pre> |
Revision as of 13:30, 17 June 2015
Merging two 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 compressed.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