ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Compressing audio files is very slow

未关闭
#380 2 条评论 1 个 reaction 已指派 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 摘要。