ffmpegwasm / ffmpegwasm/ffmpeg.wasm

How to use xFade?

Offen
#372 0 Kommentare 2 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

I am following this tutorial to concat two videos with a transition in between but I can't find a way to set the flag for xfade

`https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/examples/browser/concatDemuxer.html `

Here's the snippet of my code thus far -

```
await ffmpeg.run( "-f", "concat", "xfade=transition=fade:duration=1:offset=3", "-safe", "0", "-i", "concat_list.txt", "output.mp4");
const data = await ffmpeg.FS("readFile", "output.mp4");
```

And the error that I get is this -

`Uncaught (in promise) Error: ffmpeg.FS('readFile', 'output.mp4') error. Check if the path exists`

Is it possible to set xfade parameters in ffmpeg.wasm? If so then how?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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