The gif raw data decoded by stb decoded and ffmpeg are different #1641
Unanswered
Adonis-Song
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I want to use stbi decode this gif.
test_data.zip
The image decoded by stb and ffmpeg is as follow.
The Image decoded by stb used last frame as background, and ffmpeg not.
After debug code , I find these code in stb. When dispose equal two, it will use last frame as background ,but ffmpeg wont. In the documentation of gif dispose equal two mean restore to background color.
stb/stb_image.h
Lines 6808 to 6824 in ae721c5
Beta Was this translation helpful? Give feedback.
All reactions