Fixed the pod path in archive
[sdlgit/SDL_perl.git] / lib / pods / SDL / MPEG.pod
CommitLineData
896b04ee 1=pod
2
896b04ee 3=head1 NAME
4
5SDL::MPEG - a SDL perl extension
6
7=head1 SYNOPSIS
8
9 $info = new SDL::MPEG -from => $mpeg;
10
11=head1 DESCRIPTION
12
13C<SDL::MPEG> provides an interface to quering the status
14of a SMPEG stream.
15
16=head2 METHODS
17
18=over 4
19
20=item *
21
22C<SDL::MPEG::has_audio> returns true if it has audio track
23
24=item *
25
26C<SDL::MPEG::has_video> returns true if it has a video track
27
28=item *
29
30C<SDL::MPEG::width> returns the width of the video in pixels
31
32=item *
33
34C<SDL::MPEG::height> returns the height of the video in pixels
35
36=item *
37
38C<SDL::MPEG::size> returns the total size of the clip in bytes
39
40=item *
41
42C<SDL::MPEG::offset> returns the offset into the clip in bytes
43
44=item *
45
46C<SDL::MPEG::frame> returns the offset into the clip in fames
47
48=item *
49
50C<SDL::MPEG::fps> returns the play rate in frames per second
51
52=item *
53
54C<SDL::MPEG::time> returns the current play time in seconds
55
56=item *
57
58C<SDL::MPEG::length> returns the total play time in seconds
59
60=back
61
62=head1 AUTHOR
63
64David J. Goehrig
65
66=head1 SEE ALSO
67
68perl(1) SDL::Video(3)
69
70=cut
71