Coder Social home page Coder Social logo

dfberger / flac2mp3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robinbowes/flac2mp3

1.0 3.0 0.0 435 KB

flac2mp3 is a tool to convert audio files from flac to mp3 format including the copying of tags.

License: GNU General Public License v3.0

Perl 99.63% Shell 0.37%

flac2mp3's Introduction

About flac2mp3
==============

flac2mp3 is a perl script that will search for flac files within
a directory hierarchy and convert them all to mp3 format, creating a
matching directory structure in the process.

I wrote it as I have a large collection of flac files but need to
convert them to mp3 format for use with my iPod.

There are a few programs that can do basic file format conversion
but I found that it was hard to detect which files were new in my
flac collection and to convert just those files. I also find I update
the metadata in my flac files fairly often (when I spot mistakes, etc.)
and needed  a way to update just the tags rather than running the whole
conversion process again.

flac2mp3 can do this.

It can take a directory structure like this:

    lossless
      |
      +--Coldplay
      |    |
      |    +--Parachutes
      |         |
      |         +-- 01 - Don't Panic.flac
      |             02 - Shiver.flac
      +--The Chameleons
           |
           +Script of the Bridge
              |
              +-- 01 - Don't Fall.flac
                  02 - Here Today.flac

And produce a directory structure like this:

    lossy
      |
      +--Coldplay
      |    |
      |    +--Parachutes
      |         |
      |         +-- 01 - Don't Panic.mp3
      |             02 - Shiver.mp3
      +--The Chameleons
           |
           +Script of the Bridge
              |
              +-- 01 - Don't Fall.mp3
                  02 - Here Today.mp3

The command to do this is:

  flac2mp3.pl /path/to/lossless /path/to/lossy

Now, suppose I notice that I've spelled "coldplay" wrongly. I simply
use a tag editor to correct the flac files then run flac2mp3 again
to update the tags in the mp3 files:

  flac2mp3.pl /path/to/lossless /path/to/lossy

flac2mp3 will detect that just the tags have changed in the flac files
and update the mp3 files without re-transcoding. 

Command-line options can be seen by typing "flac2mp3.pl" with no options:

Usage: ./flac2mp3.pl [--pretend] [--quiet] [--debug] [--tagsonly] [--force]
[--tagdiff] <flacdir> <mp3dir>
    --pretend       Don't actually do anything
    --quiet         Disable informational output to stdout
    --debug         Enable debugging output. For developers only!
    --tagsonly      Don't do any transcoding - just update tags
    --force         Force transcoding and tag update even if not required
    --tagdiff       Print source/dest tag values if different

Installation
============

As of v0.2.6 all non-standard perl modules are supplied in the archive.
Installation should be as simple as extracting the archive into a 
directory of your choice.

For example, on linux:

 # cd ~/bin
 # tar zxvf flac2mp3-0.3.0.tar.gz

On Windows, you can use Winzip or other utility to unzip the file and
extract the archive.

Mailing lists
=============

The following mailing lists are available:

List address: [email protected]
Description:  Read-only list for announcements
To subscribe: [email protected]

List address: [email protected]
Description:  Developer discussion
To subscribe: [email protected]

List address: [email protected]
Description:  General user discussion
To subscribe: [email protected]

Please report any issues to [email protected]

Robin Bowes
July 2007

flac2mp3's People

Contributors

robinbowes avatar carlasplund avatar dfberger avatar anthonyryan1 avatar obruchez avatar fds-github avatar

Stargazers

Brendan Smith avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.