ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Get output as File object from ffmpeg.FS

Offen
#164 1 Kommentar 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

**Is your feature request related to a problem? Please describe.**
I want to input this into a JS library/plugin that only accepts File objects. Is there a way to do this? Currently I figured I can do it through this inefficient way:

```
const data = ffmpeg.FS('readFile', 'output.mp4');
var files = [new File(data, "output2.mp4")];
```

**Describe the solution you'd like**
Essentially get a File object directly.

**Describe alternatives you've considered**
Already mentioned above:
```
const data = ffmpeg.FS('readFile', 'output.mp4');
var files = [new File(data, "output2.mp4")];
```

**Additional context**
No

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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