pods::SDL::MPEG(3pm)
β¨ 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
- 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