pods::SDL::SMPEG(3pm)
π NAME π
okay so bestie, welcome to the pods::SDL::SMPEG(3pm) page β¨ This module is SDL::SMPEG β a SDL perl extension. That's the vibe: MPEG video support for your SDL Perl app, and it's here to serve. π
πΈ CATEGORY πΈ
TODO β yes, literally TODO, no cap. That's what the page says. π«Ά
β¨ SYNOPSIS β¨
$video = SDL::SMPEG->new( -name => 'pr0n.mpg' );
π DESCRIPTION π
okay so SDL::SMPEG adds support for MPEG video to your SDL Perl application. highkey iconic. SMPEGs are objects bound to surfaces, whose playback is controlled through the object's interface. It's giving video-object main character energy, fr fr. π¦
π¦ METHODS π¦
SDL::SMPEG::error()β returns any error messages associated with playback. iykyk, check this when things get weird. πSDL::SMPEG::audio(bool)β turns audio playback on or off, and it's on by default. πSDL::SMPEG::video(bool)β turns video playback on or off, and it's on by default. πΊSDL::SMPEG::loop(bool)β turns playback looping on or off, and it's off by default. πSDL::SMPEG::volume(int)β sets the volume as per the mixer volume. ποΈSDL::SMPEG:display(surface)β binds the clip to a display surface. πΌοΈSDL::SMPEG::scale([x,y]|[surface]|int)β scales the clip by either x,y factors, scales to the image dimensions, or a single scalar. the way that this one has range, bestie. β¨SDL::SMPEG::play()β plays the video clip; callSDL::SMPEG::display()before playing. this part matters, don't skip it. π¬SDL::SMPEG::pause()β pauses video playback. βΈοΈSDL::SMPEG::stop()β stops video playback. βΉοΈSDL::SMPEG::rewind()β resets the clip to the beginning. βͺSDL::SMPEG::seek(offset)β seeks to a particular byte offset. πSDL::SMPEG::skip(time)β skips to a particular time. β©SDL::SMPEG::region(rect)β takes aSDL::Rectand defines the display area. π―SDL::SMPEG::frame(int)β renders a specific frame to the screen. ποΈSDL::SMPEG::info()β returns a newSDL::MPEGobject reflecting the current status. πSDL::SMPEG::status()β returns eitherSMPEG_PLAYINGorSMPEG_STOPPEDorSMPEG_ERROR. vibe check, basically. π
π AUTHOR π
David J. Goehrig β that's the author, bestie. Respect. π«Ά
π SEE ALSO π
made with π for perl v5.42.3, dated 2026-08-19 β this is the pods::SDL::SMPEG(3pm) page, bestie! π«Άβ¨
π¦ where this page comes from
- ubuntu stonking: libsdl-perl 2.548-6build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms