On Thu, Nov 13, 2014 at 12:58:07AM +0100, Michael Niedermayer wrote: > On Sun, Nov 09, 2014 at 12:05:41PM +1100, Peter Ross wrote: > > For cehoyos: > > > > The PhantomCINE file format stores unprocessed sensor data from the > > camera CFA, and reports image processing coefficients in the file header. > > To make meaningful use of this file format with FFmpeg, additional filtering > > is required. > > > > R/B gain: > > > > -vf 'lutrgb=r=WBRGAIN*val:b=WBBGAIN_*val' > > (replace WBxGAIN with value reported by cinedec) > > > > _or_ for automatic adjustment > > > > -vf 'histeq' > > > > There is still a need to compensate for gamma, but I do not know how to > > convert the gamma value reported in the cinedec file to lutyuv/eq2 value. > > (Also, the gain and gamma is intended to be applied in bayer colorspace. > > FFmpeg does have any bayer colorspace filters yet so they are applied post > > RGB conversion.) > > > > [You may reuse the above text in FFmpeg wiki/documentation if neccessary.] > > > > --- > > libavformat/cinedec.c | 16 +++++++++++++++- > > 1 file changed, 15 insertions(+), 1 deletion(-) > > it says RFC in the subject, should i apply this ? > it looks good to me ...
Please apply this. The other cinedec patch, concerning gamma adjustment, is incorrect. Do not apply that one. Thanks. -- Peter (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel