pods::SDL::SMPEG(3pm)

πŸ“¦ version 2.548, in opensuse-leap 16.0

πŸ’… 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; call SDL::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 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. 🚦

πŸ‘‘ AUTHOR πŸ‘‘

David J. Goehrig. πŸ’–

πŸ”— SEE ALSO πŸ”—

iykyk, these refs ate. 🌈


🫢 Okay that's the whole page, bestie. Cute sign-off: this pods::SDL::SMPEG(3pm) page is from perl v5.42.0, dated 2024-05-01. Periodt. πŸ’‹
πŸ“¦ where this page comes from