qmp3info
show info from mp3 files.
qmp3info
option...
file...
qmp3info
reads a list of mp3 files and prints on standard output some of its parameters: version, layer, sample rate, bit rate, duration and tag. a duration summary is appended at the end of the list.
-c
--check
-h
--help
-s
--summary-only
-v
--verbose
-V
--version
variable bit rate (vbr) streams are detected by reading the initial 5 frames in the stream. if their bit rate field differs, the --check
option is activated automatically.
if vbr is not detected, qmp3info
reads only the first frame in the stream and calculates the duration supposing that (1) the entire stream is composed by valid frames and (2) all the frames have the same bit rate. this is a fast way to compute the duration of the stream, but it is not exact: there's an error of 0.3% aprox. if you want to be accurate, or qmp3info
is unable to detect a vbr stream, use --check
.