suse man page for sdl::video

Query: sdl::video

OS: suse

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SDL::Video(3)						User Contributed Perl Documentation					     SDL::Video(3)

NAME
SDL::Video - a SDL perl extension
SYNOPSIS
$video = new SDL::Video ( -name => 'pr0n.mpg' );
DESCRIPTION
"SDL::Video" adds support for MPEG video to your SDL Perl application. Videos are objects bound to surfaces, whose playback is controled through the object's interface. METHODS o "SDL::Video::error()" returns any error messages associated with playback o "SDL::Video::audio(bool)" enables or disables audio playback, (on by default) o "SDL::Video::video(bool)" enables or disable video playback, (on by default) o "SDL::Video::loop(bool)" enables or disable playback looping (off by default) o "SDL::Video::volume(int)" set the volume as per the mixer volume o "SDL::Video:display(surface)" binds the clip to a display surface o "SDL::Video::scale([x,y]|[surface]|int)" scales the clip by either x,y factors, scales to the image dimensions, or a single scalar. o "SDL::Video::play()" plays the video clip, call "SDL::Video::display()" before playing o "SDL::Video::pause()" pauses video playback o "SDL::Video::stop()" stops video playback o "SDL::Video::rewind()" resets the clip to the beginning o "SDL::Video::seek(offset)" seeks to a particular byte offset o "SDL::Video::skip(time)" skips to a particular time o "SDL::Video::region(rect)" takes a SDL::Rect and defines the display area o "SDL::Video::frame(int)" renders a specific frame to the screen o "SDL::Video::info()" returns a new "SDL::MPEG" object reflecting the current status o "SDL::Video::status()" returns either SMPEG_PLAYING or SMPEG_STOPPED or SMPEG_ERROR
AUTHOR
David J. Goehrig
SEE ALSO
perl(1) SDL::Surface(3) SDL::MPEG(3) perl v5.12.1 2010-07-05 SDL::Video(3)
Related Man Pages
sdl::gfx::rotozoom(3pm) - debian
sdl::mouse(3pm) - debian
sdl::pixelformat(3pm) - debian
sdl::surface(3pm) - debian
sdl::videoinfo(3pm) - debian
Similar Topics in the Unix Linux Community
Weird Question
Post a Cool Music Video (Part I)
NSFW ads make this site NSFW
Post An Interesting Video
Top 5 Roadblocks to a Secure Cyberspace in 2019 | YouTube Video