[FFmpeg-devel] [PATCH] libopenjpegenc: add 9-15 bit RGB output
mc at michaelcinquin.com
Fri Feb 1 06:05:21 CET 2013
> I think your diff is backwards ;)
very true, sorry. Here is a corrected diff.
> Now that Michael Neidermayer has added gbrp* support in swscale, I think
> you could just use
> my 0001-libopenjpegenc-add-support-for-pix-fmt-gbrp-8-16-bit.patch patch
> and do the following (for 12-bit output):
> ffmpeg -i input_image -vcodec libopenjpeg -pix_fmt gbrp12 output_image.jp2
> To get 10 bit, use gbrp10, etc.
> It wouldn't have your cinema_mode changes, but see if this works for you
> (it would be useful to know if it didn't!)
I would most probably make valid 12 bpcc j2c files, but I don't think they would be DCI compliant. The options specified in the patch are necessary to get valid DCI compliant output. The most important change in the patch, the one that made me do 6 round-trips with the Cinema (hey thank you l'Aventure, Bruxelles), was "ctx->enc_params.tcp_mct = 1;"
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4687 bytes
Desc: not available
More information about the ffmpeg-devel