ffmpegwasm / ffmpegwasm/ffmpeg.wasm

How to enable HTTPS protocol in ffmpeg.wasm?

未关闭
#295 12 条评论 11 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
17.8k
派生
1.1k
PR 合并指标
30 天内没有已合并 PR

描述

In my code `await ffmpeg.run("-i", "https://videoabcxyz.com", "output.mp4")`, I got `https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled` error. I also tried to run `await ffmpeg.run("-protocols")`, it only shows HTTP protocol, not HTTPS protocol. But when I ran `ffmpeg -protocols` manually on the command line, it shows both HTTP and HTTPS. How to enable HTTPS protocol in ffmpeg.wasm?

I tried to recompile ffmpeg.wasm-core to enable HTTPS protocol based on these links (https://stackoverflow.com/questions/31514949/ffmpeg-over-https-fails and https://github.com/ffmpegwasm/ffmpeg.wasm-core) but I got error in this image
![image](https://user-images.githubusercontent.com/37976868/148655326-b6d25c87-0416-4524-a749-9f369893fa9c.png)

Please help me fix that error!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。