IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Automating MP3 conversion
Blutarsky
post Sep 26 2012, 09:34
Post #1





Group: Members
Posts: 38
Joined: 23-September 08
From: Rome
Member No.: 58575



I have started ripping my CD library using FLAC format, as my main music archive.
Once done minor adjustments are performed: tags editing and cover art.
As the FLAC archive will have its MP3 counterpart for portable devices usage, I was wondering if there's a tool (command line would be fine as well) to automate generation of MP3s.
The tool should:
- scan the FLAC archive (folders & subfolders)
- generate MP3s only for new/changed FLACs (since last pass), creating the same folder/subfloder structure

Any idea?
Go to the top of the page
+Quote Post
phofman
post Sep 26 2012, 20:31
Post #2





Group: Members
Posts: 283
Joined: 14-February 12
Member No.: 97162



Since you do not mention any OS, should you use linux, there is the wonderful mp3fs filesystem which produces a virtual MP3 directory tree out of your flac archive and does the flac-mp3 conversion on-the-fly when accessing the files. It works very good for me. Since the resultant MP3s are aften written to slow flash memory of portable devices, the format conversion does not bog the copying procedure.

http://khenriks.github.com/mp3fs/
Go to the top of the page
+Quote Post
Blutarsky
post Sep 26 2012, 20:38
Post #3





Group: Members
Posts: 38
Joined: 23-September 08
From: Rome
Member No.: 58575



QUOTE (phofman @ Sep 26 2012, 14:31) *
Since you do not mention any OS, should you use linux, there is the wonderful mp3fs filesystem which produces a virtual MP3 directory tree out of your flac archive and does the flac-mp3 conversion on-the-fly when accessing the files. It works very good for me. Since the resultant MP3s are aften written to slow flash memory of portable devices, the format conversion does not bog the copying procedure.

http://khenriks.github.com/mp3fs/

Forgot to mention : Windows 7
Go to the top of the page
+Quote Post
HansBKK
post Sep 27 2012, 05:55
Post #4





Group: Members
Posts: 18
Joined: 20-August 12
Member No.: 102509



QUOTE (Blutarsky @ Sep 26 2012, 20:38) *
QUOTE (phofman @ Sep 26 2012, 14:31) *
Since you do not mention any OS, should you use linux, there is the wonderful mp3fs filesystem which produces a virtual MP3 directory tree out of your flac archive and does the flac-mp3 conversion on-the-fly when accessing the files. It works very good for me. Since the resultant MP3s are aften written to slow flash memory of portable devices, the format conversion does not bog the copying procedure.

http://khenriks.github.com/mp3fs/

Forgot to mention : Windows 7


Robin Bowes' flac2mp3.py, hasn't been updated for a while but variations are still in wide use, and as a Perl script easily adapted for your needs.

Note by the way if only tags have changed on the "master" FLAC side, you don't want your tool to actually re-encode the audio portion, just update the tag differences, which is exactly what this tools is designed to do.

Here's a version that adds some missing features - tag-stored graphics and non-audio files - but I believe it may be based on an older-than the most recent version of Robin's original?

Finally, I believe the VortexBox project is where more recent updates/adaptations on this idea have been taking place, and perhaps their conversion scripts are also based on the same historical one from Robin. Note that although they claim to be an open-source project they're not really, I think you have to actually install the product (e.g. in a VM) in order to get to the relevant scripts, I haven't found an accessible code repository.

PS if you haven't got Perl on your W7 box (say via MSYS or Cygwin), I highly recommend Strawberry in portable mode.

If you don't know Perl but want to start learning it, Padre is a good IDE/editor for noobs, in which case the not-too-old but much easier DWIM distro is the way to go.
Go to the top of the page
+Quote Post
Blutarsky
post Sep 27 2012, 12:53
Post #5





Group: Members
Posts: 38
Joined: 23-September 08
From: Rome
Member No.: 58575



Hans, thanks for your reply.

Will the mentioned tools use a database to keep track of new/changed/unchanged flacs?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd August 2014 - 07:22