5 SDL::MPEG - a SDL perl extension
9 $info = new SDL::MPEG -from => $mpeg;
13 C<SDL::MPEG> provides an interface to quering the status
22 C<SDL::MPEG::has_audio> returns true if it has audio track
26 C<SDL::MPEG::has_video> returns true if it has a video track
30 C<SDL::MPEG::width> returns the width of the video in pixels
34 C<SDL::MPEG::height> returns the height of the video in pixels
38 C<SDL::MPEG::size> returns the total size of the clip in bytes
42 C<SDL::MPEG::offset> returns the offset into the clip in bytes
46 C<SDL::MPEG::frame> returns the offset into the clip in fames
50 C<SDL::MPEG::fps> returns the play rate in frames per second
54 C<SDL::MPEG::time> returns the current play time in seconds
58 C<SDL::MPEG::length> returns the total play time in seconds