[FFmpeg-devel] FFV1 high bit depth RGB
Paul B Mahol
onemda at gmail.com
Wed Jul 4 16:07:59 CEST 2012
On 7/4/12, Georg Lippitsch <georg.lippitsch at gmx.at> wrote:
> I'm trying to add high bit depth RGB encoding to FFV1.
> Unfortunately, 16Bit doesn't seem to be as trivial as I hoped, since the
> JPEG200-RCT needs an additional bit of precision.
> So as a first step, I added 10 bit support by adding a new 10 bit packed
> RGB colorspace, and rewriting encode_rgb() / decode_rgb() in ffv1 to
> support it. That works well, and encoding is proven to be lossless with 10
> bit RGB input.
> Patches attached, any comments appreciated!
> Especially, does any one have any ideas if there is a (more or less)
> simple solution for adding 16 bit RGB to FFV1?
> If that is too hard to implement, do you think adding 10 and 12 bit
> colorspaces is feasible? Any other suggestions on how to support more than
Adding more colorspaces is always feasible exp, if there are codec(s)
make use of it. Instead of hacks in decoder/encoder.
Why output for rgb30 is missing? Without rgb30 output ffv1 encoder chages are
not much useful.
More information about the ffmpeg-devel