ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Stuck at stream mapping

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

描述

**Describe the bug**
When trying to convert a `.mp4` to `.gif` it gets stuck at stream mapping.

I am using version `0.12.6`

Tried with:
```

const file: File = new File([blob], 'videoToBeConverted', { type: blob.type });

const nameIn = file.name;
const nameOut = 'output.gif';

const arrayBuffer = await file.arrayBuffer();

await ffmpeg.exec([
'-i',
nameIn,
'-vf',
'fps=10,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse',
nameOut,
]);
```

and

```
const file: File = new File([blob], 'videoToBeConverted', { type: blob.type });

const nameIn = file.name;
const nameOut = 'output.gif';

const arrayBuffer = await file.arrayBuffer();

await ffmpeg.exec([
'-i',
nameIn,
'-t',
'2.5',
'-ss',
'2.0',
'-f',
'gif',
nameOut,
]);
```

Even tried just converting the `.mp4` to `.mov` and still got stuck.

**To Reproduce**
Cannot provide a reproducible project.

**Expected behavior**
Conversion should start and be logged.

**Screenshots**
![image](https://github.com/ffmpegwasm/ffmpeg.wasm/assets/15110896/dae10861-d723-4f56-8750-be935c6c6961)

**Desktop (please complete the following information):**
- OS: MacOS
- Browser Chrome
- Version 116

**Additional context**
N/A

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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