Take the 2-minute tour ×  What is the terminal command that can
used to find the bitrate of an mp3 file?  Is there any other
option available other than mpg321 -t name.mp3?  share|improve
this question add comment  4 Answers  up vote 6 down vote
accepted  Simply put:  file song.mp3  Note: file is included
with Ubuntu.  For alias lovers, insert this at the end of your
~/.bashrc file:  bitrate () {     echo `basename "$1"`: `file
"$1" | sed 's/.*, \(.*\)kbps.*/\1/' | tr -d " " ` kbps  Open a
new Terminal window. You may now run the following command:
bitrate song.mp3 share|improve this answer wow. Simple file
command did the trick. –  devav2 Oct 5 '12 at 19:32 Be warned:
if the file is variable bit rate (VBR), file will report only
the one of the many bit rates present. (I think it's the first
frame's bit rate.) The answer could be deceptive if most of the
file is at a very different rate. If you want to know the
average bit rate, see apacheuk's answer. –  Alan De Smet Feb 5
at 4:44 add comment  Install mp3inf