Skip to content

Instantly share code, notes, and snippets.

@diverted247
Created July 9, 2015 14:38
Show Gist options
  • Save diverted247/0dcb9c30c2826a366f91 to your computer and use it in GitHub Desktop.
Save diverted247/0dcb9c30c2826a366f91 to your computer and use it in GitHub Desktop.
Basic encoding of .wav to .aac, .m4a, .mp3, .ogg, .opus in bash
avconv -i 003.wav -c libfaac -b 128k 003.aac
avconv -i 003.wav -c libfaac -b 128k 003.m4a
avconv -i 003.wav -b 128k 003.mp3
oggenc 003.wav
opusenc 003.wav 003.opus
brew install vorbis-tools
brew install opus
brew install libav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment