LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2013, 12:56 PM   #1
backwoodsman
LQ Newbie
 
Registered: Feb 2007
Posts: 26

Rep: Reputation: 3
Question Lame won't work -- sometimes


Hi all,

I use streamripper to record a daily radio program, then lame to re-encode it. Problem is, one day lame works, and the next day it doesn't, so about half the time I have to process it with Audacity instead, which takes a lot more of my time. The stream rips are done by a cron job, with the same streamripper options every time.

When it doesn't work, it gives the normal output of runtime options, but the instant it gets to the progress bar, it quits with no error message or indication of what went wrong, like this:

Code:
user@dell:~/streamripper$ lame -a -b 16 tnp30_2013_03_21_09_31_02_64k_kbrt.mp3 tnp30_2013-03-21_16k_kbrt.mp3
LAME 3.99.5 32bits (http://lame.sf.net)
CPU features: MMX (ASM used), SSE (ASM used), SSE2
Resampling:  input 32 kHz  output 16 kHz
Using polyphase lowpass filter, transition band:  5484 Hz -  5677 Hz
Encoding tnp30_2013_03_21_09_31_02_64k_kbrt.mp3
      to tnp30_2013-03-21_16k_kbrt.mp3
Encoding as 16 kHz single-ch MPEG-2 Layer III (16x)  16 kbps qval=3
    Frame          |  CPU time/estim | REAL time/estim | play/CPU |    ETA
     0/       ( 0%)|    0:00/     :  |    0:00/     :  |         x|     :
     0/8124   ( 0%)|    0:00/    0:00|    0:00/    0:00|   0.0000x|    0:00 -------------
     0/8124   ( 0%)|    0:00/    0:00|    0:00/    0:00|   0.0000x|    0:00 -------------
04:52------------------------------------------------------------------------------------
     3/8124   ( 0%)|    0:00/    0:27|    0:00/    0:09|   10.800x|    0:09
-04:52-----------------------------------------------------------------------------------
   kbps       mono %    switch short %
   16.0      100.0        66.7  33.3
ReplayGain: -9.2dB
user@dell:~/streamripper$
Any ideas what I can do to fix this? I've already tried every combination of options I can think of, with no effect.

(This is on Debian Wheezy, in case it matters.)
 
Old 03-25-2013, 06:51 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Did you check the logs too? It is hard to tell since the output doesn't point errors, does it create any file at all?
Here some links maybe it helps:
http://lame.cvs.sourceforge.net/view...tml/links.html
http://linux.die.net/man/1/lame

Regards
 
Old 03-25-2013, 01:28 PM   #3
backwoodsman
LQ Newbie
 
Registered: Feb 2007
Posts: 26

Original Poster
Rep: Reputation: 3
Thanks for the reply. I think I may have fixed it by running streamripper with --with-id3v1. It's worked for 2 days now, and if it works for a couple more days I guess it's fixed. I never did find what lame was objecting to, but I guess it's something to do with the ID3 tag.
 
Old 03-26-2013, 02:37 PM   #4
backwoodsman
LQ Newbie
 
Registered: Feb 2007
Posts: 26

Original Poster
Rep: Reputation: 3
Well it happened again today, so I was wrong about the ID3 tag being involved. But I noticed that lame was reading the sample rate incorrectly, so I tried --mp3input to force lame to read the input file as MP3 instead of MP2, and it worked. The man page says lame assumes MP3 if the extension is mp3, but apparently that's incorrect.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why doesn't lame work in K3B? newbiesforever Linux - Software 1 06-19-2010 03:17 PM
BIND-reverse lookup doesn't work-lame server pthegreat Linux - Server 15 02-18-2010 11:48 AM
A possible lame Multi media lame thread a_c_g_t Fedora 3 08-07-2007 02:59 PM
Installed LAME, command 'lame' works but lame's not in any program directories! ayteebee Linux - Software 8 05-24-2006 05:48 PM
darkice with lame support can't find lame h2gofast Debian 4 03-17-2006 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration