Running VLM VOD on a headless Ubuntu 12.04 server

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
ErrorAsh
New Cone
New Cone
Posts: 2
Joined: 28 Nov 2013 21:53

Running VLM VOD on a headless Ubuntu 12.04 server

Postby ErrorAsh » 28 Nov 2013 22:33

Hello everyone,

I am trying to run VLC VLM on my headless Ubuntu server. My goal is to set up a VOD Server so that I can watch all my videos via LAN (or VPN) on demand. Videos need to be transcoded into H.264 and audio to MP3 (or maybe AAC) so that I can even send them over a broadband internet conection.

This is what I tried so far (trying to folow this documentation http://www.videolan.org/doc/streaming-h ... /ch05.html but even the first step doesn't work for me):

- Install VLC-nox (sudo apt-get install vlc-nox) since I am running headless
- Try to run html interface on the command line version of vlc (cvlc -I http) I get these messages:

Code: Select all

VLC media player 2.0.8 Twoflower (revision 2.0.8a-0-g68cf50b) [0xfb2498] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [0xfb2498] main interface error: no suitable interface module [0xfb2498] main interface error: no suitable interface module [0xdb8108] main libvlc error: interface "globalhotkeys,none" initialization failed [0xfb2498] [http] lua interface: Lua HTTP interface
When trying to open the page in my browser I get a 403 error

- Try the http interface in my video directory (cvlc -I http --http-src /share/public/Videos/)
This time I get a directory listing of all my videos, but when selecting one nothing happens (connection timeout) when I select a folder I get a 404

- Try to run telnet interface (cvlc -I telnet) I get the same errors as above plus this:

Code: Select all

[0x1d55498] [telnet] main interface error: socket bind error (Permission denied) [0x1d55498] [telnet] lua interface error: Error loading script /usr/lib/vlc/lua/intf/telnet.luac: lua/intf/modules/host.lua:200: Cannot listen on localhost:4212
and when I try to telnet to my server via putty (telnet to 10.127.68.115 port 4212) from another PC the putty session just closes without any errors/messages, very strange...


Any ideas / suggestions what to do?

Thanks in advance and keep up the great work!

ErrorAsh
New Cone
New Cone
Posts: 2
Joined: 28 Nov 2013 21:53

Re: Running VLM VOD on a headless Ubuntu 12.04 server

Postby ErrorAsh » 28 Nov 2013 23:54

Ok i got telnet running via the command:
vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --telnet-host 10.127.68.115:4212 --rstp-host 10.127.68.115:8080

But now I don't know what to do at all... I'm totally lost and the documentation doesn't help at all :( Any directions on how to set up a VOD server with several media files to select for the client and with transcoded videos? I'm super lost...

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: Running VLM VOD on a headless Ubuntu 12.04 server

Postby Jean-Baptiste Kempf » 06 Dec 2013 00:36

You got permissions denied. Do you have enough rights as a user?

For VOD though, you should use nginx.
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 “VLM”

Who is online

Users browsing this forum: No registered users and 21 guests