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