LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-10-2008, 02:23 PM   #1
djeikyb
Member
 
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.

Code:
$ lame 01-track.flac 01-track.mp3
Warning: unsupported audio format
Any ideas what might be wrong?
 
Old 11-10-2008, 04:12 PM   #2
rjwilmsi
Member
 
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, 10:09 PM   #3
djeikyb
Member
 
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.
Code:
for file in *.flac; do $(flac -cd "$file" | lame -h - "${file%.flac}.mp3"); done
http://www.linuxtutorialblog.com/pos...ng-flac-to-mp3
 
  


Reply

Tags
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 08:44 AM
Unsupported DVD Format with latest k9copy and 2.6.20.7 Vincent_Vega Linux - Software 8 11-25-2007 08:52 PM
Unsupported tif format arubin Linux - Software 3 02-18-2007 11:40 AM
Error 13 : Invalid or unsupported Executed Format. linuxnewbie82 Linux - Newbie 1 08-01-2006 07:19 AM
Unsupported wav format arubin Linux - Software 2 03-28-2005 02:12 AM


All times are GMT -5. The time now is 03:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration