gpt4 book ai didi

https - https上的ffmpeg失败

转载 作者:行者123 更新时间:2023-12-04 04:45:23 24 4
gpt4 key购买 nike

如果我喂 urlhttp ,例如:

ffmpeg -i http://vjs.zencdn.net/v/oceans.mp4 videojs.mp4

它完美地工作。但是,当我喂 urlhttps ,例如:
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. https://s3-us-west-2.amazonaws.com/bucket/check.mp4: Protocol not found



我应该怎么做才能启用 https?

最佳答案

答案可以在错误信息中找到。

Recompile FFmpeg with openssl, ...


所以,重新编译 ffmpeg具有所需的依赖项。
您可以阅读更多关于流程的信息 here ,并且在 ./configure 期间步骤,只需添加 --enable-openssl .
确保您已安装以下软件包: build-essential , openssl , libssl-dev在评论中,您说您使用的是 Ubuntu,因此您可以使用 apt-get install 轻松安装这些软件包。 .
安装后可以执行 ffmpeg -protocols确保您拥有 https列在那里。
顺便说一句,您的视频(在 AWS 上)可以通过 http 访问协议(protocol)。

关于https - https上的ffmpeg失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31514949/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com