2Bdecided
21st May 2012, 12:26
In the light of this thread...
http://forum.doom9.org/showthread.php?t=164981
...I'm wondering what method(s) of handling typical camcorder levels (16-255 luma, goodness knows what chroma) actually give something with matches the "original" colours, when viewing the YUV, decoded to 0-255 RGB, on a PC display?
Maybe just using levels(0,1.0,255,2,235,coring=false) to get in-range YUV
is closest? It works well enough in practice, but I'm wondering now if it's "correct"?
Does anyone know what camcorders do internally to generate this range? Are they creating 16-255 RGB and then generating the 16-255 Y directly from that? Or are they creating 0-255 or 16-235 RGB, and then using strange scaling to generate the 16-255 Y? Does it matter?
It may be a fair assumption that, whatever the camcorder is doing internally to create this strange range, it looks "right" when displayed on a TV that handles this range OK (especially old CRTs - the default display technology when this trend started) - and the closest you can get on a PC is to make it all a little darker.
Cheers,
David.
http://forum.doom9.org/showthread.php?t=164981
...I'm wondering what method(s) of handling typical camcorder levels (16-255 luma, goodness knows what chroma) actually give something with matches the "original" colours, when viewing the YUV, decoded to 0-255 RGB, on a PC display?
Maybe just using levels(0,1.0,255,2,235,coring=false) to get in-range YUV
is closest? It works well enough in practice, but I'm wondering now if it's "correct"?
Does anyone know what camcorders do internally to generate this range? Are they creating 16-255 RGB and then generating the 16-255 Y directly from that? Or are they creating 0-255 or 16-235 RGB, and then using strange scaling to generate the 16-255 Y? Does it matter?
It may be a fair assumption that, whatever the camcorder is doing internally to create this strange range, it looks "right" when displayed on a TV that handles this range OK (especially old CRTs - the default display technology when this trend started) - and the closest you can get on a PC is to make it all a little darker.
Cheers,
David.