jacksonlcrews / darkice

Automatically exported from code.google.com/p/darkice
0 stars 0 forks source link

Duplicated/repeated parts in stream #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- What steps will reproduce the problem?
Don't know yet

- What is the expected output? What do you see instead?
Listeners where complaining about duplicated/repeated parts in the stream. 
Therefore I setup a MP3-player to record on the headphone out of the PC 
used for the stream. After this I compared the [file-0] output with the 
recorded file from the MP3-player.
Symptoms:
* Duplicated/repeated parts have been found, but no logic or what so ever 
in the occurrence of these duplicated parts.
* The length of these parts are as far as I could detect 0.278 seconds each 
time.
* Today I tested twice a hour stream with once 2.3sec length difference and 
the other time 0.5sec length difference.

- What version of the product are you using? On what operating system?
* Used hardware:
Fitpc2: Intel Atom Z510 1.1GHz; 1GB mem; SSD 32gb hd (top says 18.5% CPU 
load and 0.2% Mem load)

* Used software:
Ubuntu Server edition ver 9.04 (so commandline only)
Darkice 0.20.1 (latest)

* Darkice start-up commando:
sudo darkice -c /home/fitpc2/darkice_stream.cfg -v 10 >> 
/home/fitpc2/record/logfile.log

* Darkice config file used:
[general]
duration        = 0 
bufferSecs      = 5
reconnect       = yes

[input]
device          = /dev/dsp
sampleRate      = 44100
bitsPerSample   = 16
channel         = 2

[icecast2-0]
bitrateMode     = cbr
format          = mp3
bitrate         = 24
channel         = 1
sampleRate      = 11025
server          = ---
port            = ---
password        = ---
mountPoint      = --- 
name            = ---
description     = 
url             = 
genre           = 
public          = no

[file-0]
bitrateMode     = cbr
format          = mp3
bitrate         = 128
fileName        = /home/fitpc2/record/record-.mp3
fileAddDate     = yes
fileDateFormat  = %Y-%m-%d-%H-%M-%S

* Logfile report:
DarkIce 0.20.1 live audio streamer, http://darkice.tyrell.hu/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/

Using config file: /home/fitpc2/darkice_stream.cfg
07-Feb-2010 09:05:09 Using OSS DSP input device: /dev/dsp
07-Feb-2010 09:05:09 encoding
07-Feb-2010 09:05:09 scheduler high priority 99
07-Feb-2010 09:05:09 Using POSIX real-time scheduling, priority 98
07-Feb-2010 09:05:10 BufferedSink, new peak: 8
07-Feb-2010 09:05:10 BufferedSink, remaining: 15352
07-Feb-2010 09:05:10 BufferedSink, new peak: 9
07-Feb-2010 09:05:10 BufferedSink, remaining: 15351
07-Feb-2010 09:05:10 BufferedSink, new peak: 15
07-Feb-2010 09:05:10 BufferedSink, remaining: 15345
07-Feb-2010 09:05:10 BufferedSink, new peak: 22
07-Feb-2010 09:05:10 BufferedSink, remaining: 15338
07-Feb-2010 09:05:10 BufferedSink, new peak: 55
07-Feb-2010 09:05:10 BufferedSink, remaining: 15305
07-Feb-2010 09:05:11 set lame mode 3
07-Feb-2010 09:05:11 set lame channels 2
07-Feb-2010 09:05:11 set lame in sample rate 44100
07-Feb-2010 09:05:11 set lame out sample rate 11025
07-Feb-2010 09:05:11 set lame bit rate 24
07-Feb-2010 09:05:11 set lame quality 9
07-Feb-2010 09:05:11 set lame lowpass frequency 0
07-Feb-2010 09:05:11 set lame highpass frequency 0
07-Feb-2010 09:05:11 set lame psycho acoustic model 1
07-Feb-2010 09:05:11 set lame error protection 1
07-Feb-2010 09:05:11 set lame mode 1
07-Feb-2010 09:05:11 set lame channels 2
07-Feb-2010 09:05:11 set lame in sample rate 44100
07-Feb-2010 09:05:11 set lame out sample rate 44100
07-Feb-2010 09:05:11 set lame bit rate 128
07-Feb-2010 09:05:11 set lame quality 9
07-Feb-2010 09:05:11 set lame lowpass frequency 0
07-Feb-2010 09:05:11 set lame highpass frequency 0
07-Feb-2010 09:05:11 set lame psycho acoustic model 1
07-Feb-2010 09:05:11 set lame error protection 1
07-Feb-2010 09:05:11 MultiThreadedConnector :: tranfer, bytes 0
07-Feb-2010 09:05:11 MultiThreadedConnector :: ThreadData :: 
threadFunction, was (thread, priority, type):  0x844f6c0 98 SCHED_FIFO
07-Feb-2010 09:05:11 MultiThreadedConnector :: ThreadData :: 
threadFunction, was (thread, priority, type):  0x844f6d0 98 SCHED_FIFO
07-Feb-2010 09:05:11 MultiThreadedConnector :: ThreadData :: 
threadFunction, now is (thread, priority, type):  0x844f6d0 1 SCHED_FIFO
07-Feb-2010 09:05:11 MultiThreadedConnector :: ThreadData :: 
threadFunction, now is (thread, priority, type):  0x844f6c0 1 SCHED_FIFO
07-Feb-2010 09:05:11 BufferedSink, new peak: 136
07-Feb-2010 09:05:11 BufferedSink, remaining: 15224
07-Feb-2010 09:05:11 BufferedSink, new peak: 139
07-Feb-2010 09:05:11 BufferedSink, remaining: 15221
07-Feb-2010 09:05:11 BufferedSink, new peak: 150
07-Feb-2010 09:05:11 BufferedSink, remaining: 15210
07-Feb-2010 09:05:12 BufferedSink, new peak: 171
07-Feb-2010 09:05:12 BufferedSink, remaining: 15189
07-Feb-2010 09:05:13 BufferedSink, new peak: 174
07-Feb-2010 09:05:13 BufferedSink, remaining: 15186

- Please provide any additional information below.
Please help me out here!

Original issue reported on code.google.com by cees.van...@gmail.com on 7 Feb 2010 at 7:14

GoogleCodeExporter commented 9 years ago
fixed by my suggest patch

Original comment by oetelaar.automatisering on 6 May 2010 at 8:22

GoogleCodeExporter commented 9 years ago
fixed in 468.

Original comment by rafael2k...@gmail.com on 6 May 2010 at 8:23