Você pode ver algumas dessas informações em exiftool
instale-o usando
sudo apt-get install libimage-exiftool-perl
Exemplo de saída para um arquivo de áudio:
exiftool Videos/9UAasbnxGDPX.128.mp3
A saída é
ExifTool Version Number : 8.60
File Name : 9UAasbnxGDPX.128.mp3
Directory : Videos
File Size : 3.9 MB
File Modification Date/Time : 2015:02:10 13:11:25+02:00
File Permissions : rw-rw-r--
File Type : MP3
MIME Type : audio/mpeg
MPEG Audio Version : 1
Audio Layer : 3
Audio Bitrate : 128 kbps
Sample Rate : 44100
Channel Mode : Joint Stereo
MS Stereo : On
Intensity Stereo : Off
Copyright Flag : False
Original Media : True
Emphasis : None
Encoder : LAME3.99r
Lame VBR Quality : 4
Lame Quality : 3
Lame Method : CBR
Lame Low Pass Filter : 17 kHz
Lame Bitrate : 128 kbps
Lame Stereo Mode : Joint Stereo
Duration : 0:04:15 (approx)
Outra solução
use mediainfo
sudo apt-get install mediainfo
mesmo exemplo acima
mediainfo Videos/9UAasbnxGDPX.128.mp3
saída
General
Complete name : Videos/9UAasbnxGDPX.128.mp3
Format : MPEG Audio
File size : 3.90 MiB
Duration : 4mn 15s
Overall bit rate mode : Constant
Overall bit rate : 128 Kbps
Writing library : LAME3.99r
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Duration : 4mn 16s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 3.90 MiB (100%)
Writing library : LAME3.99r
Encoding settings : -m j -V 4 -q 3 -lowpass 17 -b 128