Skip to content

Instantly share code, notes, and snippets.

@erichowey
Last active January 5, 2021 22:29
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 erichowey/346924361b96522e4e3b9f45dbcac932 to your computer and use it in GitHub Desktop.
Save erichowey/346924361b96522e4e3b9f45dbcac932 to your computer and use it in GitHub Desktop.
FFMpeg commands
## ULAW/ALAW
ffmpeg -i <any_file> -ar 8000 -ac 1 -acodec pcm_s16le -f s16le Output.sln
## OPUS
ffmpeg -i <any_file> -map_metadata -1 -ar 48000 -b:a 64k -ac 1 -acodec libopus -f opus Output.opus
## G722
ffmpeg -i <any_file> -ar 16000 -acodec g722 -b:a 64k Output.g722
## m4a
ffmpeg -i <any_file> -ac 1 -acodec aac Output.m4a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment