[FFmpeg-user] Text and icons in video appears blurry after converting from rgb to yuv420p

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jun 22 00:42:40 EEST 2018


2018-06-21 22:26 GMT+02:00, Bolik Bom <bolikbom at mail.com>:

> I have recorded my screen with some recording software, and encoded the
> video as lossless h.264, rgb.
>
> I've saved the file as "source_lossless_rgb.mp4", and then lossy encoded it:
> ffmpeg -i source_lossless_rgb.mp4 -c:v libx264rgb rgb.mp4
>
> And I've created another lossy version, in yuv420p format:
> ffmpeg -i source_lossless_rgb.mp4 -c:v libx264 -pix_fmt yuv420p yuv420p.mp4
>
> When playing the two videos using Media Player Classic / VLC,
> text and icons in the yuv420 video are a little blurry.

This is expected if you convert (true) rgb to yuv420p.
Note that with some players the issue will not be reproducible
because they always convert rgb to yuv420p before displaying.

Carl Eugen


More information about the ffmpeg-user mailing list