ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Compressing audio files is very slow

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

説明

Hey guys,
I am trying to “compress” audio files (wav) by lowering their sample rate (from 8k to 3k).
But while I do that using ‘react’ and `@ffmpeg/ffmpeg`, the time that it takes for ffmpeg to do so is very long.

The commands i was running:
```js

ffmpeg.FS(“writeFile”, “test.wav”, await fetchFile(“http://localhost:3003/sample.wav”));

await ffmpeg.run(“-i”, “test.wav”, “-ar”, “3000”, “output.wav” )

```

I would love to get some help about this issue, i saw there is an option for some type of threaded running of ffmpeg, maybe some of you know more about that?

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

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

評価

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

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

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