User:PBryan/flac2vorbis: Difference between revisions
From MusicBrainz Wiki
Jump to navigationJump to search
m (User:pbryan/flac2vorbis moved to User:Pbryan/flac2vorbis) |
m (User:Pbryan/flac2vorbis moved to User:PBryan/flac2vorbis) |
Latest revision as of 17:39, 15 March 2009
flac2vorbis
Description
The flac2vorbis script recursively walks a directory containing FLAC files and transcodes to Ogg Vorbis 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
Dependencies
- Getopt-ArgvFile module (Ubuntu package: libgetopt-argvfile-perl)
- Parallel-ForkManager module (Ubuntu package: libparallel-forkmanager-perl)
- Sys-CPU Perl module (Ubuntu package: libsys-cpu-perl)
- metaflac utility (Ubuntu package: flac)
- oggenc utility (Ubuntu package: vorbis-tools)
Notes
- This script is tested on Ubuntu 8.10; mileage may vary on other platforms.
Download
License
- This script is licensed under the GPL 2.0 or later.
Usage
Usage: flac2vorbis [options] flac_dir [vorbis_dir]
Options
-
Option Description Default --encopts=options Options to pass to encoder. --quality=5 --help Display this help message. --oggenc=program Program to encode to Ogg Vorbis. oggenc --metaflac=program Program to use to manage metadata in 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. --[no]removeflac Remove source FLAC file upon successful trancode. noremoveflac --verbose Verbose output of progress information.
Configuration file
You can store persistent command-line options in a file called .flac2vorbis in your home directory. They will be read as defaults prior to processing any passed command-line options.
Changelog
0.6 (2009-02-23)
- added option to remove source FLAC file after successful transcode. (IRC: brianfreud)
0.5 (2009-01-07)
- initial version released to MusicBrainz