PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Streaming Radio mit DarkIce



Skuromis
25.10.04, 22:55
Moin Moin!
Ich hab mir vorgenommen, für ein paar Kumpels Radio zu streamen. Dazu steht mit ein Serverli im Internet zur verfügung (icecast2). Nun hab ich Ices2 installiert und nach dem HowTo von Linuxforen (http://www.linuxforen.de/forums/showthread.php?t=118005) konfiguriert. Es passiert nichts. nicht mal ne außergewöhnliche Meldung (Messages auf debug!).
Dann probierte ich DarkIce.

Zuerst erhielt ich vom Server ein Reply, dass etwas ankommt, aber ein Kumpel meinte, bei XMMS stünde nur der Streamname. Musik war nicht zu hören. Als ich es eben noch einmal probierte, reagierte der Server nicht mehr. Folgende Ausgabe war auf der Konsole zu sehen:

kuromis@earth:~$ sudo darkice -v 6 -c darkice.cfg
DarkIce 0.14 live audio streamer, http://darkice.sourceforge.net
Copyright (c) 2000-2004, Tyrell Hungary, http://tyrell.hu

Using config file: darkice.cfg
Using OSS DSP input device: /dev/dsp
23:14:28: encoding
23:14:28: Using POSIX real-time scheduling, priority 98
23:14:28: BufferedSink, new peak: 0
23:14:28: BufferedSink, remaining: 40960
23:14:28: BufferedSink, new peak: 8
23:14:28: BufferedSink, remaining: 40952
23:14:28: BufferedSink, new peak: 11
23:14:28: BufferedSink, remaining: 40949
23:14:28: BufferedSink, new peak: 15
23:14:28: BufferedSink, remaining: 40945
23:14:28: BufferedSink, new peak: 17
23:14:28: BufferedSink, remaining: 40943
23:14:28: BufferedSink, new peak: 22
23:14:28: BufferedSink, remaining: 40938
23:14:28: BufferedSink, new peak: 32
23:14:28: BufferedSink, remaining: 40928
23:14:29: BufferedSink, new peak: 59
23:14:29: BufferedSink, remaining: 40901
23:14:29: MultiThreadedConnector :: tranfer, bytes 0
23:14:30: BufferedSink, new peak: 3953
23:14:30: BufferedSink, remaining: 37007
23:14:32: BufferedSink, new peak: 4231
23:14:32: BufferedSink, remaining: 36729
23:14:35: BufferedSink, new peak: 4252
23:14:35: BufferedSink, remaining: 36708
...
usw.

Ich habe die Songs mit XMMS gespielt und hoffte, das die encoded und gestreamt werde. Hat einer ne Idee, was schief ging? Vielen dank!

Edit: Die Einstellungen für den Server (Server, PWD, Port, Mount) hab ich mir schon x mal angeschaut, die sind 100 pro richtig. Hier die Conf:


# sample DarkIce configuration file, edit for your needs before using
# see the darkice.cfg man page for details

# this section describes general aspects of the live streaming session
[general]
duration = 0 # duration of encoding, in seconds. 0 means forever
bufferSecs = 5 # size of internal slip buffer, in seconds

# this section describes the audio input that will be streamed
[input]
device = /dev/dsp # OSS DSP soundcard device for the audio
input
sampleRate = 44100 # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample = 16 # bits per sample. try 16
channel = 2 # channels. 1 = mono, 2 = stereo

# this section describes a streaming connection to an IceCast server
# there may be up to 8 of these sections, named [icecast-0] ... [icecast-7]
# these can be mixed with [icecast2-x] and [shoutcast-x] sections
#[icecast-0]
#bitrateMode = cbr # constant bit rate
#bitrate = 96 # bitrate of the mp3 stream sent to the server
#quality = 0.8 # encoding quality
#server = yp.yourserver.com
# host name of the server
#port = 8000 # port of the IceCast server, usually 8000
#password = hackme # source password to the IceCast server
#mountPoint = sample96 # mount point of this stream on the IceCast server
#name = DarkIce trial
# name of the stream
#description = This is only a trial
# description of the stream
#url = http://www.yourserver.com
# URL related to the stream
#genre = my own # genre of the stream
#public = yes # advertise this stream?

# this section describes a streaming connection to an IceCast2 server
# there may be up to 8 of these sections, named [icecast2-0] ... [icecast2-7]
# these can be mixed with [icecast-x] and [shoutcast-x] sections
[icecast2-0]
bitrateMode = abr # average bit rate
format = vorbis # format of the stream: ogg vorbis
bitrate = 64 # bitrate of the stream sent to the server
server = rausge x t
# host name of the server
port = 8543 # port of the IceCast2 server, usually 8000
password = rausge x t # source password to the IceCast2 server
mountPoint = rausge x t # mount point of this stream on the
IceCast2 server
name = ZwergenLaLa
# name of the stream
description = Sound form the dephts of Moria
# description of the stream
#url = none
# URL related to the stream
genre = dark mix # genre of the stream
public = yes # advertise this stream?

,,, + rauskommentierter blabla.