[FFmpeg-user] Default RGB to YUV conversion

Andy Furniss adf.lists at gmail.com
Sat Dec 6 14:43:17 CET 2014

Florian Friedrich wrote:
> Dear Carl Eugen,
> Before looking into the source code (I¹m not a professional
> programmer and it¹s hard to follow the route of the pixels), may I
> ask this question please: Is there a way to influence the initial
> RGB->YUV conversion, picking either 601 or 701 or something else? I
> got the impression that there is no parameter and the initial
> conversion always follows 601 equasions.

-vf scale="out_color_matrix=bt709"

Seems to work for me in a quick test.


IIRC the range options are more confusing in that to get rgb to yuv full
they don't work, and have lead threads/issues. In that case yuvj is the
way to go.

More information about the ffmpeg-user mailing list