6 SDL::MPEG - a SDL perl extension
10 $info = new SDL::MPEG -from => $mpeg;
14 C<SDL::MPEG> provides an interface to quering the status
23 C<SDL::MPEG::has_audio> returns true if it has audio track
27 C<SDL::MPEG::has_video> returns true if it has a video track
31 C<SDL::MPEG::width> returns the width of the video in pixels
35 C<SDL::MPEG::height> returns the height of the video in pixels
39 C<SDL::MPEG::size> returns the total size of the clip in bytes
43 C<SDL::MPEG::offset> returns the offset into the clip in bytes
47 C<SDL::MPEG::frame> returns the offset into the clip in fames
51 C<SDL::MPEG::fps> returns the play rate in frames per second
55 C<SDL::MPEG::time> returns the current play time in seconds
59 C<SDL::MPEG::length> returns the total play time in seconds