Darkice/Icecast2 Slowed Audio


Recommended Posts

So I've set up a live audio stream on my computer that can be accessed at http://marcusadams.ddns.net:8000/dump.m3u

 

I'm using DarkIce/Icecast2 on my Ubuntu machine.  It's not meant to be running constantly at the moment, although I'm considering getting a dedicated machine.  Right now I've been leaving it on most of the time, but I don't have any huge plans for it.  The main purpose of it is to share emergency communications or anything interesting that may come across my police scanner, weather radio, or CB radio across the internet with my friends/family who don't have those things.

 

I've noticed something though.  Audio captured from my Line In jack streams and sounds perfectly normal.  However, if I change the capture source from my sound card to the virtual "Monitor Of" device, audio gets slowed down and distorted.  I've tried playing with the sample rate in the DarkIce config but that doesn't seem to help matters any.

 

Suggestions?

 

Here's my DarkIce config.

# 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      = 1         # size of internal slip buffer, in seconds

reconnect       = yes       # reconnect to the server(s) if disconnected



# this section describes the audio input that will be streamed

[input]

device          = pulse  # 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         = 1         # channels. 1 = mono, 2 = stereo



# 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          = mp3    # format of the stream: ogg vorbis

bitrate         = 128        # bitrate of the stream sent to the server

server          = 127.0.0.1

                            # host name of the server

port            = 8000      # port of the IceCast2 server, usually 8000

password        = P@$$Word123    # source password to the IceCast2 server

mountPoint      = dump  # mount point of this stream on the IceCast2 server

name            = Marcus's Stream

                            # name of the stream

description     = CB Radio, police and emergency services, NOAA weather, etc.

                            # description of the stream

url             = http://marcusadams.ddns.net:8000/dump.m3u

                            # URL related to the stream

genre           = Radio    # genre of the stream

public          = yes       # advertise this stream?

localDumpFile    = dump  # local dump file



# 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
Link to comment
Share on other sites

This topic is now closed to further replies.