Server install

*nix specific usage questions
soundguy
New Cone
New Cone
Posts: 7
Joined: 19 Feb 2007 14:16

Server install

Postby soundguy » 25 Feb 2007 11:54

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 25 Feb 2007 12:25

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
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.

soundguy
New Cone
New Cone
Posts: 7
Joined: 19 Feb 2007 14:16

Postby soundguy » 26 Feb 2007 11:24

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 :-)

Sundancer
Blank Cone
Blank Cone
Posts: 15
Joined: 29 Mar 2007 15:25

Postby Sundancer » 23 Apr 2007 12:49

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

debasish
New Cone
New Cone
Posts: 9
Joined: 24 Jul 2007 13:29

Re: Server install

Postby debasish » 25 Aug 2007 08:06

Did you copy the modules directory there.
Its becoz of this only


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests