ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Stdin Support

Open
#141 5 comments 16 reactions 0 assignees View on GitHub
Dominant language
C
Stars
17.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.