1SDL::MPEG(3) User Contributed Perl Documentation SDL::MPEG(3)
2
3
4
6 SDL::MPEG - a SDL perl extension
7
9 $info = new SDL::MPEG -from => $mpeg;
10
12 "SDL::MPEG" provides an interface to quering the status of a SMPEG
13 stream.
14
15 METHODS
16
17 · "SDL::MPEG::has_audio" returns true if it has audio track
18
19 · "SDL::MPEG::has_video" returns true if it has a video track
20
21 · "SDL::MPEG::width" returns the width of the video in pixels
22
23 · "SDL::MPEG::height" returns the height of the video in pixels
24
25 · "SDL::MPEG::size" returns the total size of the clip in bytes
26
27 · "SDL::MPEG::offset" returns the offset into the clip in bytes
28
29 · "SDL::MPEG::frame" returns the offset into the clip in fames
30
31 · "SDL::MPEG::fps" returns the play rate in frames per second
32
33 · "SDL::MPEG::time" returns the current play time in seconds
34
35 · "SDL::MPEG::length" returns the total play time in seconds
36
38 David J. Goehrig
39
41 perl(1) SDL::Video(3)
42
43
44
45perl v5.8.8 2006-08-28 SDL::MPEG(3)