Answer the question
In order to leave comments, you need to log in
How to "transcode" RTSP to HLS at the lowest cost?
How to transcode RTSP to HLS at the lowest cost on Linux?
Source codec as reported by vlc: H264 MPEG-4 AVC.
Is it possible to "redirect" the stream without compressing the video? By what means?
ps. I tried a lot of software (ffmpeg loads the processor (c debian-multimedia), cftmpserver does not understand my rtsp source (with svn), openrtsp needs a server - recoding again)
pps. Other options are also being considered: the main conditions are: the minimum load during conversion and the output stream that can be attached to the web (flash, html5 video, WebM, etc.).
Thank you!
Answer the question
In order to leave comments, you need to log in
Hike you have a jamb with transcoding with ffmpeg. Rebuild ffmpeg with the required
codec libs.
In general, if you need HLS, install nginx + rtmp module, it supports HLS. Send a stream to it (it works like this for me):
ffmpeg -re -i rtsp://192.168.0.1/ -vcodec copy -acodec copy -vbsf h264_mp4toannexb -f flv rtmp://localhost/hls/720p
In general, in live mode hls does not work, see the post .
"This introduces a minimum lag of 5 seconds."
The link has a solution, but it's without sound and using javascript - I haven't tried it.
In general, in live mode hls does not work, see the post.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question