MJPEG video stream

Gabriel Soudry

New Member
Hello,

Are there any plans to implement MJPEG support in the future ?

f not, I'd like to inquire whether it would be advisable to use ffmpeg for converting MJPEG to H.264 and then transmitting it to Flashphoner.

Regards,
Gabriel
 

Max

Administrator
Staff member
Good day.
Are there any plans to implement MJPEG support in the future ?
No, we have no plans to support MJPEG. You can use ffmpeg to convert it to H.264 and publish it to WCS as RTMP for example:
Code:
ffmpeg -re -i rtsp://camera_ip:554/mjpeg_stream -preset ultrafast -acodec aac -vcodec h264 -strict -2 -f flv rtmp://wcs:1935/live/h264_stream
or as RTP over RTSP (in this case you should also set an incoming RTSP port in WCS parameters rtsp.port=2554)
Code:
ffmpeg -re -i rtsp://camera_ip:554/mjpeg_stream -c:a libopus -ac 2 -ar 48000 -c:v copy -b:a 96K -b:v 500K -f rtsp -rtsp_transport tcp rtsp://wcs:2554/h264_stream
 
Top