ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Stdin Support

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

描述

Ideally, I'd like to be able to use ffmpeg.wasm with the MediaRecorder API, which supplies "chunks" of video. Currently, I use this API in conjunction with ffmpeg via a node `child_process` and using the stdin pipe to "feed" data to ffmpeg while it's running.

I'd love to be able to do something like the following:

```
let instance = ffmpeg.start('-i - -f hls -hls_time 2 -hls_playlist_type event stream.m3u8');
instance.stdin.write(new Uint8Array(arrayBuffer));
```

Currently doing something similar in a node environment, but would love to give WASM a try instead of needing an Electron app.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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