FFMPEG 支持https协议

只要在FFmpeg config时添加 openssl 支持即可。
OMP120/150 FFmpeg 支持 https 的 config 配置:
./configure --disable-ffplay --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --extra-libs=-ldl --enable-openssl  --enable-nonfree --disable-shared --enable-static --enable-gpl --enable-libx264 --extra-cflags=-I./3rdlib/libx264/include --extra-ldflags=-L./3rdlib/libx264/lib
说明:
--enable-openssl  : 意思是使用openssl库
--enable-nonfree :  意思是允许用户使用非开源的第三库

猜你喜欢

转载自www.cnblogs.com/standardzero/p/12556901.html