rafael2k / darkice

DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server. This is the official development repository of Darkice.
http://www.darkice.org
200 stars 47 forks source link

Stereo turns turns to a one channel mono #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I cannot find a way to induce/reproduce this yet. It comes randomly, it can
take days or hours for this to occur. Basically I have mpg123 running with
the following commands:

/usr/bin mpg123 --output jack --no-icy-meta --stereo --gapless --rate 44100
-@ http://localhost:8000/icecast_stream.m3u

I have jackd running with the following commands:
/usr/bin/jackd -R -d dummy -r 44100 -p 4096

And I have darkice with the following configuration file:

[general]
duration = 0
bufferSecs = 10
reconnect = yes
realtime = no

[input]
device = jack
sampleRate = 44100
bitsPerSample = 16
channel  = 2
jackClientName = darkice

[icecast2-0]
format = mp3
bitrateMode = cbr
bitrate = 128
quality = 1.0
server = someserver.com
port = 80
password = somepassword
mountPoint = somemountpoint
name = home
description = blah
url = http://somesite.com
genre = Various
public = yes

The stream being listened by mpg123 gets transferred by jackd to darkice.
From there, it gets encoded to a remote icecast server. 

What is the expected output? What do you see instead?

I expect darkice to run for days or weeks without this issue. The issue is
that I have darkice streaming or encoding to an icecast server but randomly
we will start to hear silence from the right sided channel. This only gets
fixed when we restart darkice. 

What version of the product are you using? On what operating system?

The latest SVN version as of today. This has happened in previous versions
below 0.20.1

Please provide any additional information below.

None.

Original issue reported on code.google.com by wbbadverse@gmail.com on 24 Feb 2010 at 3:28

GoogleCodeExporter commented 9 years ago
Is there no one to point to me in the right direction to debug this issue? 

Original comment by wbbadverse@gmail.com on 27 Feb 2010 at 8:41

GoogleCodeExporter commented 9 years ago
Is there no one to point to me in the right direction to debug this issue? 

Original comment by cireland...@gmail.com on 12 Mar 2010 at 8:18

GoogleCodeExporter commented 9 years ago
Post a report to the discussion list on freelist.org as well.

Original comment by rec9...@gmail.com on 22 Mar 2010 at 6:01

GoogleCodeExporter commented 9 years ago
Yeap, we could discuss this issue on the mailing list.

Original comment by rafael2k...@gmail.com on 6 May 2010 at 7:21

GoogleCodeExporter commented 9 years ago
This has been reported before.  I found certain "blends" of stream offerings 
(92MP3, 48 OGG, 32MP3 all at the same time) produce this issue.  I had to tweak 
the bit rates to get a stable stereo signal 24/7.   128 is very high.  Try 
lowering that a bit and see if you get some joy.  Also, you're on Port 80 which 
is heavily used for other traffic.  Try using the default 8000 and see what 
happens.  Last, try abr instead of cbr and see if that works.

Original comment by jiva...@gmail.com on 17 Feb 2011 at 2:27