ffmpegwasm / ffmpegwasm/ffmpeg.wasm

[Question / Help] WebM & OGV export example + multi-threading?

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

描述

Hi, I'm very new to ffmpeg but was able to reference some examples in the issues to successfully generate a `mp4` video like so:

```
ffmpeg.run('-framerate', '30', '-i', 'output-%d.png', '-s', '1280x720', '-c:v', 'libx264', '-pix_fmt', 'yuv420p', 'out.mp4')
```

May I learn how to do the same for `WebM/libvpx` and `ogv/theora`?

Additionally, I understand I can pass `-row-mt 1` into the `run` command for faster `webm` export, but for `ogv` exports am I to correctly understand they're strictly single-threaded?

Thank you.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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