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.
>

Thanks for the information - I heard about this diffrence, but never thought
it could have such symptoms.


>
> 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.


My source YUV is 4:2:0, and that what I presume FFMPEG uses as well?

I'm not converting it anywhere - just pass straight to encoder.

By the way, when I did converted using img_convert from RGB to YUV, I got
same results.

Any idea what the destination format should be for MPEG4?

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

Reply via email to