[FFmpeg-user] The internal ffmpeg rgb=>yuv pipeline and conversion matrices

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 9 13:46:36 CEST 2016

Peter Rabbitson <rabbit+list <at> rabbit.us> writes:

> >> - Am I correct that the inconsistency #00AA00 => #00AB01 is 
> >> simply "cost of doing YUV business", or is the reason more 
> >> nuanced/involved?
> This question also got skipped, and I am really keen on 
> understanding whether colors can in fact roundtrip

RGB -> YUV -> RGB is never lossless and this is not related to 
eight or more bits.
(Exceptions are not implemented or need YUV with higher 
bit depths than RGB.)

Carl Eugen

More information about the ffmpeg-user mailing list