Opened 5 years ago
Last modified 2 weeks ago
#4907 open enhancement
Support decoding animated WebP images
| Reported by: | urvang | Owned by: | |
|---|---|---|---|
| Priority: | wish | Component: | avcodec |
| Version: | git-master | Keywords: | webp |
| Cc: | shaunspiller@gmail.com, pcgeek86@gmail.com, k.bumsik@gmail.com, me@jozen.blue, irdroid3@gmail.com, xanashi@gmail.com | Blocked By: | |
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Summary of the bug:
Currently, FFmpeg can encode animated WebPs?, but cannot decode them, which is inconvenient for users.
Decoding animated WebPs? right now generates "image data not found error" due to "unsupported chunk": https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/webp.c#L1504
How to reproduce:
(example input image: https://www.gstatic.com/webp/animated/1.webp)
% ffmpeg -i 1.webp 1.gif ffmpeg version N-75787-g1d4af04 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04) configuration: --enable-libwebp libavutil 55. 2.100 / 55. 2.100 libavcodec 57. 4.100 / 57. 4.100 libavformat 57. 3.100 / 57. 3.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 10.100 / 6. 10.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 [webp @ 0x3782940] image data not found [webp_pipe @ 0x3781360] decoding for stream 0 failed < Rest of the output truncated >
Attachments (5)
Change History (17)
Changed 5 years ago by urvang
comment:1 Changed 5 years ago by cehoyos
- Keywords webp added
- Priority changed from normal to wish
- Reproduced by developer set
- Status changed from new to open
- Version changed from unspecified to git-master
comment:2 Changed 16 months ago by nobody
- Cc shaunspiller@gmail.com added
comment:3 Changed 14 months ago by pcgeek86
- Cc pcgeek86@gmail.com added
comment:4 Changed 9 months ago by jzlomek
- Cc josef@zlomek.net added
comment:5 Changed 9 months ago by jzlomek
Is anybody working on this? I am thinking that I would eventually implement this but do not want to duplicate work.
comment:6 follow-up: ↓ 9 Changed 9 months ago by jzlomek
I am finishing the implementation.
Changed 9 months ago by jzlomek
Animated WebP image (YUV) with transparent black surroundings of the object
comment:7 Changed 9 months ago by jzlomek
- Cc josef@zlomek.net removed
comment:8 Changed 8 months ago by kbumsik
- Cc k.bumsik@gmail.com added
comment:9 in reply to: ↑ 6 Changed 4 months ago by Zennn
comment:10 Changed 4 months ago by Zennn
- Cc me@jozen.blue added
comment:11 Changed 8 weeks ago by irdroid3
- Cc irdroid3@gmail.com added
comment:12 Changed 2 weeks ago by Grey
- Cc xanashi@gmail.com added



An animated WebP image