On Mon, Apr 13, 2015 at 10:19:15AM +0000, Carl Eugen Hoyos wrote: > Michael Niedermayer <michaelni <at> gmx.at> writes: > > > On Mon, Apr 13, 2015 at 09:59:57AM +0000, Marco Porsch wrote: > > > > Previously we had regular 16bit RAW that worked like a > > > charm as input to FFmpeg. The naïve approach of upscaling > > > the 12bit to 16bit destroys the compression efficiency of > > > course... > > > > add a AV_PIX_FMT_GRAY12BE / AV_PIX_FMT_GRAY12LE similar to > > the existing planar 12 bit YUV formats, and add a decoder > > which decodes this odd packing above into it, then add 12bit > > gray support to FFVHUFF theres alreeadyy support for other > > 12bit planar formats in it > > Whats wrong with using GRAY16 and setting bits_per_raw_sample? > I believe ffv1 already supports reading bits_per_raw_sample, > ffvhuff could be patched and no additional colour space will > be needed. Or is there hardware or an external library that > supports GRAY12?
yes GRAY16 with bits_per_raw_sample can be used too [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The misfortune of the wise is better than the prosperity of the fool. -- Epicurus
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel