It is not possible to convert WebP animations or AVIF animations to other
formats. If you want to convert them, you need to use ImageMagick and type
something like `magick input.webp output-%03d.png
ffmpeg -i output-%03d.png -c:v libaom-av1 output.avif`
PS C:\Users\aadmin\Pictures> ffmpeg -i input.webp output.avif
ffmpeg version N-116796-gb730defd52-20240830 Copyright (c) 2000-2024 the FFmpeg
developers
built with gcc 14.2.0 (crosstool-NG 1.26.0.106_ed12fa6)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug
--disable-w32threads --enable-pthreads --enable-iconv --enable-zlib
--enable-libfreetype --enable-libfribidi --enable-gmp --enable-libxml2
--enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis
--enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb
--disable-xlib --enable-amf --enable-libaom --enable-libaribb24
--enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2
--enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec
--enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar
--enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl
--enable-libmp3lame --enable-libopus --enable-librist --enable-libssh
--enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq
--enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
--enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel
--enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1
--enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi
--enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo
--enable-libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2
--enable-libxvid --enable-libzimg --enable-libzvbi
--extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp
--extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc
--cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar
--ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm
--extra-version=20240830
libavutil 59. 35.100 / 59. 35.100
libavcodec 61. 11.100 / 61. 11.100
libavformat 61. 5.101 / 61. 5.101
libavdevice 61. 2.100 / 61. 2.100
libavfilter 10. 2.102 / 10. 2.102
libswscale 8. 2.100 / 8. 2.100
libswresample 5. 2.100 / 5. 2.100
libpostproc 58. 2.100 / 58. 2.100
[webp @ 0000022744717a80] skipping unsupported chunk: ANIM
[webp @ 0000022744717a80] skipping unsupported chunk: ANMF
Last message repeated 69 times
[webp @ 0000022744717a80] image data not found
[webp_pipe @ 0000022744715cc0] Could not find codec parameters for stream 0
(Video: webp, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options
Input #0, webp_pipe, from 'input.webp':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: webp, none, 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (webp (native) -> av1 (libaom-av1))
Press [q] to stop, [?] for help
[webp @ 000002274471dc00] skipping unsupported chunk: ANIM
[webp @ 000002274471dc00] skipping unsupported chunk: ANMF
Last message repeated 69 times
[webp @ 000002274471dc00] image data not found
[vist#0:0/webp @ 0000022744717a80] [dec:webp @ 0000022744718c80] Decoding
error: Invalid data found when processing input
[vist#0:0/webp @ 0000022744717a80] [dec:webp @ 0000022744718c80] Decode error
rate 1 exceeds maximum 0.666667
[vist#0:0/webp @ 0000022744717a80] [dec:webp @ 0000022744718c80] Task finished
with error code: -1145393733 (Error number -1145393733 occurred)
[vist#0:0/webp @ 0000022744717a80] [dec:webp @ 0000022744718c80] Terminating
thread with return code -1145393733 (Error number -1145393733 occurred)
Cannot determine format of input 0:0 after EOF
[vf#0:0 @ 00000227446e8040] Task finished with error code: -1094995529 (Invalid
data found when processing input)
[vf#0:0 @ 00000227446e8040] Terminating thread with return code -1094995529
(Invalid data found when processing input)
[vost#0:0/libaom-av1 @ 00000227465a0900] Could not open encoder before EOF
[vost#0:0/libaom-av1 @ 00000227465a0900] Task finished with error code: -22
(Invalid argument)
[vost#0:0/libaom-av1 @ 00000227465a0900] Terminating thread with return code
-22 (Invalid argument)
[out#0/avif @ 00000227446e6700] Nothing was written into output file, because
at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
PS C:\Users\aadmin\Pictures> ffmpeg -i input.webp -c:v libaom-av1 -crf 0 -b:v 0
-preset placebo output.avif
ffmpeg version N-116796-gb730defd52-20240830 Copyright (c) 2000-2024 the FFmpeg
developers
built with gcc 14.2.0 (crosstool-NG 1.26.0.106_ed12fa6)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug
--disable-w32threads --enable-pthreads --enable-iconv --enable-zlib
--enable-libfreetype --enable-libfribidi --enable-gmp --enable-libxml2
--enable-lzma --enable-fontconfig --enable-libharfbuzz --enable-libvorbis
--enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb
--disable-xlib --enable-amf --enable-libaom --enable-libaribb24
--enable-avisynth --enable-chromaprint --enable-libdav1d --enable-libdavs2
--enable-libdvdread --enable-libdvdnav --disable-libfdk-aac --enable-ffnvcodec
--enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libkvazaar
--enable-libaribcaption --enable-libass --enable-libbluray --enable-libjxl
--enable-libmp3lame --enable-libopus --enable-librist --enable-libssh
--enable-libtheora --enable-libvpx --enable-libwebp --enable-libzmq
--enable-lv2 --enable-libvpl --enable-openal --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
--enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel
--enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1
--enable-libtwolame --enable-libuavs3d --disable-libdrm --enable-vaapi
--enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo
--enable-libvvenc --enable-libx264 --enable-libx265 --enable-libxavs2
--enable-libxvid --enable-libzimg --enable-libzvbi
--extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-libs=-lgomp
--extra-ldflags=-pthread --extra-ldexeflags= --cc=x86_64-w64-mingw32-gcc
--cxx=x86_64-w64-mingw32-g++ --ar=x86_64-w64-mingw32-gcc-ar
--ranlib=x86_64-w64-mingw32-gcc-ranlib --nm=x86_64-w64-mingw32-gcc-nm
--extra-version=20240830
libavutil 59. 35.100 / 59. 35.100
libavcodec 61. 11.100 / 61. 11.100
libavformat 61. 5.101 / 61. 5.101
libavdevice 61. 2.100 / 61. 2.100
libavfilter 10. 2.102 / 10. 2.102
libswscale 8. 2.100 / 8. 2.100
libswresample 5. 2.100 / 5. 2.100
libpostproc 58. 2.100 / 58. 2.100
[webp @ 0000022d04906e80] skipping unsupported chunk: ANIM
[webp @ 0000022d04906e80] skipping unsupported chunk: ANMF
Last message repeated 69 times
[webp @ 0000022d04906e80] image data not found
[webp_pipe @ 0000022d04904cc0] Could not find codec parameters for stream 0
(Video: webp, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options
Input #0, webp_pipe, from 'input.webp':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: webp, none, 25 fps, 25 tbr, 25 tbn
[out#0/avif @ 0000022d048d4b40] Codec AVOption preset (Encoding preset) has not
been used for any stream. The most likely reason is either wrong type (e.g. a
video option with no video streams) or that it is a private option of some
decoder which was not actually used for any stream.
File 'output.avif' already exists. Overwrite? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (webp (native) -> av1 (libaom-av1))
Press [q] to stop, [?] for help
[webp @ 0000022d0490d240] skipping unsupported chunk: ANIM
[webp @ 0000022d0490d240] skipping unsupported chunk: ANMF
Last message repeated 69 times
[webp @ 0000022d0490d240] image data not found
[vist#0:0/webp @ 0000022d069d9bc0] [dec:webp @ 0000022d04909040] Decoding
error: Invalid data found when processing input
[vist#0:0/webp @ 0000022d069d9bc0] [dec:webp @ 0000022d04909040] Decode error
rate 1 exceeds maximum 0.666667
[vist#0:0/webp @ 0000022d069d9bc0] [dec:webp @ 0000022d04909040] Task finished
with error code: -1145393733 (Error number -1145393733 occurred)
[vist#0:0/webp @ 0000022d069d9bc0] [dec:webp @ 0000022d04909040] Terminating
thread with return code -1145393733 (Error number -1145393733 occurred)
Cannot determine format of input 0:0 after EOF
[vf#0:0 @ 0000022d048d8680] Task finished with error code: -1094995529 (Invalid
data found when processing input)
[vf#0:0 @ 0000022d048d8680] Terminating thread with return code -1094995529
(Invalid data found when processing input)
[vost#0:0/libaom-av1 @ 0000022d06800a80] Could not open encoder before EOF
[vost#0:0/libaom-av1 @ 0000022d06800a80] Task finished with error code: -22
(Invalid argument)
[vost#0:0/libaom-av1 @ 0000022d06800a80] Terminating thread with return code
-22 (Invalid argument)
[out#0/avif @ 0000022d048d4b40] Nothing was written into output file, because
at least one of its streams received no packets.
frame= 0 fps=0.0 q=0.0 Lsize= 0KiB time=N/A bitrate=N/A speed=N/A
Conversion failed!
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".