NAME
SDL::MPEG - a SDL perl extension
SYNOPSIS
$info = new SDL::MPEG -from => $mpeg;DESCRIPTION
SDL::MPEG provides an interface to quering the status of a SMPEG stream.
METHODS
- SDL::MPEG::has_audioreturns true if it has audio track
- SDL::MPEG::has_videoreturns true if it has a video track
- SDL::MPEG::widthreturns the width of the video in pixels
- SDL::MPEG::heightreturns the height of the video in pixels
- SDL::MPEG::sizereturns the total size of the clip in bytes
- SDL::MPEG::offsetreturns the offset into the clip in bytes
- SDL::MPEG::framereturns the offset into the clip in fames
- SDL::MPEG::fpsreturns the play rate in frames per second
- SDL::MPEG::timereturns the current play time in seconds
- SDL::MPEG::lengthreturns the total play time in seconds
AUTHOR
David J. Goehrig
SEE ALSO
perl(1) SDL::Video(3)