Hi. If your source was MJPEG, the range was definitely 0-255. If not MJPEG > then there is very few chances that the source add a range different > than standard YUV (16-235, 16-240), not mentioning Bt 601/709. >
Nope, it was a standard MPEG4 stream, coming via RTSP. > > Encoders take standard YUV (16-235, 16-240) as input. > The strangest thing that if I take the YUV, and convert it to RGB, I see the original quality. If I pass YUV directly to encoder, I loose the saturation/contrast. And if I pass the RGB to encoder (via img_convert), I loose the saturation/contrast as well. So it's like I'm not passing the correct data after all. Any idea what source/target ID's should be specified in img_convert function? Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
