[FFmpeg-user] YUV->RGB Color Shift

Gavin Kinsey gkinsey at ad-holdings.co.uk
Wed Jan 11 12:51:15 CET 2012


On Tuesday 10 January 2012 22:19:00 Carl Eugen Hoyos wrote:
> 
> You mean that the colour dynamics are wrong, is that correct?
> ("video level" or "MPEG vs JPEG" etc.)
> Red is red for you, but you think it is too red (or not red enough)?
> 
> There is a color_range option that should affect this conversion, some
> users reported it does not work correctly, a reproducible bug report
> would be nice.

libswscale doesn't actually use the color_range value currently, it only 
looks at the pixel format.  YUVJ vs YUV pixel formats.  The color_range is 
only in the AVCodecContext, which libswscale never sees so it can't use it.

-- 
Gavin Kinsey
AD Holdings Plc


This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to whom they are addressed. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system; you may not copy this message or disclose its contents to anyone. The recipient should check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Company. Contact Customer Services for details customerservices at dmicros.com


More information about the ffmpeg-user mailing list