flac_convert's Introduction
========================= Batch convert FLAC to MP3 ========================= I use this script to convert my lossess music collection to mp3 format for some devices, which doesn't have FLAC support or enough storage space. I organize my music to directories with "Artist - Album [year]" format which contain songs named as "01 - Artist - Title.flac". Each directory have an 500x500px JPEG artwork named "folder.jpg". Very often also included CUE and LOG files and additional artwork This script ignores all but FLACS, resizes "folder.jpg" to 300x300px and embeds it to the MP3s as album artwork. Script doesn't make any changes in input directory. for example, i have: Autechre - Amber [1994] / 01 - Autechre - Foil.flac 02 - Autechre - Montreal.flac 03 - Autechre - Silverside.flac scans/ cue.cue log.log folder.jpg VA - Back and 4th [2011] / CD1 / 1 - Sepalcure - Taking You Back.flac 2 - Boxcutter - LOADtime.flac 3 - Boddika - Warehouse.flac cue.cue log.log CD2 / 1 - Mount Kimbie - Sketch On Glass.flac 2 - Scuba - Twitch (Jamie Vex'd Remix).flac 3 - Joy Orbison - Hyph Mngo.flac cue.cue log.log folder.jpg and after convert: Autechre - Amber [1994] / 01 - Autechre - Foil.mp3 02 - Autechre - Montreal.mp3 03 - Autechre - Silverside.mp3 VA - Back and 4th [2011] / CD1 / 1 - Sepalcure - Taking You Back.mp3 2 - Boxcutter - LOADtime.mp3 3 - Boddika - Warehouse.mp3 CD2 / 1 - Mount Kimbie - Sketch On Glass.mp3 2 - Scuba - Twitch (Jamie Vex'd Remix).mp3 3 - Joy Orbison - Hyph Mngo.mp3 Requirements ============ The script is in Python and it uses the binaries: - flac: decode flac files - lame: encode mp3 file - metaflac: pulling metadata from flac file like Artist, Album, Title - id3v2: save metadata to mp3 file
flac_convert's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.