[FFmpeg-devel] [PATCH] acvodec/lipopenjpeg: Improve XYZ color space detection

Michael Bradshaw mjbshaw at gmail.com
Tue Mar 3 20:28:29 CET 2015


On Mon, Mar 2, 2015 at 11:56 PM, Vilius Grigaliūnas <
vilius.grigaliunas at gmail.com> wrote:

> On Tue, Mar 3, 2015 at 4:35 AM, Michael Bradshaw <mjbshaw at gmail.com>
> wrote:
> > You can use the -pix_fmt option to specify the pixel format of the
> source.
> > The openjpeg decoder will try that pixel format first before iterating
> > through its (prioritized) list of pixel formats. That should provide a
> way
> > to work around this (until it's fixed).
>
> First thing I tried, did not work: Option pixel_format not found.
>

Dang, you're right. -pix_fmt only works for image files (that use the
img2dec demuxer). The other demuxers don't support that option, despite the
fact that the libopenjpeg decoder respects the requested pixel format.


More information about the ffmpeg-devel mailing list