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

NAME

6       SDL::MPEG - a SDL perl extension
7

CATEGORY

9       TODO
10

SYNOPSIS

12         $info = SDL::MPEG->new( -from => $mpeg );
13

DESCRIPTION

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

AUTHOR

40       David J. Goehrig
41

SEE ALSO

43       perl(1) SDL::Video(3)
44
45
46
47perl v5.34.0                      2022-01-21                      SDL::MPEG(3)
Impressum