Skip to content

Instantly share code, notes, and snippets.

@jeetparikh
Created October 28, 2016 03:51
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 jeetparikh/75a6d2e3ba96545e8593a0e118580894 to your computer and use it in GitHub Desktop.
Save jeetparikh/75a6d2e3ba96545e8593a0e118580894 to your computer and use it in GitHub Desktop.
Convert Audio - mp3 to m4a - usually required when embedding audio to play in browsers
#!/bin/bash
for f in *.mp3; do echo "$f"; ffmpeg -i "$f" -c:a aac -strict experimental "${f%.*}.m4a"; done; $SHELL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment