pods::SDL::MPEG(3pm)

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

✨ NAME ✨

so like, this is pods::SDL::MPEG(3pm) bestie β€” and the module itself is SDL::MPEG, a SDL perl extension πŸ’… (yes, "a SDL", that's literally how it's written, we don't question the icon's grammar)


πŸŽ€ CATEGORY πŸŽ€

TODO

ngl that's the whole category. just TODO. the vibes are "we'll get to it" and honestly? relatable 😭

πŸ¦‹ SYNOPSIS πŸ¦‹

$info = SDL::MPEG->new( -from => $mpeg );

🌸 DESCRIPTION 🌸

okay so SDL::MPEG gives you an interface for querying the status of a SMPEG stream πŸ”₯ like it's the little guy you ask "hey what's going on in this clip" and it tells you. that's the whole job. it queries. it reports. it slays.

πŸ’– METHODS πŸ’–

  • SDL::MPEG::has_audio β€” returns true if it has an audio track 🎧
  • SDL::MPEG::has_video β€” returns true if it has a video track 🎬
  • SDL::MPEG::width β€” returns the width of the video, in pixels πŸ“
  • SDL::MPEG::height β€” returns the height of the video, in pixels πŸ“
  • SDL::MPEG::size β€” returns the total size of the clip, in bytes πŸ’Ύ
  • SDL::MPEG::offset β€” returns the offset into the clip, in bytes πŸ“
  • SDL::MPEG::frame β€” returns the offset into the clip, in frames 🎞️
  • SDL::MPEG::fps β€” returns the play rate, in frames per second ⏱️
  • SDL::MPEG::time β€” returns the current play time, in seconds ⏳
  • SDL::MPEG::length β€” returns the total play time, in seconds βŒ›

like… ten little getters and every single one of them is doing its thing. no notes. obsessed 🫢


πŸ‘‘ AUTHOR πŸ‘‘

David J. Goehrig 🌟


🌈 SEE ALSO 🌈


okay bestie that's the whole page β€” no cap, every last detail is up there πŸ’œ this lil' number is perl v5.42.0, dated 2024-05-01, and it lives at pods::SDL::MPEG(3pm). go forth and query those MPEG streams, main character πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from