Page 1 of 1

Using VLC for streaming server

Posted: 04 Dec 2008 18:28
by jnojr
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.

Re: Using VLC for streaming server

Posted: 04 Dec 2008 18:57
by Jean-Baptiste Kempf
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

Re: Using VLC for streaming server

Posted: 04 Dec 2008 19:57
by jnojr
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

Re: Using VLC for streaming server

Posted: 05 Dec 2008 11:22
by Jean-Baptiste Kempf
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.

Re: Using VLC for streaming server

Posted: 08 Dec 2008 07:22
by ivank
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.