Code Monkey home page Code Monkey logo

nothingburgeryourmp3s's Introduction

nothingBurgerYourMP3s

Tool to re-encode recursively mp3 files to any bitrate. I used this to re-encode 2TB of mp3s. It "nothing burgered" 18,966 384kbps MP3 files and went from 2,379,714,605,056 bytes to 1,275,793,204,252 bytes. There are more files to process still but this is pretty solid right now.

Install python dependencies with pip

pip install ffmpy
pip install mutagen

If on windows, the ffmpy seems to have binaries embedded for ffmpeg I believe. If you are on mac do this brew install ffmpeg and on linux make sure the binary is in your path prior to running.

Usage

By default, this will re-encode at 128 kbps because I cant hear the difference between that and higher fidelity. Only CD waves I can hear the difference

To start, clone the repo:

git clone https://github.com/davidrenne/nothingBurgerYourMP3s
cd nothingBurgerYourMP3s

go run main.go Y:\YourMP3sOrFlacFiles\ 384

# Or leave blank for 128

go run main.go Y:\YourMP3sOrFlacFiles\

Warning

This tool will overwrite your files. Make sure you have backups prior to using for safety reasons, but it should be fine. I have used it on thousands of files successfully.

Contributing

This program ideally should be a go install, but it has dependencies with python to pass to ffmpeg abstraction which calls either ffmpeg.exe or ffmpeg. Ideally we can just use pure go for this someday.

nothingburgeryourmp3s's People

Contributors

davidrenne 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.