Can you help me? Restream Problum.

About encoding, codec settings, muxers and filter usage
jaeungsong
New Cone
New Cone
Posts: 1
Joined: 17 Oct 2018 07:34

Can you help me? Restream Problum.

Postby jaeungsong » 17 Oct 2018 07:45

Before you read: Google Translate with help.

I have NVR and CCTVs.

I need NVR =====(RTSP)=====> WEB
but... web browser not support rtsp.

so always running 1 mini computer (like. SERVER) install vlc. and restream rtsp => hls(ogg)
like : vlc "rtsp://id:pass@adress:554/cam/realmonitor?channel=1&subtype=1" :sout=#transcode{vcodec=theo,vb=1024,scale=Auto,acodec=none,scodec=none}:http{mux=ogg,dst=:8080/A} :sout-all :sout-keep

So ~
NVR =====(RTSP)=====>[SERVER]=====(OGG)=====>WEB Success.
but, many CCTV(more then 2).

So...
vlc "rtsp://id:pass@adress:554/cam/realmonitor?channel=1&subtype=1" :sout=#transcode{vcodec=theo,vb=1024,scale=Auto,acodec=none,scodec=none}:http{mux=ogg,dst=:8080/A} :sout-all :sout-keep
vlc "rtsp://id:pass@adress:554/cam/realmonitor?channel=2&subtype=1" :sout=#transcode{vcodec=theo,vb=1024,scale=Auto,acodec=none,scodec=none}:http{mux=ogg,dst=:8080/B} :sout-all :sout-keep

BUT........
It will not work on the second or above.
Only the first one works normally.

How can I fix it? About this issue.

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: Can you help me? Restream Problum.

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

You need 2 ports, I believe.
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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 34 guests