SDL::MPEG(3pm)

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
o "SDL::MPEG::has_audio" returns true if it has audio track
o "SDL::MPEG::has_video" returns true if it has a video track
o "SDL::MPEG::width" returns the width of the video in pixels
o "SDL::MPEG::height" returns the height of the video in pixels
o "SDL::MPEG::size" returns the total size of the clip in bytes
o "SDL::MPEG::offset" returns the offset into the clip in bytes
o "SDL::MPEG::frame" returns the offset into the clip in fames
o "SDL::MPEG::fps" returns the play rate in frames per second
o "SDL::MPEG::time" returns the current play time in seconds
o "SDL::MPEG::length" returns the total play time in seconds

AUTHOR

David J. Goehrig

SEE ALSO

perl(1) SDL::Video(3)
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout