3 ms·
Just so you know, FFMPEG has a long-standing bug (reported 8 years ago) [1] that affects precisely the type of work you're doing, converting static images to vi
by fireattack 6y ago
Just so you know, FFMPEG has a long-standing bug (reported 8 years ago) [1] that affects precisely the type of work you're doing, converting static images to video.
The gist of it is that if your static image is in bgr24 (most of BMP images) format, when converting to typical video pixel format (like yuv420p), the color will be distorted.
This can be worked around by converting to rgb24 first (which is exactly why this bug is bizarre, since the two should be practically identical.)
(There is also the BT601/BT709 conversion thing, but that's not a bug, just something need to be taken care of.)
[1] https://trac.ffmpeg.org/ticket/979 https://trac.ffmpeg.org/ticket/979
Edit: small correction: I said PNG before, but it's actually BMPs that are usually in bgr24.