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
- 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
Any ideas / suggestions what to do?
Thanks in advance and keep up the great work!