【发布时间】:2016-11-15 10:45:27
【问题描述】:
我已经在 centos 上安装了 ffmpeg。但是当我用 https 提供 url 时
ffmpeg -i https://s3-us-west-2.amazonaws.com/bucket/check.mp4 video.mp4
错误来了
https protocol not found, recompile FFmpeg with openssl, gnutls, or securetransport enabled.
我知道我必须启用这个--enable-openssl,但是当我这样做时
PKG_CONFIG_PATH="/ffmpeg_build/lib/pkgconfig"
./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib -ldl" --bindir="$HOME/bin" --pkg-config-flags="--static" --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-openssl
它给了我这样的错误:
ERROR: opus not found
我应该怎么做才能启用 https?请帮忙
【问题讨论】:
标签: ffmpeg