Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 554 by yaron...@
cloudinary.com: Animated webp fade in/out quality issue
https://bugs.chromium.org/p/webp/issues/detail?id=554What steps will reproduce the problem?
1. Convert animated GIF to webp including fade in/out content
2. gif2webp <input> -lossy -q 70 -kmax 0 <output>
3. issue is reproduced also with FFMPEG
What is the expected output? What do you see instead?
compression artifacts on the fade effect
What version of the product are you using? On what operating system?
libwebp-1.2.2
ubuntu
Please provide any additional information below.
small difference between frames is skipped following high threshold, which is derived from the input quality (-q)
recommended change in anim_encode.c:
static int QualityToMaxDiff(float quality) {
// const double val = pow(quality / 100., 0.5);
// const double max_diff = 31 * (1 - val) + 1 * val;
// return (int)(max_diff + 0.5);
return (int)(5 - quality / 30.);
}
Attachments:
fade_quality_issue.webp 1.1 MB
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings