Using VLC for streaming server

*nix specific usage questions
jnojr
New Cone
New Cone
Posts: 9
Joined: 04 Dec 2008 18:22

Using VLC for streaming server

Postby jnojr » 04 Dec 2008 18:28

I want a replacement for the creaky Windows boxes running dozens of instances of WinSend. So, someone suggested VLS. I looked into that, and found out that it's old and bad and deprecated, and that I should use VLC. So, I grabbed the Dag package for 0.8.6d... and it has a bazillion RPM dependencies. OK, we'll build from source! Except 0.9.8 requires versions of HAL and DBUS that aren't available with RHEL4. So I grabbed 0.8.6i, but when I ./configure, it complains about one missing item after another (so far, mad, ffmpeg, libmpeg2...)

How can I build a VLC that'll be usable for a streaming server? What are all of the --disable lines that will strip out everything I don't need, so I can get it to compile? A smaller resulting binary would be nice, too. I don't want any GUI and I don't need playback, transcoding, etc... just a nice, simple streaming server.

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: Using VLC for streaming server

Postby Jean-Baptiste Kempf » 04 Dec 2008 18:57

you can --disable many things, see ./configure --help... However, if you are using such an old distribution, maybe don't try 0.9.8, but an old 0.8.6
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.

jnojr
New Cone
New Cone
Posts: 9
Joined: 04 Dec 2008 18:22

Re: Using VLC for streaming server

Postby jnojr » 04 Dec 2008 19:57

you can --disable many things, see ./configure --help
Yes, I know. But which do I need to --disable and which do I need to leave alone in order to wind up with a binary that'll do what I want? Frankly, I don't even know what most of those options are. I have no doubt most of them do some really cool things that I am, right now, completely uninterested in.
However, if you are using such an old distribution, maybe don't try 0.9.8, but an old 0.8.6
I am using 0.8.6

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: Using VLC for streaming server

Postby Jean-Baptiste Kempf » 05 Dec 2008 11:22

well, try to enable the most encoders you can (ffmpeg, faac, faad, x264, vorbis, ogg, theora), enable-sout and enable-vlm, disable dbus, hal, wx, skins, and so on.

You can have more explanation of some configure flags on my blog.
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.

ivank
New Cone
New Cone
Posts: 1
Joined: 08 Dec 2008 07:11

Re: Using VLC for streaming server

Postby ivank » 08 Dec 2008 07:22

Hi the first option you can send to the ./configure is --disable-mad, you could also try --disable-ffmpeg but I would try do download ffmpeg and compile the source; then use --enable-ffmpeg with the --with-ffmpeg-tree="whereever you compiled you ffmpeg source" I would do the same with libmpeg2 and use --with-libmpeg2-tree="wherever you downloaded and make'ed libmpeg2" and so on... now that you get the idea look at the ./configure --help or even ./configure --advanced (i think) for more options.


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

Who is online

Users browsing this forum: No registered users and 6 guests