by fireattack · 6y ago · 0 comments
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
Edit: small correction: I said PNG before, but it's actually BMPs that are usually in bgr24.
No comments yet.