ffmpegwasm / ffmpegwasm/ffmpeg.wasm

How to use xFade?

オープン
#372 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
C
スター
17.8k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。