[FFmpeg-user] bounty: fix this bug #437 $150

Dave Bevan dave.bevan at bbc.co.uk
Tue Nov 15 15:41:13 CET 2011


> http://ffmpeg.org/trac/ffmpeg/ticket/437
> It is reproducible in linux I believe.
> $150 bounty!

I'm not actually sure this is a bug. RGB & YUV have differing colour
space, and differing gamut curves - conversion is NOT linear. On your
ffplay cmd output, the scale filter is inserting

[scale @ 03C06280] w:1680 h:1050 fmt:bgr24 -> w:1680 h:1050
 fmt:yuv420p flags:0x4

which WILL change colours, because yuv is a compressed colour space
(pure black is 16,16,16 and pure white is 235,235,235), always has been,
always will be. Further, within the YUV colour space, there are
different gamut curves - rec601 & rec709 for example.

Please read http://en.wikipedia.org/wiki/YUV for a more indepth
explaination.

--D.

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					


More information about the ffmpeg-user mailing list