1SDL::MPEG(3)          User Contributed Perl Documentation         SDL::MPEG(3)
2
3
4

NAME

6       SDL::MPEG - a SDL perl extension
7

SYNOPSIS

9         $info = new SDL::MPEG -from => $mpeg;
10

DESCRIPTION

12       "SDL::MPEG" provides an interface to quering the status of a SMPEG
13       stream.
14
15   METHODS
16       ·   "SDL::MPEG::has_audio" returns true if it has audio track
17
18       ·   "SDL::MPEG::has_video" returns true if it has a video track
19
20       ·   "SDL::MPEG::width" returns the width of the video in pixels
21
22       ·   "SDL::MPEG::height" returns the height of the video in pixels
23
24       ·   "SDL::MPEG::size" returns the total size of the clip in bytes
25
26       ·   "SDL::MPEG::offset" returns the offset into the clip in bytes
27
28       ·   "SDL::MPEG::frame" returns the offset into the clip in fames
29
30       ·   "SDL::MPEG::fps" returns the play rate in frames per second
31
32       ·   "SDL::MPEG::time" returns the current play time in seconds
33
34       ·   "SDL::MPEG::length" returns the total play time in seconds
35

AUTHOR

37       David J. Goehrig
38

SEE ALSO

40       perl(1) SDL::Video(3)
41
42
43
44perl v5.12.0                      2010-05-06                      SDL::MPEG(3)
Impressum