Page 1 of 1

RTSP into web page - what is best transcoding

Posted: 08 Feb 2019 21:05
by lazna
Have streams from camera and want to publish them in the web page. As a HTML5 is codec independent and thus decoding is a browser only issue, I am wondering what codec you suggest me to transcoding stream into. As a my server is relative poor, low CPU transcoding usage (high efective codec) is crucial for me. As a input stream I can choose between RTSP (AAC/H264), and HTTP (mjpeg).

thanks, L.

Re: RTSP into web page - what is best transcoding

Posted: 10 Feb 2019 22:43
by Jean-Baptiste Kempf
Use RTSP and do not transcode, just remux.

Re: RTSP into web page - what is best transcoding

Posted: 12 Feb 2019 18:02
by SRoll
Hi,

I am also interested about the possibility to re-stream an RTSP stream to a web browser. But I am not very familiar with all the concepts around that.

Let say I want to be able to re-stream this stream rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov in a standard Chrome/Firefox browser using a pure HTML5 solution (js players ok, but no plugins)
Is it possible to do that with VLC without any transcoding? And if yes, how? :)

Previously, a coworker developed a small service that use FFMpeg to read the stream and send it to the browser in fragmented MP4. And I am very interested to know if there is an easier solution using VLC. I searched a lot on the web but I cannot find anything valuable.

Thanks for your help!

Re: RTSP into web page - what is best transcoding

Posted: 12 Feb 2019 20:53
by RĂ©mi Denis-Courmont
Depends on the source media and the target browser.

Re: RTSP into web page - what is best transcoding

Posted: 12 Feb 2019 21:12
by SRoll
In this case, the source media is an RTSP H.264 stream from an IP camera and the target browser is open: any of the modern browsers.

Hope one day it will be possible using a WASM based decoder :)