This section provides a tutorial on how to print MPEG encoding information from MP3 files with 'mpgtx'.
MP3 music files are MPEG 1 layer 3 files.
Let's see if mpgtx can print MPEG encoding information from a MP3 file:
C:\temp>\local\bin\mpgtx -i Liang_Zhu.mp3
Skipped -2 zeroes at start of file
mpgtx: AT EOF - please stop me!
mmm, this file does not start with a pack, offset: -2
use the desperate_mode switch as the first option -X to search for
a header in the whole file! if you want to force the operation.
May yield to an endless loop if no valid header is found!
Does not even begin with a 00 00 01 xx sequence!
Liang_Zhu.mp3
Audio : Mpeg 1 layer 3
Estimated Duration: 05:59.73s
192 kbps 44100 Hz
Frame size: 627 bytes
Stereo, No emphasis, (c), copy
ID3 v1.0 tag
----------------
title : Liang Zhu
artist : Unknown
album : First Album
genre : Other
----------------
ID3 v2.3.0 tag (more info on http://www.id3.org/)
----------------
TIT2 : Liang Zhu
TALB : First Album
TCON : Chinese Classic
TPE1 : Unknown
----------------