Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I think I checked all google about this topic and many way to stream audio via Darkice to Icecast and to other computers via LAN. But I have problem which seems that audio which I send is empty.

So I installed Icecast, I setup it. Then I installed Darkice and setup it like that:

duration        = 0        # duration of encoding, in seconds. 0 means forever
bufferSecs      = 5         # size of internal slip buffer, in seconds
reconnect       = yes       # reconnect to the server(s) if disconnected

device          = hw:0,0  # default #hw:0,1 #/dev/dsp  # OSS DSP soundcard device for the audio input
sampleRate      = 22050     # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample   = 16        # bits per sample. try 16
channel         = 2         # channels. 1 = mono, 2 = stereo

bitrateMode     = abr       # average bit rate
format          = mp3    # format of the stream: ogg vorbis
bitrate         = 96        # bitrate of the stream sent to the server
server          = localhost
                        # host name of the server
port            = 8000      # port of the IceCast2 server, usually 8000
password        = mypass    # source password to the IceCast2 server
mountPoint      = stream  # mount point of this stream on the IceCast2 server
name            = my name # name of the stream
description     = my desc # 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?
localDumpFile   = /home/dominik/darkice/sound.mp3  # local dump file

then I run:

sudo service icecast2 start

sudo darkice

Stream appears on localhost:8000 but doesn't play any sound. I don't know what I'm doing wrong, Do I need to install or configure something more than this to applications?

share|improve this question
Try with device = default in the [input] section. –  Takkat Apr 29 '13 at 6:49
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.