Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.132.976 Times

MPEG::LibMPEG3 0.01

  Date Added: April 04, 2010  |  Visits: 606

MPEG::LibMPEG3

Report Broken Link
Printer Friendly Version


Product Homepage
Download (75 downloads)

MPEG::LibMPEG3 is a Perl interface to libmpeg3 module. SYNOPSIS use strict; use MPEG::LibMPEG3; my $mpeg = MPEG::LibMPEG3->new( $filename ); $mpeg->set_cpus(1); ## I only have 1 cpu but you can put whatever $mpeg->set_mmx(1); ## but it has mmx instructions printf "Audio Streams: %dn", $mpeg->astreams; for ( 0..$mpeg->astreams() - 1 ) { print " Stream #$_n"; printf "tachans : %dn", $mpeg->achans( $_ ); printf "tarate : %dn", $mpeg->arate( $_ ); printf "taformat : %sn", $mpeg->acodec( $_ ); printf "tduration: %0.2fn", $mpeg->aduration( $_ ); print "n"; } printf "Video Streams: %dn", $mpeg->vstreams; for ( 0..$mpeg->vstreams() - 1 ) { print " Stream #$_n"; printf "tWidth : %dn" , $mpeg->width( $_ ); printf "tHeight : %dn" , $mpeg->height( $_ ); printf "tAspect Ratio : %dn" , $mpeg->aspect( $_ ); printf "tFrame Rate : %0.2fn", $mpeg->fps( $_ ); printf "tTotal Frames : %dn" , $mpeg->vframes( $_ ); printf "tColor Model : %dn" , $mpeg->colormodel( $_ ); printf "tDuration : %0.2fn", $mpeg->vduration( $_ ); print "Dumping frames as YUVn"; for ( my $i = 0; $i < $mpeg->vframes; $i++ ) { my $output_rows = $mpeg->get_yuv; my $frame_yuv = sprintf( "%s-%05d.yuv", $file, $i ); # printf "Opening $frame_yuvn"; print .; open OUT, "> $frame_yuv" or die "Cant open file $frame_yuv for output: $!n"; print OUT $output_rows; close OUT; if ( $i > 1 && $i % $mpeg->fps($_) == 0 ) { printf " %0.0f sec/sn", $i/$mpeg->fps($_); } } printf " %0.2f sec/sn", $mpeg->duration; } 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 uses the libmpeg3 library to parse and extract information from the bitstraems. It supports the following types of files: MPEG-1 Layer II Audio MPEG-1 Layer III Audio MPEG-2 Layer III Audio MPEG-1 program streams MPEG-2 program streams MPEG-2 transport streams AC3 Audio MPEG-2 Video MPEG-1 Video IFO files VOB files.

Requirements: No special requirements
Platforms: Linux
Keyword: Audio Dn Libraries Mpeg Out Perl Print Printf Programming
Users rating: 0/10

License: Freeware Size: 409.6 KB
MPEG::LIBMPEG3 RELATED
Libraries  -  Audio::Mad::Stream 0.6
Audio::Mad::Stream is a Perl interface to mad_stream structure. SYPNOSIS my $stream = new Audio::Mad::Stream ($options); $stream->buffer($scalar); my $remain = substr($scalar, $stream->next_frame); my $position = $stream->this_frame;...
122.88 KB  
Libraries  -  Audio::Cuefile::Parser 0.01
Audio::Cuefile::Parser is a Perl module for audio cuefile parser. SYNOPSIS Class to parse a cuefile and access the chewy, nougat centre. Returns Audio::Cuefile::Parser::Track objects. USAGE: use Audio::Cuefile::Parser; my $filename =...
4.1 KB  
Libraries  -  Audio::File::AudioProperties 0.10
Audio::File::AudioProperties is a Perl module that can abstract an audio files audio properties. Audio::File::AudioProperties is the base class for other file format independant audio property classes like Audio::File::Flac::AudioProperties or...
74.75 KB  
Libraries  -  Audio::Radio::Sirius 0.03
Audio::Radio::Sirius is a Perl module to control a Sirius satellite radio tuner. SYNOPSIS Sirius satellite radio (http://www.sirius.com) is a US based satellite radio serice. While none of the tuners they make have serial or USB connectors, it...
13.31 KB  
Libraries  -  Audio::LADSPA::Buffer 0.018
Audio::LADSPA::Buffer is a Perl module for LADSPA buffer. SYNOPSIS use Audio::LADSPA; my $buffer = Audio::LADSPA::Buffer->new($size); $plugin->connect(Port name => $buffer); $buffer->set( @values ); # or get a buffer from a plugin.....
81.92 KB  
Libraries  -  Audio::AMR::Decode 0.01
Audio::AMR::Decode is a Perl extension do decode .amr files. SYNOPSIS use Audio::AMR::Decode; Audio::AMR::Decode::amr2raw(infile.amr, outfile.pcm); This module will attempt to decode an amr encoded audio file to a raw pcm audio encoded...
133.12 KB  
Libraries  -  Audio::Wav::Read 0.06
Audio::Wav::Read is a Perl module for reading Microsoft WAV files. SYNOPSIS use Audio::Wav; my $wav = new Audio::Wav; my $read = $wav -> read( filename.wav ); my $details = $read -> details(); Reads Microsoft Wav files..
18.43 KB  
Libraries  -  X500::DN::Parser 1.17
X500::DN::Parser is a Perl module that can parse X500 Distinguished Names. SYNOPSIS use X500::DN::Parser; my($parser) = new X500::DN::Parser(&errorInDN); my($dn, $genericDN, %RDN) = $parser -> parse(c=au;o=MagicWare;cn=Ron Savage, c,...
7.17 KB  
Libraries  -  Audio::OSS 0.0501
Audio::OSS is a pure-perl interface to OSS (open sound system) audio devices. SYNOPSIS use Audio::OSS qw(:funcs :formats :mixer); my $dsp = IO::Handle->new(" dsp_reset($dsp) or die "reset failed: $!"; my $mask =...
9.22 KB  
Audio Tools  -  Free M2TS to Mpeg Converter 1.2.0.0
Free M2TS to Mpeg Converter is a free Windows software for conversion of Blu-ray Disc Audio-Video (BDAV) MPEG-2 Transport Stream format into Mpeg movie, one of the many output video formats. With our free M2TS to Mpeg Converter you can convert...
8.66 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB