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; call SDL::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 a SDL::Rect and defines the display area. 🎯
  • SDL::SMPEG::frame(int) β€” renders a specific frame to the screen. 🎞️
  • SDL::SMPEG::info() β€” returns a new SDL::MPEG object reflecting the current status. πŸ‘€
  • SDL::SMPEG::status() β€” returns either SMPEG_PLAYING or SMPEG_STOPPED or SMPEG_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