ffmpeg - 未知编码器 'libwebp'

标签 ffmpeg centos

我是安装在 Cent Os 7.8 上的 FFMPEG。我正在尝试将视频转换为 webp 格式的动画,但它说
未知编码器 'libwebp'我想知道如何安装 libwebp 并启用它
这就是我的 ffmpeg 显示的

    ffmpeg version 3.4.8 Copyright (c) 2000-2020 the FFmpeg developers
    built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
    configuration: --prefix=/usr --bindir=/usr/bin --
datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --disable-encoder=libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
    libavutil      55. 78.100 / 55. 78.100
    libavcodec     57.107.100 / 57.107.100
    libavformat    57. 83.100 / 57. 83.100
    libavdevice    57. 10.100 / 57. 10.100
    libavfilter     6.107.100 /  6.107.100
    libavresample   3.  7.  0 /  3.  7.  0
    libswscale      4.  8.100 /  4.  8.100
    libswresample   2.  9.100 /  2.  9.100
    libpostproc    54.  7.100 / 54.  7.100
我在其中找不到 libwebp。
请帮忙

最佳答案

你有几个选择:

  • 下载一个已经编译好的ffmpeg . FFmpeg Download 上链接到的所有可执行文件页面支持 libwebp。
  • FFmpeg Wiki: Compile and Install ffmpeg on CentOS .您需要安装 libwebp-devel 软件包并添加 --enable-libwebpffmpeg配置线路。
  • 关于ffmpeg - 未知编码器 'libwebp',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67904563/

    相关文章:

    video - 如何在 FFMPEG 中将 blend/tblend 过滤器与 t 变量和 Between 语句一起使用

    FFmpeg 缩放和 concat 与动态高度

    php - 通过更新 php 代码重新启动 apache 时出现问题

    linux - Graylog 无法解析主机名

    android - 使用 FFMPEG 从视频中更快地提取缩略图/图像?

    c++ - 解码 H264/RTSP 流后未设置 PTS

    ruby - rvm在centos上安装ruby 2.2.0

    apache - 网站结帐在最新版本的 Chrome/Firefox 中不起作用; Apache SSL 密码问题

    phpseclib loadKey 适用于 mac,不适用于 CentOS

    ffmpeg - mp4 流可以使用 ffserver 吗?