X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-MPEG.html-inc;fp=pages%2FSDL-MPEG.html-inc;h=35a7d307c37ad35d055b7038ad3902b65e9c2781;hb=162a0989f2a1d33d50c8950709319df21973e7b7;hp=0000000000000000000000000000000000000000;hpb=a5a8391295e6649e157a85f9ec380ab62567d225;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-MPEG.html-inc b/pages/SDL-MPEG.html-inc new file mode 100644 index 0000000..35a7d30 --- /dev/null +++ b/pages/SDL-MPEG.html-inc @@ -0,0 +1,62 @@ +
SDL::MPEG - a SDL perl extension
+ +$info = new SDL::MPEG -from => $mpeg; + ++ +
SDL::MPEG
provides an interface to quering the status
+of a SMPEG stream.
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 fames 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 secondsDavid J. Goehrig
+ +perl(1) SDL::Video(3)
+ +