Page 1 of 1

Help with Dedicated Server

Posted: 07 Aug 2005 18:26
by Ben64
I own a dedicated server, and would like to be able to use it as a streaming server. I tried installing the Fedora rpm's I have found here, but to no avail. It seems that it wants me to have sound and video support before I can install. However, seeing how it is a server, and is not remotely close to where I live, it doesnt have/need sound/video.

Please let me know how to do this.

Posted: 07 Aug 2005 18:44
by Ben64
ok..... didn't realize there was a seperate streaming server.

So i downloaded that.

Said:

checking dvbpsi/dvbpsi.h usability... no
checking dvbpsi/dvbpsi.h presence... no
checking for dvbpsi/dvbpsi.h... no
configure: error: cannot find libdvbpsi headers

so i hunted around, installed it.

then it configured properly

But when i try to 'make'

# make
Generating dependancies for src/core/application.cpp...
Compiling src/core/application.cpp...
g++ -Wall -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/usr/local/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DSYSLOG -o obj/core/application.o -c src/core/application.cpp
In file included from src/core/application.cpp:97:
src/core/hashtable.h:67: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:80: error: an explicit specialization must be preceded by 'template <>'
src/core/hashtable.h:93: error: an explicit specialization must be preceded by 'template <>'
In file included from src/core/application.cpp:113:
src/core/library.cpp: In member function `void C_Library<Type, Arg>::Load()':
src/core/library.cpp:82: error: `DL_LAZY' undeclared (first use this function)
src/core/library.cpp:82: error: (Each undeclared identifier is reported only once for each function it appears in.)
src/core/library.cpp:93: error: there are no arguments to `dlsym' that depend on a template parameter, so a declaration of `dlsym' must be available
src/core/library.cpp:93: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
src/core/library.cpp:110: error: there are no arguments to `dlsym' that depend on a template parameter, so a declaration of `dlsym' must be available
src/core/library.cpp: In member function `void C_Library<Type, Arg>::Unload()':
src/core/library.cpp:133: error: there are no arguments to `dlclose' that depend on a template parameter, so a declaration of `dlclose' must be available
src/core/library.cpp: In member function `C_String C_Library<Type, Arg>::GetLoaderError()':
src/core/library.cpp:177: error: there are no arguments to `dlerror' that depend on a template parameter, so a declaration of `dlerror' must be available
make: *** [obj/core/application.o] Error 1

Posted: 07 Aug 2005 19:10
by dionoea
you shouldn't use VLS ... its old and outdated. VLC performs well when you consider streaming (and is able to do lots more than VLS). You might need to recompile it to suit your needs though.

Posted: 08 Aug 2005 13:47
by Guest
but... VLC won't install without a GUI it seems...

Posted: 08 Aug 2005 14:08
by dionoea
maybe it won't install because your distribution packages it with a GUI ... but you can recompile it yourself without including any GUI components.

Posted: 11 Aug 2005 23:26
by Guest
and how would I do that?

There is approximately 500 libraries I need to compile before I can do that

Posted: 12 Aug 2005 14:45
by xtophe
You should get the libraries from your distro and only compile vlc ( and maybe ffmpeg) yourself.

Posted: 12 Aug 2005 15:15
by dionoea
what kind of streaming do you want to do ?
do you want to do transcoding ?
what kind of inputs do you plan on using ?

Once you answer these 3 questions i'll post a minimal set of libraries that are needed.

Ill answer that

Posted: 05 Sep 2005 05:39
by truthstreamdotorg
Ok, he never answered so I will, because Im in the same situation.


Kind of streaming? Video file - format doesnt matter, I can encode to what I need

Im not sure what transcoding is to be honest

My input would be video files stored on the server (I assume since I have a large number of files that some sort of playlist is needed to be made)

Currently, I am using Nullsoft NSV but everytime I try to use the few NSV encoders to encode to NSV, I get a error and cant encode. However, I would like to just convert all my files to MPG, AVI or WMV or whatever and use something else to stream the videos. I am using a remote virtual dedicated server running Red Hat. I downloaded the fedora version and have uploaded the file to the server to be unpacked and installed, but I saw this post that said if I want to only use the command line (which I dont think I have a choice with a remote server), that I have to install just certain parts.

If 'transcode' means to encode it to another format, I should be able to do that with my local copy of WinAVI Converter. If it doesnt mean that, Im not sure if I need it. Basically, the way it is set up now is the streaming server is constantly playing from a playlist of files and when a user visits the website, they are watching that stream already in progress at the same point as anyone else visiting the site (as opposed to a playlist starting new each time someone visits).

Posted: 05 Sep 2005 13:56
by dionoea
transcode basically means "decode and reencode (in another format)"

What kind of streaming do you want to do ? (udp, rtsp, mmsh... ?)