Skip to content

Instantly share code, notes, and snippets.

@sneak
Last active November 7, 2019 00:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sneak/a51affaba6d893104e73d9a34743624b to your computer and use it in GitHub Desktop.
Save sneak/a51affaba6d893104e73d9a34743624b to your computer and use it in GitHub Desktop.
my stupid hw flash audio player requires wav or mp3
#!/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