ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Connection refused

Offen
#304 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
17.8k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.