Op 28 jan 2009, om 22:04 heeft Stas Oskin het volgende geschreven:

> Hi.
>
> Has anyone ever encountered the loss of saturation and contrast?
>
> It happens to me both when I encode raw YUV, and convert them to RGB  
> first.
>
> Regards.
>
> Hi.

Please take into account that your YUV data may actually be YCbCr, the  
format is the same, but the scaling differs. With YCbCr the values  
range from 16-235 (analog standard) instead of the standard 0-255  
range in the world of computers.

If you are certain you are converting from/to the correct format, then  
you probably found a bug, but it is more likely that you are doing the  
wrong conversion, since the symptoms you describe fit a situation  
where you would have YCbCr data and interpret it as if it was YUV data  
on a 0-255 scale.

- Arjan
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to