Giter VIP home page Giter VIP logo

lossless2lossy's Introduction

lossless2lossy

A command line utility that automates the task of maintaining a lossy encoded copy of your lossless music for use on portable devices.

  • maintains a mirrored directory structure efficiently
    • only new or changed files are copied/encoded
  • encodes lossless formats to a lossy format (see Supported Formats below)
  • copies lossy files without transcoding
  • copies albumart
  • utilizes all available processing cores
lossless formats:
lossy formats:

Start off by cloning the lossless2lossy repository:

git checkout https://github.com/lenzenmi/lossless2lossy.git
cd lossless2lossy

Before installing lossless2lossy, you will need to install 3rd party packages and ensure they are available on your system path.

Name:lame
URL:http://lame.sourceforge.net/
Name:flac
URL:https://xiph.org/flac/
Name:sox
URL:http://sox.sourceforge.net/
Name:mp3gain
URL:http://mp3gain.sourceforge.net
Name:python2-eyed3
URL:http://eyed3.nicfit.net/
  1. mutagenx

The easiest way to install python packages is to use pip:

pip install -r requirements.txt

Once all of the dependencies are installed simply do:

python setup.py install

Warning

Please organize your albums into unique folders.

Each folder that lossless2lossy copies a lossy file into will be analyzed for ReplayGain and the results will be used to adjust the volume of the lossy files. lossless2lossy assumes that all files in a directory belong to the same album.

If you have hundreds of files in one directory, this is going to take a long long time and will provide useless results.

lossless2lossy --delete {format} source encoded

where:

--delete    (optional) if specified all files that are not present in the source folder
            will be deleted from the encoded folder

{format}    (optional default=mp3) choose the format to encode to

source      (required) path to the lossless files

encoded     (required) path where the encoded files will be saved
lossless2lossy --delete /home/music/flac/ /home/music/mp3/

lossless2lossy's People

Contributors

lenzenmi avatar

Watchers

 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.