README
1============================================================================
2NAME
3
4 MP4::Info - Fetch info from MPEG-4 files (.mp4, .m4a, .m4p, .3gp)
5
6============================================================================
7CHANGES
8
9 1.13 2010-07-30
10 - Fix reported bitrate
11
12============================================================================
13DESCRIPTION
14
15 The MP4::Info module can be used to extract tag and meta information
16 from MPEG-4 audio (AAC) and video files. It is designed as a drop-in
17 replacement for MP3::Info.
18
19 Note that this module does not allow you to update the information in
20 MPEG-4 files.
21
22============================================================================
23SYNOPSIS
24
25 use MP4::Info;
26 my $file = 'Pearls_Before_Swine.m4a';
27
28 my $tag = get_mp4tag($file) or die "No TAG info";
29 printf "$file is a %s track\n", $tag->{GENRE};
30
31 my $info = get_mp4info($file);
32 printf "$file length is %d:%d\n", $info->{MM}, $info->{SS};
33
34 my $mp4 = new MP4::Info $file;
35 printf "$file length is %s, title is %s\n",
36 $mp4->time, $mp4->title;
37
38============================================================================
39INSTALLATION
40
41 See the INSTALL file for details.
42
43============================================================================
44AUTHOR
45
46 Jonathan Harris <jhar@cpan.org>
47
48============================================================================
49SEE ALSO
50
51 Latest version is available from:
52
53 http://search.cpan.org/~jhar/MP4-Info/
54
55============================================================================
56COPYRIGHT and LICENSE
57
58 Copyright (c) 2004-2010, Jonathan Harris <jhar@cpan.org>
59
60 This program is free software; you can redistribute it and/or modify it
61 under the the same terms as Perl itself.
62
63