mp3info prints mp3 related information of mp3 audio files.

$ mp3info foo.mp3
foo.mp3 does not have ID3 1.x tag

It doesn't print anything since some mp3 files do not have
id3 tags.

$ mp3info -p "playtime : %m%s  Bitrate:%r\n" foo.mp3
playtime : 718  Bitrate:64

$ mp3info -p "%m\n" foo.mp3
7

The above 718 means 7:18 mins which is 7 minutes and 18 seconds.

Here are some more options you can use with -p switch.

   %f     Filename without the path [string]
                 %F     Filename with the path [string]
                 %k     File size in KB [integer]
                 %a     Artist [string]
                 %c     Comment [string]
                 %g     Musical genre [string]
                 %G     Musical genre number [integer]
                 %l     Album name [string]
                 %n     Track [integer]
                 %t     Track Title [string]
                 %y     Year [string]
                 %C     Copyright flag [string]
                 %e     Emphasis [string]
                 %E     CRC Error protection [string]
                 %L     MPEG Layer [string]
                 %O     Original material flag [string]
                 %o     Stereo/mono mode [string]
                 %p     Padding [string]
                 %v     MPEG Version [float]
                 %u     Number of good audio frames [integer]
                 %b     Number of corrupt audio frames [integer]
                 %Q     Sampling frequency in Hz [integer]
                 %q     Sampling frequency in kHz [integer]
                 %r     Bit Rate in kbps (type and meaning affected by
-r option)
                 %m     Playing time: minutes only [integer]
                 %s     Playing time: seconds only [integer] (usually
used in con‐
                        junction with %m)
                 %S     Total playing time in seconds [integer]
                 %%     A single percent sign

BTW, there was a mistake in yday's tip.

$ 7z a foo.7z foo.iso

is the correct command.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to