Skip to content

Instantly share code, notes, and snippets.

@elsonrodriguez
Created November 6, 2022 21:23
Show Gist options
  • Save elsonrodriguez/176e5aeef724f696b5ad78e0e9637d59 to your computer and use it in GitHub Desktop.
Save elsonrodriguez/176e5aeef724f696b5ad78e0e9637d59 to your computer and use it in GitHub Desktop.
A way to convert brstm files to mp3s that iTunes will accept on MacOS, because VLC on Mac does not have batch conversion built in, and my kids need to rock out to Kirby's Epic Yarn or the family will fall apart.
for song in ./*.brstm; do /Applications/VLC.app/Contents/MacOS/VLC "${song}" --sout="#transcode{acodec=mp3,ab=320,samplerate=44100}:standard{access=file,mux=mp3,dst=${song%.brstm}.mp3}" vlc://quit ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment