|
From: Simon E. <sim...@vo...> - 2010-05-07 04:19:41
|
Good morning, On 6 May 2010 at 16:16, Pascal Giard wrote: > On Thu, May 6, 2010 at 3:24 PM, Simon Eigeldinger > <sim...@vo...> wrote: > > Hello, > > > > I am using SoX and Lame to stream a mp3 stream directly from the > > sound cards line in to an icecast server on a Debian system. > > > > But after 1-3 hours the whole chain crashes and shows this message: > > fatal error: can't update LAME-tag frame! > > > > I don't know why it shows that. > > > > My command line chain is the following: > > rec -r 48000 -c 2 -b 16 -t wavpcm - | lame --resample 48000 -b 96 - - > > | ezstream -c /etc/ezstream.xml > > > > Does someone know why that happens and how to fix it so it runs > > without crashing? > > > > The audio system is ALSA. > > > > Greetings and thanks for helping, > > Simon > > Hi Simon, > which version of SoX and/or which branch of Debian are you using? I am using Debian testing and it has sox 14.3.0. > Perhaps it could be a buffer underrun issue... > If it's the case, until SoX 14.3.1 propagates to Debian unstable > mirrors, you may want to try running sox with the "--single-threaded" > parameter. Unfortunately that seems also not to work well. here is the complete output. I have made it not verbose but i will enable that i think to find the issue more better. here is what we have: $ Here we set the mixer: Simple mixer control 'Capture',0 Capabilities: cvolume cswitch cswitch-joined penum Capture channels: Front Left - Front Right Limits: Capture 0 - 15 Front Left: Capture 9 [60%] [13.50dB] [on] Front Right: Capture 9 [60%] [13.50dB] [on] $ Here sox comes into play: rec WARN wav: Length in output .wav header will be wrong since can't seek to fix it $ Ezstream is connecting: ezstream: Connected to http://localhost:8888/outside ezstream: Streaming from standard input $ Lame brings up an error message: fatal error: can't update LAME-tag frame! Greetings, Simon |