[FFmpeg-user] Unable to produce a yuv444p video that vlc will play back correctly

Andy Furniss adf.lists at gmail.com
Sun Nov 16 14:57:32 CET 2014


Peter Rabbitson wrote:

> This results (as expected) in a file identical to the source, proving
>  that the video contains the full RGB (or equivalent yuv444) set of
> color information:
>
>> ~$ diff miniansi_orig.png miniansi_frame.png; echo $? 0

Only for this sample, not that it really matters in this case, but rgb
-> yuv will loose colour and there is also a conversion from full range
to studio and back.


> Yet the results of playing the generated mkv in vlc (or for that
> matter any other player) are visibly terrible (see side_by_side.png)

It's the player or rather the way it works/is setup/is setup for your
hardware.

Players by default will use GPU for CSC/scale and these often won't
avertise 444 as an input option so VLC will likely convert to 420.

There is likely some way you could get VLC to do it, with mplayer  I
think specifying opengl would do.

I don't really know what to suggest - 422 would  be more likely to work
- but then you would still see some loss.




More information about the ffmpeg-user mailing list