ffmpegwasm / ffmpegwasm/ffmpeg.wasm

How to enable HTTPS protocol in ffmpeg.wasm?

Open
#295 12 comments 11 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.