Template:Converting to y4m: Difference between revisions

From XiphWiki
Jump to navigation Jump to search
(Created page with "== Creating y4m from other formats == You can use the ffmpeg tool to generate y4m from any of it supported video formats: ffmpeg -i video.webm -pix_fmt yuv420p video.y4m N...")
 
Line 1: Line 1:
== Creating y4m from other formats ==
== Converting to y4m from other formats ==


You can use the ffmpeg tool to generate y4m from any of it supported video formats:
You can use the [https://www.ffmpeg.org/ ffmpeg] tool to generate y4m from any of its supported video formats:


     ffmpeg -i video.webm -pix_fmt yuv420p video.y4m
     ffmpeg -i video.webm -pix_fmt yuv420p video.y4m


Note that ffmpeg is optimized for speed. You may not get repeatable results across machines.
Note that ffmpeg is optimized for speed. You may not get comparable results across machines.

Revision as of 11:47, 14 April 2015

Converting to y4m from other formats

You can use the ffmpeg tool to generate y4m from any of its supported video formats:

   ffmpeg -i video.webm -pix_fmt yuv420p video.y4m

Note that ffmpeg is optimized for speed. You may not get comparable results across machines.