From someone I received a batch file that can do ffmpeg conversion using 2 command arguments. Let's say the file is called convert.sh
and only contains this line:
ffmpeg -ss 0 -t 36000 -i "$1" -ar 8000 -ab 16K -ac 1 -y "$2"
I call it as follows:
sh convert.sh inputfile.wav outputfile.wav
In the ffmpeg documentation, I can find what all arguments mean, except for -ab
. I guess 16K
is its value. But I have no idea what it does. Anyone?
-ab argument means audio bitrate