jamespharaoh / downcode Goto Github PK
View Code? Open in Web Editor NEWIncrementally re-encode media files to a separate location, to save space on limited media players.
License: Apache License 2.0
Incrementally re-encode media files to a separate location, to save space on limited media players.
License: Apache License 2.0
DOWNCODE Simple script to reencode a library of OGG Vorbis and MP3 file to a smaller size for use with a space restricted MP3 player, while preserving ID3 tags and OGG comments. Please contact me with any comments, suggestions, questions. James Pharaoh <[email protected]> INFORMATION The script is designed to run incrementally, and will detect changes (based on modification time) and deletions. Typical usage is as follows: $ downcode --source music/faves --dest mp3/faves --delete I imagine you'd write a short shell script to invoke downcode with the right parameters, possibly multiple times, and simply run it after modifying your music colleciton, or before syncing to your device. The script also replaces certain characters which won't work on a FAT file system. FUTURE FEATURES Let me know if anyone is interested in any of these. * Improved output - I want to clear the screen and show current progress at the top after each file, with the command output underneath. * Format change - It would be nice to output all OGG or all MP3, but this makes the tag handling much more complicated. * Parallel processing - I have a four core processor, it would be nice to specify how many of them to use. * Filters - It should be possible to specify which files to include or exclude in an interesting way, and so be able to more manage a larger collection. * More intelligent deleting - It would probably be quite easy to wipe out a whole directory if you pass the wrong arguments with the --delete option. I could probably detect and handle this better. * Other files - Currently any non MP3 or OGG files are simply skipped. Instead we should have an option to copy them, probably based on extension. * Filename conversion - My linux filesystem supports characters which my MP3 player doesn't. I substitute only a small number of these, this could be done better somehow. * Quality options - The quality of the output is hardcoded. This should be available as command line options, or maybe a config file. Please email me with any suggestions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.