[FFmpeg-devel] [PATCH]Support encoding RGB48 with libopenjpeg

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jan 12 00:38:54 CET 2012


Michael Bradshaw <mbradshaw <at> sorensonmedia.com> writes:

> > My next patch will change the default for 16 bit 4:4:4 to RGB48 since this
> > is
> > what OSX and jasper assume iiuc.
> > Or is there a bug and we should detect if an image is YUV or RGB?
> 
> When encoding, shouldn't pix_fmt be set so we don't have to guess/detect
> anything?  Or do you mean for decoding, as that would make sense to have 16
> bit 4:4:4 default to RGB48.

I meant 16 bit 4:4:4 should be interpreted as RGB48 when decoding, yes.

(But my actual question is: Does the specification not say anything about this?)

Sorry for the confusion, Carl Eugen



More information about the ffmpeg-devel mailing list