logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL::MPEG - a SDL perl extension

Author

       David J. Goehrig

Category

       TODO

Description

       "SDL::MPEG" provides an interface to querying the status of a SMPEG stream.

   METHODS
       •   "SDL::MPEG::has_audio" returns true if it has 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

Name

       SDL::MPEG - a SDL perl extension

See Also

perl(1) SDL::Video(3)

perl v5.40.0                                       2024-10-20                               pods::SDL::MPEG(3pm)

Synopsis

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

See Also