samirkumardas / jmuxer

jMuxer - a simple javascript mp4 muxer that works in both browser and node environment.
Other
556 stars 113 forks source link

How to convert RTSP streams using ffmpeg? #22

Closed kekeqy closed 5 years ago

kekeqy commented 5 years ago

I want to convert the RTSP stream with ffmpeg, then transfer it through WebScoket, and finally play it through jmuxer.

samirkumardas commented 5 years ago

Sorry I don't know how to convert RTSP stream to other format using ffmpeg. If you already have RTSP stream, you can play it using rtsp player that is available on github. Not sure why do you need to convert it.

By the way, JMuxer expects raw h264 as an input data. So you must provide raw h264 with timing information (e.g either chunk duration or fps )