我已經安裝的ffmpeg在centos.But當我饋源URL以https像https支持ffmpeg centos?
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?請幫忙
加倍努力。 https://trac.ffmpeg.org/wiki/CompilationGuide/Centos – halfelf