Restreaming does nothing with VLM

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
cctvcam
Blank Cone
Blank Cone
Posts: 29
Joined: 20 Jul 2010 15:29

Restreaming does nothing with VLM

Postby cctvcam » 20 Jul 2010 15:40

Hi,

I am new to VLC/VLM so please be patient.

I have successfully streamed an RTSP input stream using VLC and restreamed in the same format. Using another VLC player I can connect to the new stream on the vlc machine and view the output. the command I used for the manual streaming is

Code: Select all

vlc -vvv rtsp://172.16.100.128:7070/input1 --sout #rtp{sdp=rtsp://:5550/test} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
I now want to do this using VLM, however the player always displays.
Your input can't be opened:
VLC is unable to open the MRL 'rtsp://172.16.100.115:5550/test'. Check the log for details.
the messages log is empty.


The VLM script I have tried is

Code: Select all

# VLC media player VLM command batch # http://www.videolan.org/vlc/ new mystream broadcast enabled setup mystream input "rtsp://172.16.100.128:7070/input1 :rtsp-caching=1200" setup mystream output #rtp{sdp=rtsp://172.16.100.115:5550/test} :sout-keep control mystream play
If using the HTTP interface the broadcast elements section sometimes shows .
•Instances:
◦default: stopped (1) 0.00% 00:00:00/00:00:00
This is on windows using vlc 1.1.0. using the http interface I used VLM to read a file and output to another file. its the output network stream that is being difficult.

thanks.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Restreaming does nothing with VLM

Postby Sébastien Escudier » 21 Jul 2010 11:41

setup mystream input "rtsp://172.16.100.128:7070/input1 :rtsp-caching=1200"
setup mystream output #rtp{sdp=rtsp://172.16.100.115:5550/test} :sout-keep
This is wrong.
:rtsp-caching=1200 and :sout-keep are options and they can't be here.
the correct syntax would be :
setup mystream input "rtsp://172.16.100.128:7070/input1"
You can pass the rtsp-caching and sout-keep in the command line when you start vlc.
And I think you can do something like
setup mystream option sout-keep
But I didn't test.

cctvcam
Blank Cone
Blank Cone
Posts: 29
Joined: 20 Jul 2010 15:29

Re: Restreaming does nothing with VLM

Postby cctvcam » 23 Jul 2010 11:13

The options were added by using the vlm configurator within the VLC gui, I then exported the conf file which has the options as displayed. I have tried removing the options anyway like you suggested but it still does not restream the input. Is there anything else wrong or missing?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Restreaming does nothing with VLM

Postby Sébastien Escudier » 23 Jul 2010 11:25

then I would say this is a bug in the vlc export function.
But it should work without the optoins, as I told you.
I just tested and this is working for me :

Code: Select all

new mystream broadcast enabled setup mystream input "rtsp://someip" setup mystream output #rtp{sdp=rtsp://myip:port/test} control mystream play
If it does not, repost your vlm conf file, and vlc logs.

cctvcam
Blank Cone
Blank Cone
Posts: 29
Joined: 20 Jul 2010 15:29

Re: Restreaming does nothing with VLM

Postby cctvcam » 23 Jul 2010 12:47

Ok, I 've just tried this and now it works. not sure what I did wrong before taking the options off, but it looks like you are correct that the VLM configuration export seems to be using an invalid format. thanks very much for you help in sorting this out.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Restreaming does nothing with VLM

Postby Sébastien Escudier » 23 Jul 2010 13:47

you're welcome. I'll have a look to the VLM export when I have time.
A ticket is opened : http://trac.videolan.org/vlc/ticket/3938


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 5 guests