ffmpegwasm / ffmpegwasm/ffmpeg.wasm

How to acquire and execute ffmpeg in real time New data generated by the run process

Offen
#430 0 Kommentare 1 Reaktion 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

I want to realize such a function: upload while converting videos.

I tried to do like this, but the result was not satisfactory.
Res outputs results only after ffmpeg completes the operation of the whole process.
```
// await ffmpeg.run'-i', 'video.mp4', '-r', '10', '-b:a', '32k', 'test.mp4');
ffmpeg.run('-i', 'video.mp4', '-r', '10', '-b:a', '32k', 'test.mp4').then(res => {
console.log('success', res);
})
```

Is there any constructive way?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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