
SDL::MPEG - a SDL perl extension

TODO

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

SDL::MPEG provides an interface to quering the status of a SMPEG stream.
SDL::MPEG::has_audio returns true if it has audio trackSDL::MPEG::has_video returns true if it has a video trackSDL::MPEG::width returns the width of the video in pixelsSDL::MPEG::height returns the height of the video in pixelsSDL::MPEG::size returns the total size of the clip in bytesSDL::MPEG::offset returns the offset into the clip in bytesSDL::MPEG::frame returns the offset into the clip in famesSDL::MPEG::fps returns the play rate in frames per secondSDL::MPEG::time returns the current play time in secondsSDL::MPEG::length returns the total play time in seconds
David J. Goehrig

perl(1) SDL::Video(3)