User:PBryan/flac2mp3

From MusicBrainz Wiki
< User:PBryan
Revision as of 17:37, 15 March 2009 by PBryan (talk | contribs) (User:Pbryan/flac2mp3 moved to User:PBryan/flac2mp3)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

flac2mp3

Description

The flac2mp3 script recursively walks a directory containing FLAC files and transcodes to MP3 format, en masse. Features:

  • incremental (non-overwrite) to only transcode only newly found FLAC files
  • spawns multiple processes to allow multiple concurrent encodings to be performed
  • fairly substantial mapping from Vorbis-style comments in FLAC to MP3 frames

Dependencies

Notes

  • This script is tested on Ubuntu 8.10; mileage may vary on other platforms.

Download

License

Usage

Usage: flac2mp3 [options] flac_dir [mp3_dir]

Options

  • Option Description Default
    --encopts=options Options to pass to encoder. --preset standard --noreplaygain
    --flac=program Program to decode extracted audio from FLAC format flac
    --help Display this help message.
    --lame=program Program to encode to MP3 format. lame
    --metaflac=program Program to get metadata from FLAC files. metaflac
    --[no]overwrite Overwrite previous extract of tracks. nooverwrite
    --processes=number Number of concurrent encoder processes number of CPUs
    --quiet Quiet operation, no screen output.
    --verbose Verbose output of progress information.

Configuration file

You can store persistent command-line options in a file called .flac2mp3 in your home directory. They will be read as defaults prior to processing any passed command-line options.

Changelog

0.9 (2009-01-07)

  • initial version released to MusicBrainz