pods::SDL::SMPEG(3pm)
π NAME π
Okay so this is pods::SDL::SMPEG(3pm), from the User Contributed Perl Documentation, and the main character is SDL::SMPEG β a SDL perl extension. π«Άβ¨
π·οΈ CATEGORY π·οΈ
TODO
Vibe check: that's literally the whole category. Not me making it up, fr fr. π
π SYNOPSIS π
$video = SDL::SMPEG->new( -name => 'pr0n.mpg' );
π¬ DESCRIPTION π¬
The module 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. The way that playback is controlled through the object's interface is giving main character energy, ngl. Slay. β¨
π§ METHODS π§
Lowkey here's the whole method menu, bestie β every single one. π«Ά
SDL::SMPEG::error()β returns any error messages associated with playback. πSDL::SMPEG::audio(bool)β turns audio playback on or off; it's on by default. πSDL::SMPEG::video(bool)β turns video playback on or off; it's on by default. π₯SDL::SMPEG::loop(bool)β turns playback looping on or off; 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. π¦SDL::SMPEG::play()β plays the video clip; callSDL::SMPEG::display()before playing. βΆοΈ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. π¦
π AUTHOR π
David J. Goehrig. π
π SEE ALSO π
iykyk, these refs ate. π
π«Ά Okay that's the whole page, bestie. Cute sign-off: thispods::SDL::SMPEG(3pm)page is fromperl v5.42.0, dated2024-05-01. Periodt. π
π¦ where this page comes from
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-SDL 2.548-bp160.1.13 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms