E
E
Evgeny2021-03-15 06:06:49
Google Chrome
Evgeny, 2021-03-15 06:06:49

How to get rid of mp4 color distortion when reducing its resolution?

Hello!

Faced the problem of color distortion.
I need to convert 2 videos from original GIFs for web.
The original GIFs are 300x100px and 150x50px .
From each I get one video - one 300x100 for retina, one 150x50 for normal screens.

When converting, color distortion occurs, and it is especially noticeable on video with a resolution of 150x50 .
However, if I open the video in video players, the difference is not significant:

604ece03c3ca9920652397.jpeg

But in Google Chrome, the difference is significant:

604ece1a2aec8875446413.jpeg

How to get rid of color distortion?

I convert like this:

ffmpeg -i ***.gif -c:v libx264 -profile:v high -pix_fmt yuv420p -crf 20 -preset:v placebo -preset veryslow -color_range pc -movflags +faststart ***.mp4


I tried to get a 150x50 video from a 300x100 video , but the result is the same. For the sake of experiment, I even did a lossless conversion, but the result is the same. The same is true for online services.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question