Last active
November 7, 2019 00:22
-
-
Save sneak/a51affaba6d893104e73d9a34743624b to your computer and use it in GitHub Desktop.
my stupid hw flash audio player requires wav or mp3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# converts from alac 24/96 m4a to 16/44 320 cbr mp3 for my stupid hardware | |
find . -type f -name '*.m4a' -print0 | parallel -0 'ffmpeg -i {} -vsync 0 -b:a 320k -sample_fmt s16p -ar 44100 "{.}.mp3"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment