Page 1 of 1

Server install

Posted: 25 Feb 2007 11:54
by soundguy
I've been trying for days to get VLS or VLC to install on a cPanel/Centos4.4 commercial server and the defaults for Yum, RPM, and source methods all insist on a bunch of packages that have no business on a web server - things like Samba, Gnome, X, etc.

Can anyone point me to a reasonably easy method to compile a command-line-only server version for this platform? (I'm guessing a binary is out of the question ;-) )

All I want to do is build a "TV channel" system that loops a playlist of WMV or h.264 clips and spits out a feed to a reasonable number of consecutive viewers. Password-protection would be nice, but I don't need most of the advanced features of VLC and I definitely don't want any graphical baggage running. I probably don't even need transcoding since all the clips will be in the exact same format, resolution, and datarate.

Seems like VLS would be the better choice, but it fails to compile and just about every reply to every thread in the VLS forum suggests using VLC instead.

Posted: 25 Feb 2007 12:25
by Jean-Baptiste Kempf
You need to compile VLC without a lot of --enable
like --disable-wx --disable-skins2 --disable-X11 --dsiable-xvideo

take a look at ./configure --help

Posted: 26 Feb 2007 11:24
by soundguy
I tried to kill everything that seemed like it might be superfluous to a command-line-only version that will just be streaming mp4 and h.264. Here's what I came up with:

./configure --disable-dvdnav --disable-mad --disable-ffmpeg --disable-libmpeg2 --disable-wxwidgets --disable-skins2 --disable-X11 --disable-xvideo --disable-smb --disable-dvbpsi --disable-gnomevfs --disable-libcdio --disable-libcddb --disable-cdda --disable-vcd --disable-dts --disable-xinerama --disable-opengl --disable-visual --disable-daap --disable-bonjour

I'm getting some errors on startup though:

[00000014] main interface error: no interface module matched "hotkeys,none"
[00000014] main interface error: no suitable interface module
[00000001] main private error: interface "hotkeys,none" initialization failed
[00000015] main interface error: no interface module matched "screensaver,none"
[00000015] main interface error: no suitable interface module
[00000001] main private error: interface "screensaver,none" initialization failed
[00000016] main interface error: no interface module matched "any"
[00000016] main interface error: no suitable interface module
[00000001] main private error: interface "(null)" initialization failed


Obviously it still wants a couple of those things I left out. Now i just have to figure out which ones :-)

Posted: 23 Apr 2007 12:49
by Sundancer
I think that some modules want to use gui.
I have compiled an only commandline version too.
Add to your pramameters
--disable-gtk --disable-skins --disable-kde and maybe --disable-ncurse

Then use for the call of vlc:
vlc -I dummy
Written in thes threat:
viewtopic.php?t=35168&highlight=interfa ... ion+failed
i hope the will help you

Re: Server install

Posted: 25 Aug 2007 08:06
by debasish
Did you copy the modules directory there.
Its becoz of this only