Shell 无法为';找到合适的输出格式;协议';
我试图用ffmpeg分析一个视频,它给出了这个错误。我提到了其他来源,但这些解决办法似乎不起作用Shell 无法为';找到合适的输出格式;协议';,shell,ffmpeg,Shell,Ffmpeg,我试图用ffmpeg分析一个视频,它给出了这个错误。我提到了其他来源,但这些解决办法似乎不起作用 [NULL @ 0x24eb600] Unable to find a suitable output format for 'protocols' protocols: Invalid argument 我有一个视频目前托管在谷歌云存储上,我想用ffprobe来研究它的定位。这是我使用的命令 ffprobe -v error -show_streams -show_format https://
[NULL @ 0x24eb600] Unable to find a suitable output format for 'protocols'
protocols: Invalid argument
我有一个视频目前托管在谷歌云存储上,我想用ffprobe
来研究它的定位。这是我使用的命令
ffprobe -v error -show_streams -show_format https://storage.googleapis.com/bucket/filename.mp4 | grep rotation
我目前正在Debian Jessie上运行,并从源代码安装了ffmpeg
这是我的安装脚本
cd ffmpeg-3.4.1
./configure --enable-shared
make
make install
ldconfig
有人能告诉我如何解决这个问题吗?在构建
ffmpeg
时,似乎缺少一些协议。我怀疑您的协议列表中没有启用https。请使用ffmpeg-protocols
检查支持的协议列表,并查看列表中是否有https
您需要使用openssl
重新编译ffmpeg
,以启用通过https
安装OpenSSL
apt-get install openssl
./configure --enable-shared --enable-openssl
使用OpenSSL配置FFMPEG
apt-get install openssl
./configure --enable-shared --enable-openssl
您需要为HTTPS支持启用额外的外部库。FFmpeg支持多个库: openssl
- 软件包:libssl-dev(Debian/Ubuntu),openssl-devel(RHEL/CentOS)
- ffmpeg配置选项:
--启用openssl
- 软件包:libgnutls28-dev(Debian/Ubuntu),gnutls-devel(RHEL/CentOS)
- ffmpeg配置选项:
--启用gnutls
- 套餐:无
- ffmpeg配置选项:
--启用libtls
grep
。请参阅《谢谢你》中的ffprobe
示例!我用ssl重建了ffmpeg,它现在可以工作了!