[FFmpeg-devel] [PATCH]Improve pix_fmt detection for the native jpeg2000 decoder

Michael Bradshaw mjbshaw at gmail.com
Mon Jul 8 07:36:14 CEST 2013

On Sun, Jul 7, 2013 at 9:26 PM, Michael Niedermayer <michaelni at gmx.at>wrote:

> On Sun, Jul 07, 2013 at 07:57:43PM -0600, Michael Bradshaw wrote:
> > On Sun, Jul 7, 2013 at 5:11 PM, Michael Niedermayer <michaelni at gmx.at
> >wrote:
> >
> > > if someone wants to look into file3.jp2 dont hesitate
> >
> >
> > I wouldn't mind taking some time to look into file3.jp2 and seeing if I
> can
> > find anything useful, but I am unsure of where testfiles_jp2/file3.jp2 is
> > stored. I don't see it with the samples from make fate-rsync, nor do I
> see
> > it in samples.ffmpeg.org or in any FTP folder. Can you point me to it?
> i didnt double check that they are the same but google points to
> http://sourceforge.net/p/jpeg/j2kp4files/ci/master/tree/testfiles_jp2/

Thanks! (@Timothy: thanks as well, turns out they file3.jp2 is exactly the

I'll do some more investigating tomorrow (with Carl's patch; I tested
tonight without it), but libopenjpeg detects this as yuv420 (and correctly
decodes the image), while the native decoder thinks it's rgb24 (it detects
the subsampling correctly, but incorrectly assigns it rgb format instead of


More information about the ffmpeg-devel mailing list