SDL::MPEG(3pm)

SDL::MPEG3pm

A sdl perl extension

Usage

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

Category

TODO

Overview

"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

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Author

David J. Goehrig

From libsdl-perl 2.548-5+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.