phoboslab / jsmpeg

MPEG1 Video Decoder in JavaScript
MIT License
6.37k stars 1.43k forks source link

Capturing stream via ffmpeg and converting to mp4 #78

Closed HAASLEWER closed 8 years ago

HAASLEWER commented 8 years ago

Hi,

Please let me know if this does not make sense.

Once a connection has been established and frames are being received on the server, I would like to get ffmpeg to grab the stream and convert it to an mp4 file.

Do you know if this is possible?

phoboslab commented 8 years ago

I don't think you need jsmpeg at all for that. Just send and receive the video with ffmpeg!?

HAASLEWER commented 8 years ago

Yes, I have considered that but I need the live video feed so if I use both jsmpeg and ffmpeg to stream to the same server I'm going to have bandwidth issues.

Thank you for your reply.