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 摘要。