ogg123: scratchy noises after long playback or lockup during long file writing
After listening to an icecast stream for awhile (first noticed around the 4 hour mark), ogg123 exhibits scratchy skipping noises using the OSS driver. The sound is remniscent of music from a skippy and poorly-ripped CD, with a repeating pattern every second or so. The problem is definitely not the icecast stream, because re-tuning into the stream "fixes" the problem.
Upon further investigation of this problem and talking with kfish on IRC, we decided it'd be best to check out if it were ogg123 or AO. To test this I am asking ogg123 to write to a file with:
ogg123 -d wav -f skiptest.wav SOURCESTREAM
When the WAV reaches exactly the 2GB mark, ogg123 locks up and must be killed to quit. To further investigate (and because I'm rather low on disk space), I tried:
ogg123 -d wav -f - SOURCESTREAM | oggenc -q0 -o skiptest.ogg -
After the same amount of audio is processed and sent to oggenc, oggenc finishes up its usual encoding summary. I'm not aware of whether ogg123 is closing the file handle/stdout or oggenc is simply out of data and closes because of that, but due to the possibility of the former I've left it in as possible useful information.
I'm guessing the problems with locks and also of scratchy audio are related so I've just gone ahead and put them on the same ticket.
both ogg123 stable and svn revision 13130 (latest at time of posting) have been tried, currently compiled with gcc 3.4.6 on Linux 126.96.36.199 x86.