Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-06-2007, 01:38 AM   #1
Registered: Mar 2006
Location: Fort McMurray, Canada
Distribution: Gentoo ~amd64
Posts: 163

Rep: Reputation: 30
Batch convert MP3 and AAC files to FLAC

I'm rebuilding a music library on my kubuntu computer. My problem is that when the files were originally ripped, some (read: lots) of files were misnamed. Also, I have some in mp3 format and others in AAC (aka mp4 aka m4a).

Is there a way to recursively scan through /media/backup/Music (where my music is located) and:
  1. Perform a CDDB/MusicBrainz lookup on the file
  2. Convert each file to a FLAC file with the filename:
    <artist> - <album> - <title>.flac
    With <artist>, <album>, and <title> replaced by the artist, album, and title from the CDDB lookup
  3. Add the info from the CDDB lookup to the appropriate fields of the new FLAC file

Any solutions would be helpful, no matter how ugly.
Old 05-07-2007, 12:41 PM   #2
Registered: May 2006
Location: Canada
Distribution: Slackware 13.37; Ubuntu 12.04
Posts: 81
Blog Entries: 5

Rep: Reputation: 15
The first step I would take is to use soundKonverter to convert to flac. Then use EasyTAG to do CDDB lookups to tag and rename the files.

Although converting from lossy formats into a lossless one may be more harddrive space than its worth. If you want the quality of flac files, it would be better to rerip them straight to flac (and make sure they get tagged properly in the process).
Old 05-07-2007, 08:01 PM   #3
Registered: Mar 2006
Location: Fort McMurray, Canada
Distribution: Gentoo ~amd64
Posts: 163

Original Poster
Rep: Reputation: 30
Thanks for the advice. I found CDs for as much of the music as possible, and re-ripped them to flac. I'll try soundKonverter when I get a chance.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO convert .flac to .mp3 lleb Linux - Software 17 09-07-2014 08:03 AM
i want to convert .wav file into mp3 files in batch mode sparsh Linux - Software 6 11-20-2007 10:53 AM
Convert mp3 to aac conn-fused Linux - Software 3 07-11-2006 06:11 AM
Convert mp3 to m4b (aac) merixon Linux - Software 1 01-18-2006 04:17 AM
howto convert .flac to .mp3 Lleb_KCir Linux - Software 4 05-21-2005 06:07 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:59 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