Difference between revisions of "Template:Merging two y4m videos side-by-side"

From XiphWiki
Jump to: navigation, search
(Added instructions for merging two y4m videos)
 
Line 1: Line 1:
 
Merging two y4m videos side-by-side:
 
Merging two y4m videos side-by-side:
  
Two combine 2 y4m videos into one with the two inputs displayed side-by-side, do:
+
Two combine 2 y4m videos into a single video with the input videos displayed side-by-side, do:
  
 
<pre>
 
<pre>

Revision as of 14:25, 17 June 2015

Merging two y4m videos side-by-side:

Two combine 2 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