[FFmpeg-devel] dcp encoding + new pixel format request/sponsorship

Michael Bradshaw mjbshaw at gmail.com
Wed Jan 23 05:51:06 CET 2013


On Tue, Jan 22, 2013 at 9:38 PM, Michael Bradshaw <mjbshaw at gmail.com> wrote:

> On Tue, Jan 22, 2013 at 9:13 PM, Michaël Cinquin <mc at michaelcinquin.com>wrote:
>
>> On 22 janv. 2013, at 20:45, Michael Niedermayer wrote:
>> > On Tue, Jan 22, 2013 at 05:02:18PM +0100, Michael Niedermayer wrote:
>> > also we do have AV_PIX_FMT_GBRP12BE, AV_PIX_FMT_GBRP12LE and
>> > AV_PIX_FMT_GBRP12
>>
>> Wouldn't they shift channels around going from rgb to gbr ?
>>
>> They are not supported by libopenjpeg ; I already tried without success
>> to add them into libopenjpeg.c, apparently it's not that simple
>> > Incompatible pixel format 'gbrp12le' for codec 'libopenjpeg',
>> auto-selecting format 'rgb48le'
>
>
> It's a bit more involved than that, particularly because those GBR pix
> fmts are planar, whereas all the RGB ones are packed.
>

Sorry, I lied; it's not the planar vs packed, but reordering the GBR to be
RGB so it's what OpenJPEG expects. It would take a little bit of extra code.


More information about the ffmpeg-devel mailing list