X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=INSTALL;h=b0bbbadbfdde6ade5b2555365dc87f90ca52d5a1;hp=583f72abf7d9a4e1d4aa0c84f0f4fa4581ffbf7f;hb=de9a70360fcd3b5285d280ad1f229f679d453603;hpb=7a0852896a75d852dbd2ac848ec5c0be3b5dea71 diff --git a/INSTALL b/INSTALL index 583f72ab..b0bbbadb 100644 --- a/INSTALL +++ b/INSTALL @@ -11,11 +11,10 @@ See << REQUIREMENTS >> -for a list of required software. You don't need everything listed -there. In particular, mp3, ogg vorbis and aac, ortp support is -optional. Autoconf will detect what is installed on your system -and will only try to build those executables that can be built with -your setup. +for a list of required software. You don't need everything listed there. In +particular, mp3, ogg vorbis and aac support are all optional. Autoconf will +detect what is installed on your system and will only try to build those +executables that can be built with your setup. Note that no special library (not even the mp3 decoding library libmad) is needed for para_server if you only want to stream mp3 files. @@ -92,10 +91,18 @@ Finally, tell para_client to connect to server_host: Start para_server ----------------- -For this first try, we'll use a debug level of two to make the -output of para_server more verbose. +Before starting the server make sure you have write permissions to +the directory /var/paraslash. - para_server -l 2 + sudo chown $user /var/paraslash + +Alternatively, use the --afs_socket Option to specify a different +location for the afs command socket. + +For this first try, we'll use the info loglevel to make the output +of para_server more verbose. + + para_server -l info Now you can use para_client to connect to the server and issue commands. Open a new shell (as "bar" on "client_host" in the above @@ -140,8 +147,8 @@ Print a list of all audio files found with Start streaming manually ------------------------ - para play - para stat 2 + para_client play + para_client stat 2 This starts streaming and dumps some information about the current audio file to stdout. @@ -157,7 +164,7 @@ Paraslash comes with its own receiving and playing software, which will be described next. Try the following on client_host (assuming Linux/ALSA and an mp3 stream): - para_recv -l 2 -r 'http -i server_host' > file.mp3 + para_recv -l info -r 'http -i server_host' > file.mp3 # (interrupt with CTRL+C after a few seconds) ls -l file.mp3 # should not be empty para_filter -f mp3dec -f wav < file.mp3 > file.wav @@ -189,7 +196,7 @@ supposed to play the audio stream. Try for help. Usually you have to specify only server_host as the receiver specifier for each supported audio format, like this: - para_audiod -l 2 -r 'mp3:http -i server_host' + para_audiod -l info -r 'mp3:http -i server_host' The preferred way to use para_audiod is to run it once at system start as an unprivileged user. para_audiod needs to create a "well-known"