[FFmpeg-user] YUV 422P Conversion Clipping detection

Roger Pack rogerdpack2 at gmail.com
Tue Aug 30 00:39:56 CEST 2011

> I'm trying to detect clipping when converting from YUV422p to RGB24. I've
> looked through some of the variables included when calling sws_scale() but
> didn't find any flags that stood out so I'm trying to convert manually using
> the descriptions on wikipedia. http://en.wikipedia.org/wiki/YCbCr
> I've tried several different methods of converting but I don't seem to be
> getting the proper rgb values. sws_scale converts the image properly however
> when I convert it I get values between 16-20;

Are you trying to fix this problem?

(ffmpeg seems to convert from rgb wrong)?

More information about the ffmpeg-user mailing list