[FFmpeg-devel] [PATCH] libopenjpegdec: respect JP2 color space, fix ticket 1179

Dave Rice daverice at mac.com
Wed May 2 22:18:50 CEST 2012

On May 2, 2012, at 4:00 PM, Carl Eugen Hoyos wrote:

> Michael Bradshaw <mbradshaw <at> sorensonmedia.com> writes:
>> I tried passing a "-pix_fmt yuv444p" as an
>> input option to see if the user could hint the input pixel format, but
>> ffmpeg rejected it ("Option pixel_format not found."). Should I add a
>> "-pix_fmt" option for the decoder so the user can hint the input pixel
>> format?
> No, but an option "pixel_format" would be very helpful if it worked to 
> force yuv444p/rgb24 etc. (but is not necessarily related to this patch).

I second that. Here's another case where ffmpeg needs help identifying the pixel format.

ffmpeg -i http://archive.org/download/sample_losslessj2k_mxf/test-jpeg2000-color-wsound1.mxf
    Stream #0:0: Video: j2k, 720x486, 59.94 fps, 59.94 tbr, 59.94 tbn, 59.94 tbc

Having "ffmpeg -pix_fmt yuv422p -i test-jpeg2000-color-wsound1.mxf" work would be helpful to wrangle jpeg2000.

Dave Rice

More information about the ffmpeg-devel mailing list