Created
February 3, 2012 06:36
-
-
Save alotaiba/1728544 to your computer and use it in GitHub Desktop.
Useful ffmpeg commands for manipulating voice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Useful ffmpeg commands for manipulating voice | |
# Convert from mic to FLAC with bitrate = 96kbps, hw:0,0 refers to the mic, it could be different for your machine | |
ffmpeg -f alsa -ar 16000 -ac 2 -i hw:0,0 -acodec flac -ab 96k <output_file_name> | |
# Convert from raw PCM 16bit LE to FLAC with sample rate (frequency) = 16khz, with bitrate = 96kbps | |
ffmpeg -f s16le -ar 16000 -i <input_file_name> -acodec flac -ar 16000 -ab 96k <output_file_name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment