我需要使用 ffmpeg (v2.8) 将 mp4 转换为 webp,如何使用 libwebp for android 构建 ffmpeg?
我用谷歌搜索,但几乎没有信息可以用 libwebp 构建 ffmpeg。
我尝试添加配置:
--enable-libwebp
--enable-muxer=webp
--enable-encoder=libwebp
但我得到以下编译错误。
ERROR: libwebp not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
config.log 是:
check_pkg_config libwebp >= 0.2.0 webp/encode.h WebPGetEncoderVersion
false --exists --print-errors libwebp >= 0.2.0
ERROR: libwebp not found using pkg-config