VOD over HTTP

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
chaser
New Cone
New Cone
Posts: 1
Joined: 20 Jun 2011 21:59

VOD over HTTP

Postby chaser » 20 Jun 2011 22:21

Hello,

I am trying to get a simple VOD service running on my home desktop (Windows Vista) so that I can watch stuff elsewhere.

Trying some examples and howtos, I got the RTSP VOD working with the following:

Starting VLC up with telnet interface and no GUI

Code: Select all

vlc -I telnet --control telnet --telnet-password xxxxxxx --rtsp-host 0.0.0.0:5554
(changed port numbers just because ... )
connecting to the server with putty and loading a config file with the following lines:

Code: Select all

new Test1 vod setup Test1 output #transcode{vcodec=h264,vb=0,scale=0.5,acodec=mp4a,ab=128,channels=2,samplerate=44100} setup Test1 mux mp2t setup Test1 input "E:\[series]\test.avi" setup Test1 enabled
I can access the "stream" from my laptop and desktop on LAN but the RTSP can't go throgh my NAT'ed firewall (RTSP protocol routing was explained somewhere on this forum, suffice to say my ISP's forced network hardware has no protocol specific routing options aside tunneling). So I need to get the same thing running with HTTP instead of RTSP (I can forward and filter ports in my router).

95% of the files are 350 mb divx files.
The few howto's I found are all based on the assumption I am using the RTSP protocol.

Could someone post the flags I need to run VLC and the VOD object parameters for HTTP. For bandwidth considerations I would like to keep the transcode option.

Thank you all in advance!

jurgisl
New Cone
New Cone
Posts: 3
Joined: 29 Jun 2011 12:58

Re: VOD over HTTP

Postby jurgisl » 01 Jul 2011 09:21

You should chain this "http{mux=ffmpeg{mux=flv},dst=:8080/test1.flv}" to your output line, and the video will be available at http://localhost:8080/test1.flv. You can open it with the VLC player.

Code: Select all

setup Test1 output #transcode{vcodec=h264,vb=0,scale=0.5,acodec=mp4a,ab=128,channels=2,samplerate=44100}:http{mux=ffmpeg{mux=flv},dst=:8080/test1.flv}


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 6 guests