Code Monkey home page Code Monkey logo

whatmp3's Introduction

whatmp3

whatmp3 transcodes audio files and creates torrents for them

whatmp3 takes a list of directories containing FLAC files and a list of formats to transcode to. For each top level directory passed, a new directory containing the transcoded audio files and optionally a torrent (with mktorrent) are created.

whatmp3 requires flac, metaflac, at least one kind of encoder (eg lame, oggenc).

mktorrent and replaygain tools (eg vorbisgain) are optionally required.

whatmp3 will not overwrite any files in output directories unless passed -w.

whatmp3 will `touch FAILURE' in each top level dir in which a critical error has occurred while transcoding.

installation

edit config.mk to match your local setup if required, then run (as root if necessary):

make clean install

gmake is required on systems with bsdmake installed by default

usage

whatmp3 will spawn a simultaneous transcoding process for each cpu core detected. This can be overridden with --threads.

torrents are created with the -p flag, indicating a private tracker.

see whatmp3 -h or man whatmp3 for more information.

configuration

whatmp3 can be completely configured with the command line options, but default options can be changed by editing the file itself.

changes to the script itself are required to support changes to or new audio formats, but knowledge of python is not required.

example

whatmp3 -rz -o ~/tor -t "http://my.tracker/announce" --Q8 --V0 "Svartrit - I" "Svartrit - II"

create directories "Svartrit - I (Q8)", etc in ~/tor containing ogg vorbis Q8 and mp3 V0 transcodes with zeropadded tracknumbers and replaygain applied, and torrents "Svartrit - I (Q8).torrent", etc in ~/tor with the specified announce URL.

whatmp3's People

Contributors

recursiveforest avatar etienneperot avatar fl0w3d avatar idelsink avatar jdupl avatar f0rki avatar robinwils avatar timothyekl avatar zacharydenton avatar mattbox avatar

Watchers

James Cloos 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.