ffmpegwasm/ffmpeg.wasm

Video stream?

kogratte opened this issue · 0 comments

Hey there!

I would like to create a demo page that stream camera through a brand new protocol I'm trying to emphasis.

In order to make a decent POC, I intend to grab the user camera, convert it into h265, then stream it using the formentioned protocol and display it somewhere else. No need to say I may need the opposite in a viewer page.

Basically, my idea is this one:

[camera] => ffmpeg to convert it to h265 => ByteArray over network for the sender
[ByteArray from network] => Something to decode => visualisation.

Am I wrong trying to achieve this using ffmpeg? Is not, how should I proceed?

If I'm fine with camera data, I do have some errors when trying to convert chunks using ffmpeg. I can't find anything like that in existing examples.