Is there a command-line utility to determine the bitrate of an mp3 file?
|
feedback
|
|
mpg321 should display this info when the -t switch is used. It is actually a command-line player, but -t should give you what you want. | |||
|
feedback
|
|
file is able to identify the bitrate of MP3s, and is probably already installed on your machine, even if your distro is one of those that avoids installing an MP3 decoder. | |||
|
feedback
|
|
You can get all ID3 meta-tags including the bitrate from exiftool:
The command you want is:
Running the command without any arguments gets you all the tags. It is cross-platform, and works for most multimedia types. This is available via the libimage-exiftool-perl package on Ubuntu. | ||||
|
feedback
|
