get_mp3info (FILE)

Returns hash reference containing file information for MP3 file. This data cannot be changed. Returned data:

VERSION		MPEG audio version (1, 2, 2.5)
LAYER		MPEG layer description (1, 2, 3)
STEREO		boolean for audio is in stereo

VBR		boolean for variable bitrate
BITRATE		bitrate in kbps (average for VBR files)
FREQUENCY	frequency in kHz
SIZE		bytes in audio stream

SECS		total seconds
MM		minutes
SS		leftover seconds
MS		leftover milliseconds
TIME		time in MM:SS

COPYRIGHT	boolean for audio is copyrighted
PADDING		boolean for MP3 frames are padded
MODE		channel mode (0 = stereo, 1 = joint stereo,
		2 = dual channel, 3 = single channel)
FRAMES		approximate number of frames
FRAME_LENGTH	approximate length of a frame
VBR_SCALE	VBR scale from VBR header

NAME

mp3info - prints MP3 header info

SYNOPSIS

mp3info [options] [file ...]

Options:

--ident		show identification
--help		brief help message
--verbose		verbose information

OPTIONS

--verbose

More verbose information.

--version

Print a version identification to standard output and exits.

--help

Print a brief help message to standard output and exits.

--ident

Prints a program identification.

file

Input file(s).

DESCRIPTION

This program will read the given input file(s), which must be valid MP3 files, and print a summary of the header data.

EXAMPLE

% mp3info Tangerine_Dream/Green_Desert/*mp3
Tangerine_Dream/Green_Desert/02_White_Clouds.mp3:
  MP3  Mode: 1 (Joint Stereo)  Bitrate: 242 VBR  Frequency: 44.1 Khz
  Time: 05:02 (302.86367 seconds)  Copyright: No  Padding: No
  Frames: 11594  Frame Length: 792  VBR Scale: 78  Audio Size: 9189857 bytes
Tangerine_Dream/Green_Desert/03_Astral_Voyager.mp3:
  MP3  Mode: 1 (Joint Stereo)  Bitrate: 199 VBR  Frequency: 44.1 Khz
  Time: 07:07 (427.78122 seconds)  Copyright: No  Padding: No
  Frames: 16376  Frame Length: 651  VBR Scale: 78  Audio Size: 10675236 bytes
Tangerine_Dream/Green_Desert/04_Indian_Summer.mp3:
  MP3  Mode: 1 (Joint Stereo)  Bitrate: 212 VBR  Frequency: 44.1 Khz
  Time: 06:53 (413.64898 seconds)  Copyright: No  Padding: No
  Frames: 15835  Frame Length: 694  VBR Scale: 78  Audio Size: 10996089 bytes

REQUIREMENTS

MP3::Info.

AUTHOR

Johan Vromans <jvromans@squirrel.nl>

COPYRIGHT

This programs is Copyright 2003, Squirrel Consultancy.

This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License or the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 63:

'=item' outside of any '=over'

Around line 174:

You forgot a '=back' before '=head1'