[FFmpeg-devel] webp decode not supported yet?

Dan WU wdanxna at gmail.com
Tue May 31 05:51:27 CEST 2016


Hey guys, I just want to confirm if webp decode is not supported yet? I
build ffmpeg and enabled as many libraries as I can like:

> ./configure  --prefix=/usr/local --enable-gpl --enable-nonfree
> --enable-libass --enable-libfdk-aac --enable-libfreetype
> --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
> --enable-libvpx --enable-libx264 --enable-libxvid --enable-libwebp
> --enable-demuxer=webp_pipe --enable-decoder=webp
> --extra-ldflags=-L/usr/local/lib --extra-cflags=-I/usr/local/include

but then I do this: *./ffmpeg -i test.webp -vframes 1 frame.jpg *

want to extract 1 frame from webp animated image.

I still got the error like:

> ffmpeg version N-80121-gbe96ebd Copyright (c) 2000-2016 the FFmpeg
> developers
>   built with Apple LLVM version 7.3.0 (clang-703.0.31)
>   configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
> --enable-libass --enable-libfdk-aac --enable-libfreetype
> --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis
> --enable-libvpx --enable-libx264 --enable-libxvid --enable-libwebp
> --enable-demuxer=webp_pipe --enable-decoder=webp
> --extra-ldflags=-L/usr/local/lib --extra-cflags=-I/usr/local/include
>   libavutil      55. 24.100 / 55. 24.100
>   libavcodec     57. 43.100 / 57. 43.100
>   libavformat    57. 37.101 / 57. 37.101
>   libavdevice    57.  0.101 / 57.  0.101
>   libavfilter     6. 46.100 /  6. 46.100
>   libswscale      4.  1.100 /  4.  1.100
>   libswresample   2.  0.101 /  2.  0.101
>   libpostproc    54.  0.100 / 54.  0.100
> [webp @ 0x7fb023801c00] skipping unsupported chunk: ANIM
> [webp @ 0x7fb023801c00] skipping unsupported chunk: ANMF
>     Last message repeated 793 times
> [webp @ 0x7fb023801c00] image data not found
> [webp_pipe @ 0x7fb023800a00] decoding for stream 0 failed
> [webp_pipe @ 0x7fb023800a00] Could not find codec parameters for stream 0
> (Video: webp, none): unspecified size
> Consider increasing the value for the 'analyzeduration' and 'probesize'
> options
> Input #0, webp_pipe, from 'test.webp':
>   Duration: N/A, bitrate: N/A
>     Stream #0:0: Video: webp, none, 25 tbr, 25 tbn
> [buffer @ 0x7fb022f00120] Unable to parse option value "0x0" as image size
> [buffer @ 0x7fb022f00120] Unable to parse option value "-1" as pixel
> format
> [buffer @ 0x7fb022f00120] Unable to parse option value "0x0" as image size
> [buffer @ 0x7fb022f00120] Error setting option video_size to value 0x0.
> [graph 0 input from stream 0:0 @ 0x7fb022f00060] Error applying options
> to the filter.


the code here http://ffmpeg.org/doxygen/trunk/webp_8c_source.html#l01503
<http://www.google.com/url?q=http%3A%2F%2Fffmpeg.org%2Fdoxygen%2Ftrunk%2Fwebp_8c_source.html%23l01503&sa=D&sntz=1&usg=AFQjCNGh_NjDELvCWUU2iOx4pyX7vI1ikA>
shows
the ANMF chunk been skipped? does that mean I cannot extract frame from
webp using ffmpeg for now?


More information about the ffmpeg-devel mailing list