Template:Converting to y4m
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
Note that ffmpeg is optimized for speed. You may not get repeatable results across machines.