Page 1 of 1

VLC streaming is OK, But VLM(VOD) is not.

Posted: 18 May 2017 11:32
by lombok7
Hi. I need your advice.

I trying to streaming VLM(VOD).

First, streaming using VLC was performed as follows.

% vlc d.mp4 --sout '#rtp{sdp=rtsp://:8554/ttt}'

I was able to run the network stream through the VLC player and it worked fine. (rtsp://192.168.0.71:8554/ttt)

Next, I tried to stream using VLM (VOD).

% vlc --ttl 12 -vvv --color -I telnet --telnet-host 192.168.0.71 --telnet-password videolan --rtsp-host 192.168.0.71 --rtsp-port 7777

The contents of the vlm file are as follows:

# VLC media player VLM command batch
# http://www.videolan.org/vlc/

new Test vod enabled
setup Test input "file:///home/gru/Videos/d.mp4"
setup Test option file-caching=300

And since we are running the network stream, the video is invisible and only the audio is running. (rtsp://192.168.0.71:7777/Test)

I've tried several ways, but I do not know.

Thanks for reading :D

Re: VLC streaming is OK, But VLM(VOD) is not.

Posted: 18 May 2017 11:59
by Jean-Baptiste Kempf
You are not setting the sout part in your VLM batch.

Re: VLC streaming is OK, But VLM(VOD) is not.

Posted: 18 May 2017 12:15
by lombok7
Thanks.

It is the vlm file that added the output part.

# VLC media player VLM command batch
# http://www.videolan.org/vlc/

new Test vod
setup Test output #transcode{vcodec=h264,vb=512,acodec=mp4a,ab=96}
setup Test mux mp2t
setup Test input "file:///home/gru/Videos/d.mp4"
setup Test enabled

still, the video is invisible and only the audio is running.

Re: VLC streaming is OK, But VLM(VOD) is not.

Posted: 11 Jun 2017 15:33
by Jean-Baptiste Kempf
what's the logs?