ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Connection refused

Open
#304 4 comments 0 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","http://someurl","output.mp4")`, I got error in this image. But when running manually in terminal: `ffmpeg -i "http://someurl" output.mp4`, I run successfully. I use `ffmpeg.run()` instead of `fetchFile()` method because `ffmpeg.run()` method can pass command to download the segment of video, for example last 10 seconds of video, but `fetchFile()` method downloads full video. How to fix `Connection refused` error.
![image](https://user-images.githubusercontent.com/37976868/149972785-6bf73ee7-5ac3-4d89-8ac5-a7c473e44345.png)

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.