RTSP into web page - what is best transcoding

About encoding, codec settings, muxers and filter usage
lazna
Blank Cone
Blank Cone
Posts: 14
Joined: 03 Apr 2014 20:30

RTSP into web page - what is best transcoding

Postby lazna » 08 Feb 2019 21:05

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTSP into web page - what is best transcoding

Postby Jean-Baptiste Kempf » 10 Feb 2019 22:43

Use RTSP and do not transcode, just remux.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

SRoll
New Cone
New Cone
Posts: 2
Joined: 12 Feb 2019 17:37

Re: RTSP into web page - what is best transcoding

Postby SRoll » 12 Feb 2019 18:02

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!

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: RTSP into web page - what is best transcoding

Postby Rémi Denis-Courmont » 12 Feb 2019 20:53

Depends on the source media and the target browser.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

SRoll
New Cone
New Cone
Posts: 2
Joined: 12 Feb 2019 17:37

Re: RTSP into web page - what is best transcoding

Postby SRoll » 12 Feb 2019 21:12

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 :)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 25 guests