[FFmpeg-devel] [PATCH] libopenjpeg wrapper for jpeg2k decoding

Mathieu Malaterre mathieu.malaterre
Thu Jan 29 00:50:52 CET 2009

On Wed, Jan 28, 2009 at 11:32 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Wed, Jan 28, 2009 at 11:24:47AM +0530, Jai Menon wrote:
>> Hi,
> [...]
>> After this is accepted, I wanted to send a patch for correct decoding
>> of jp2 frames in r3d files.
>> Those frames use 4 components but are interpreted as Y1, Cb, Cr, Y2
>> instead rgba. So till this
>> modification is done, r3d files will appear weird :-)
>> How would you like it done? Do you prefer a new codec id or can I just
>> differentiate between the two
>> using the codec_tag field?
> I like neither, isnt there something in the bitstream that identifies what
> the components are?

If those are JP2, then yes there is color space information (unless OP
meant J2K stream only, no JP2 header)


More information about the ffmpeg-devel mailing list