ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Get output as File object from ffmpeg.FS

未关闭
#164 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
17.8k
派生
1.1k
PR 合并指标
30 天内没有已合并 PR

描述

**Is your feature request related to a problem? Please describe.**
I want to input this into a JS library/plugin that only accepts File objects. Is there a way to do this? Currently I figured I can do it through this inefficient way:

```
const data = ffmpeg.FS('readFile', 'output.mp4');
var files = [new File(data, "output2.mp4")];
```

**Describe the solution you'd like**
Essentially get a File object directly.

**Describe alternatives you've considered**
Already mentioned above:
```
const data = ffmpeg.FS('readFile', 'output.mp4');
var files = [new File(data, "output2.mp4")];
```

**Additional context**
No

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。