Query: sdl::smpeg
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pods::SDL::SMPEG(3pm) User Contributed Perl Documentation pods::SDL::SMPEG(3pm)NAMESDL::SMPEG - a SDL perl extensionCATEGORYTODOSYNOPSIS$video = SDL::SMPEG->new( -name => 'pr0n.mpg' );DESCRIPTION"SDL::SMPEG" adds support for MPEG video to your SDL Perl application. SMPEGs are objects bound to surfaces, whose playback is controlled through the object's interface. METHODS o "SDL::SMPEG::error()" returns any error messages associated with playback o "SDL::SMPEG::audio(bool)" enables or disables audio playback, (on by default) o "SDL::SMPEG::video(bool)" enables or disable video playback, (on by default) o "SDL::SMPEG::loop(bool)" enables or disable playback looping (off by default) o "SDL::SMPEG::volume(int)" set the volume as per the mixer volume o "SDL::SMPEG:display(surface)" binds the clip to a display surface o "SDL::SMPEG::scale([x,y]|[surface]|int)" scales the clip by either x,y factors, scales to the image dimensions, or a single scalar. o "SDL::SMPEG::play()" plays the video clip, call "SDL::SMPEG::display()" before playing o "SDL::SMPEG::pause()" pauses video playback o "SDL::SMPEG::stop()" stops video playback o "SDL::SMPEG::rewind()" resets the clip to the beginning o "SDL::SMPEG::seek(offset)" seeks to a particular byte offset o "SDL::SMPEG::skip(time)" skips to a particular time o "SDL::SMPEG::region(rect)" takes a SDL::Rect and defines the display area o "SDL::SMPEG::frame(int)" renders a specific frame to the screen o "SDL::SMPEG::info()" returns a new "SDL::MPEG" object reflecting the current status o "SDL::SMPEG::status()" returns either SMPEG_PLAYING or SMPEG_STOPPED or SMPEG_ERRORAUTHORDavid J. GoehrigSEE ALSOperl(1) SDL::Surface(3) SDL::MPEG(3) perl v5.14.2 2012-05-28 pods::SDL::SMPEG(3pm)
Related Man Pages |
---|
sdl::tutorial(3) - suse |
sdl::audiocvt(3pm) - debian |
sdl::mixer::groups(3pm) - debian |
sdl::surface(3pm) - debian |
sdl::videoinfo(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Video Playback |
cannot run c compiled programs |
LiVES 0.9.9.1 (Default branch) |
PLaying a sound file with SDL - C++ |
Playing Video with MinGW and SDL |