SDL::Video man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

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
       ·   "SDL::Video::error()" returns any error messages associated with
	   playback

       ·   "SDL::Video::audio(bool)" enables or disables audio playback, (on
	   by default)

       ·   "SDL::Video::video(bool)" enables or disable video playback, (on by
	   default)

       ·   "SDL::Video::loop(bool)" enables or disable playback looping (off
	   by default)

       ·   "SDL::Video::volume(int)" set the volume as per the mixer volume

       ·   "SDL::Video:display(surface)" binds the clip to a display surface

       ·   "SDL::Video::scale([x,y]|[surface]|int)" scales the clip by either
	   x,y factors, scales to the image dimensions, or a single scalar.

       ·   "SDL::Video::play()" plays the video clip, call
	   "SDL::Video::display()" before playing

       ·   "SDL::Video::pause()" pauses video playback

       ·   "SDL::Video::stop()" stops video playback

       ·   "SDL::Video::rewind()" resets the clip to the beginning

       ·   "SDL::Video::seek(offset)" seeks to a particular byte offset

       ·   "SDL::Video::skip(time)" skips to a particular time

       ·   "SDL::Video::region(rect)" takes a SDL::Rect and defines the
	   display area

       ·   "SDL::Video::frame(int)" renders a specific frame to the screen

       ·   "SDL::Video::info()" returns a new "SDL::MPEG" object reflecting
	   the current status

       ·   "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.14.1			  2011-07-18			 SDL::Video(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net