MPEG::Info

MPEG::Info is a basic MPEG bitstream attribute parser.
Download

MPEG::Info Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Benjamin R. Ginter and Allen Day
  • Publisher web site:
  • http://search.cpan.org/~brg/MPEG-Info-1.00/Info.pm

MPEG::Info Tags


MPEG::Info Description

MPEG::Info is a basic MPEG bitstream attribute parser. MPEG::Info is a basic MPEG bitstream attribute parser.SYNOPSIS use strict; use MPEG::Info; my $video = MPEG::Info->new( -file => $filename ); $video->probe(); print $file->type; ## MPEG ## Audio information print $file->acodec; ## MPEG Layer 1/2 print $file->acodecraw; ## 80 print $file->achans; ## 1 print $file->arate; ## 128000 (bits/sec) print $file->astreams ## 1 ## Video information printf "%0.2f", $file->fps ## 29.97 print $file->height ## 240 print $file->width ## 352 print $file->vstreams ## 1 print $file->vcodec ## MPEG1 print $file->vframes ## 529 print $file->vrate ## 1000000 (bits/sec)The Moving Picture Experts Group (MPEG) is a working group in charge of the development of standards for coded representation of digital audio and video.MPEG audio and video clips are ubiquitous but using Perl to programmatically collect information about these bitstreams has to date been a kludge at best.This module parses the raw bitstreams and extracts information from the packet headers. It supports Audio, Video, and System (multiplexed audio and video) packets so it can be used on nearly every MPEG you encounter. Requirements: · Perl


MPEG::Info Related Software