Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-10-2008, 03:23 PM   #1
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Rep: Reputation: 33
Trouble with lame: unsupported audio format

I'm trying to convert some flac files to mp3. Normally I rip a cd to wav, convert to flac, and if its something I want on my ipod, use lame to transcode a copy. This last bit is failing after upgrading from hardy to intrepid. I checked synaptic, and made sure the libmp3lame0 package was installed. I also tried transcoding some flacs I'd done already, without success.

$ lame 01-track.flac 01-track.mp3
Warning: unsupported audio format
Any ideas what might be wrong?
Old 11-10-2008, 05:12 PM   #2
Registered: Mar 2005
Location: UK
Distribution: opensuse 12.2 x86_64
Posts: 563

Rep: Reputation: 38
Well surely you have to convert the FLAC back into a wav file before lame can transcode it, using flac -d?
Old 11-12-2008, 11:09 PM   #3
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Original Poster
Rep: Reputation: 33
Hmm. Definitely don't remember having to do that. Most of my flac conversions have been done with a gui like Foobar2000. I guess all have, since you appear to be right. Anyhow, I found a nifty cli one-liner that converts flac to mp3. Much cleaner than what I was trying with xargs.
for file in *.flac; do $(flac -cd "$file" | lame -h - "${file%.flac}.mp3"); done


flac, lame, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unsupported format 'application/postscript'! seeism Linux - Hardware 3 08-14-2008 09:44 AM
Unsupported DVD Format with latest k9copy and Vincent_Vega Linux - Software 8 11-25-2007 09:52 PM
Unsupported tif format arubin Linux - Software 3 02-18-2007 12:40 PM
Error 13 : Invalid or unsupported Executed Format. linuxnewbie82 Linux - Newbie 1 08-01-2006 08:19 AM
Unsupported wav format arubin Linux - Software 2 03-28-2005 03:12 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:19 PM.

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