Log in

View Full Version : x264 - raw input FOURCCs


Biggiesized
22nd May 2010, 17:50
I can't find a list of all the raw video FOURCCs that x264 accepts for input. Am I strictly limited to YV12 or will x264 accept I420 and others? Also, does the extension have to be .y4m or is .yuv acceptable?

Also, if this gets answered, would you guys mind adding this information to the MPEG-4 AVC/H.264 information sticky?

:thanks:

kemuri-_9
22nd May 2010, 18:32
y4m is not a raw format.
x264 does accept YV12 as an encoder but not via the available raw demuxer in the CLI.
x264 accepts no colorspaces outside of I420/YV12, yet...
the other demuxers like ffms and lavf convert to I420.
raw I420 input is the only currently supported raw format for the CLI as of the moment, and if the file extension is not .yuv you will have to manually specify --demuxer yuv

the filtering patch that's still uncommitted adds support for some more raw input formats though.