video info mpeg constants 0.993
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1999
Video::Info::MPEG::Constants 0.993
Video::Info::MPEG::Constants is a suite of modules to probe video files for various attributes. more>>
Video::Info::MPEG::Constants is a suite of modules to probe video files for various attributes.
Previous versions of Video::Info depended on external modules, such as RIFF::Info and ASF::Info. This is no longer the case, you dont need to install them. All the functionality is now included with the Video::Info distribution.
To contribute, use Video::Info::FOO as a template to write a module, and email it to the Allen Day. Also see t/FOO.t as an example test script to verify the sanity of your code.
Installation:
To install this module type the following:
perl Makefile.PL
make
make test (optional)
make install
<<lessPrevious versions of Video::Info depended on external modules, such as RIFF::Info and ASF::Info. This is no longer the case, you dont need to install them. All the functionality is now included with the Video::Info distribution.
To contribute, use Video::Info::FOO as a template to write a module, and email it to the Allen Day. Also see t/FOO.t as an example test script to verify the sanity of your code.
Installation:
To install this module type the following:
perl Makefile.PL
make
make test (optional)
make install
Download (0.62MB)
Added: 2006-11-17 License: Perl Artistic License Price:
1071 downloads
Video::Info::MPEG 0.993
Video::Info::MPEG is a basic MPEG bitstream attribute parser. more>>
Video::Info::MPEG is a basic MPEG bitstream attribute parser.
SYNOPSIS
use strict;
use Video::Info::MPEG;
my $video = Video::Info::MPEG->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.
<<lessSYNOPSIS
use strict;
use Video::Info::MPEG;
my $video = Video::Info::MPEG->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.
Download (0.62MB)
Added: 2006-07-21 License: GPL (GNU General Public License) Price:
1195 downloads
Video::Info::MPEG::System 0.993
Video::Info::MPEG::System is a suite of modules to probe video files for various attributes. more>>
Video::Info::MPEG::System is a suite of modules to probe video files for various attributes.
Previous versions of Video::Info depended on external modules, such as RIFF::Info and ASF::Info. This is no longer the case, you dont need to install them. All the functionality is now included with the Video::Info distribution.
To contribute, use Video::Info::FOO as a template to write a module, and email it to the Allen Day. Also see t/FOO.t as an example test script to verify the sanity of your code.
Installation:
To install this module type the following:
perl Makefile.PL
make
make test (optional)
make install
<<lessPrevious versions of Video::Info depended on external modules, such as RIFF::Info and ASF::Info. This is no longer the case, you dont need to install them. All the functionality is now included with the Video::Info distribution.
To contribute, use Video::Info::FOO as a template to write a module, and email it to the Allen Day. Also see t/FOO.t as an example test script to verify the sanity of your code.
Installation:
To install this module type the following:
perl Makefile.PL
make
make test (optional)
make install
Download (0.62MB)
Added: 2006-11-17 License: Perl Artistic License Price:
1071 downloads
Video::Info::ASF 0.993
Video::Info::ASF is a Perl module for ASF files atributes. more>>
Video::Info::ASF is a Perl module for ASF files for attributes like:
-video codec
-audio codec
-frame height
-frame width
-frame count
and more!
SYNOPSIS
use Video::Info::ASF;
my $video;
$video = Video::Info::ASF->new(-file=>$filename); #like this
$video->vcodec; #video codec
$video->acodec; #audio codec
...
ASF stands for Advanced Systems Format, in case you were wondering. It used to stand for Active Streaming Format, but Microsoft decided to change it. This type of file is primarily used to store audio & video data for local or streaming playback. It can also be embedded with commands (to launch a web browser, for instance), for an "immersive" experience. ASF is similar in structure to RIFF. (See RIFF::Info). The morbidly curious can find out more below in REFERENCES.
<<less-video codec
-audio codec
-frame height
-frame width
-frame count
and more!
SYNOPSIS
use Video::Info::ASF;
my $video;
$video = Video::Info::ASF->new(-file=>$filename); #like this
$video->vcodec; #video codec
$video->acodec; #audio codec
...
ASF stands for Advanced Systems Format, in case you were wondering. It used to stand for Active Streaming Format, but Microsoft decided to change it. This type of file is primarily used to store audio & video data for local or streaming playback. It can also be embedded with commands (to launch a web browser, for instance), for an "immersive" experience. ASF is similar in structure to RIFF. (See RIFF::Info). The morbidly curious can find out more below in REFERENCES.
Download (0.62MB)
Added: 2006-07-21 License: Perl Artistic License Price:
1226 downloads
Video::Info 0.993
Video::Info can retrieve video properties such as: height width codec fps. more>>
Video::Info can retrieve video properties such as: height width codec fps.
SYNOPSIS
use Video::Info;
my $info = Video::Info->new(-file=>my.mpg);
$info->fps();
$info->aspect();
## ... see methods below
Video::Info is a factory class for working with video files. When you create a new Video::Info object (see methods), something like this will happen: 1) open file, determine type. See Video::Info::Magic. 2) attempt to create object of appropriate class (ie, MPEG::Info for MPEG files, RIFF::Info for AVI files). 3) Probe the file for various attributes 4) return the created object, or a Video::Info object if the appropriate class is unavailable.
Currently, Video::Info can create objects for the following filetypes:
Module Filetype
-------------------------------------------------
Video::Info::ASF ASF
MP3::Info MPEG Layer 2, MPEG Layer 3
Video::Info::MPEG MPEG1, MPEG2, MPEG 2.5
Video::Info::RIFF AVI, DivX
Video::Info::Quicktime MOV, MOOV, MDAT, QT
And support is planned for:
Module Filetype
-------------------------------------------------
Video::Info::Real RealNetworks formats
<<lessSYNOPSIS
use Video::Info;
my $info = Video::Info->new(-file=>my.mpg);
$info->fps();
$info->aspect();
## ... see methods below
Video::Info is a factory class for working with video files. When you create a new Video::Info object (see methods), something like this will happen: 1) open file, determine type. See Video::Info::Magic. 2) attempt to create object of appropriate class (ie, MPEG::Info for MPEG files, RIFF::Info for AVI files). 3) Probe the file for various attributes 4) return the created object, or a Video::Info object if the appropriate class is unavailable.
Currently, Video::Info can create objects for the following filetypes:
Module Filetype
-------------------------------------------------
Video::Info::ASF ASF
MP3::Info MPEG Layer 2, MPEG Layer 3
Video::Info::MPEG MPEG1, MPEG2, MPEG 2.5
Video::Info::RIFF AVI, DivX
Video::Info::Quicktime MOV, MOOV, MDAT, QT
And support is planned for:
Module Filetype
-------------------------------------------------
Video::Info::Real RealNetworks formats
Download (0.62MB)
Added: 2006-07-20 License: Perl Artistic License Price:
1197 downloads
Video::Info::Magic 0.993
Video::Info::Magic can resolve video filetype if possible. more>>
Video::Info::Magic can resolve video filetype if possible.
SYNOPSIS
use strict;
use Video::Info::Magic qw(:all);
my $type = divine(/path/to/video.mpg );
print $type; #MPEG system stream data (maybe)
## ... see methods below
EXPORT
various constants related to video file formats. All are prefixed with "VIDEO_".
divine(): Employs /usr/share/magic entries to determine a files type, as well as GUID and other info from Microsoft, mplayer, transcode...
<<lessSYNOPSIS
use strict;
use Video::Info::Magic qw(:all);
my $type = divine(/path/to/video.mpg );
print $type; #MPEG system stream data (maybe)
## ... see methods below
EXPORT
various constants related to video file formats. All are prefixed with "VIDEO_".
divine(): Employs /usr/share/magic entries to determine a files type, as well as GUID and other info from Microsoft, mplayer, transcode...
Download (0.62MB)
Added: 2006-07-20 License: Perl Artistic License Price:
1191 downloads
Video::Info::FOO 0.993
Video::Info::FOO is a Perl module for video information. more>>
Video::Info::FOO is a Perl module for video information.
Video::Info::FOO - what is it useful for? an example list:
-video codec
-audio codec
-frame height
-frame width
-frame count
and more!
SYNOPSIS
use Video::Info::FOO;
my $video;
$video->vcodec; #video codec
$video->acodec; #audio codec
...
What does the module do? What are its limitations? Is it built on top of other code? If so, what are the details and where can I get it?
<<lessVideo::Info::FOO - what is it useful for? an example list:
-video codec
-audio codec
-frame height
-frame width
-frame count
and more!
SYNOPSIS
use Video::Info::FOO;
my $video;
$video->vcodec; #video codec
$video->acodec; #audio codec
...
What does the module do? What are its limitations? Is it built on top of other code? If so, what are the details and where can I get it?
Download (0.62MB)
Added: 2006-07-21 License: Perl Artistic License Price:
1199 downloads
Video::Info::RIFF 0.993
Video::Info::RIFF is a Perl module that can probe DivX and AVI files for attributes. more>>
Video::Info::RIFF is a Perl module that can probe DivX and AVI files for attributes like:
-video codec
-audio codec
-frame height
-frame width
-frame count
and more!
SYNOPSIS
use Video::Info::RIFF;
my $video;
$video = Video::Info::RIFF->new(-file=>$filename); #like this
$video = Video::Info::RIFF->new(-file=>$filename,-headersize=>$headersize); #or this
$video->vcodec; #video codec
$video->acodec; #audio codec
...
RIFF stands for Resource Interchange File Format, in case you were wondering. The morbidly curious can find out more below in REFERENCES.
<<less-video codec
-audio codec
-frame height
-frame width
-frame count
and more!
SYNOPSIS
use Video::Info::RIFF;
my $video;
$video = Video::Info::RIFF->new(-file=>$filename); #like this
$video = Video::Info::RIFF->new(-file=>$filename,-headersize=>$headersize); #or this
$video->vcodec; #video codec
$video->acodec; #audio codec
...
RIFF stands for Resource Interchange File Format, in case you were wondering. The morbidly curious can find out more below in REFERENCES.
Download (0.62MB)
Added: 2006-07-21 License: GPL (GNU General Public License) Price:
1198 downloads
Devel::Constants 1.00
Devel::Constants is a Perl module that translates constants back to named symbols. more>>
Devel::Constants is a Perl module that translates constants back to named symbols.
SYNOPSIS
# must precede use constant
use Devel::Constants flag_to_names;
use constant A => 1;
use constant B => 2;
use constant C => 4;
my $flag = A | B;
print "Flag is: ", join( and , flag_to_names($flag) ), "n";
Declaring constants is very convenient for writing programs, but as Perl often inlines them, retrieving their symbolic names can be tricky. This worse with lowlevel modules that use constants for bit-twiddling.
Devel::Constants makes this much more manageable.
It silently wraps around the constant module, intercepting all constant declarations. It builds a hash, associating the values to their names, from which you can retrieve their names as necessary.
Note that you must use Devel::Constants before constant, or the magic will not work and you will be very disappointed. This is very important, and if you ignore this warning, the authors will feel free to laugh at you (at least a little.
By default, Devel::Constants only intercept constant declarations within the same package that used the module. Also by default, it stores the constants for a package within a private (read, otherwise inaccessible) variable. You can override both of these.
Passing the package flag to Devel::Constants with a valid package name will make the module intercept all constants subsequently declared within that package. For example, in the main package you might say:
use Devel::Constants package => NetPacket::TCP;
use NetPacket::TCP;
All of the TCP flags declared within NetPacket::TCP are now available.
It is also possible to pass in a hash reference in which to store the constant values and names:
my %constant_map;
use Devel::Constants %constant_map;
use constant NAME => 1;
use constant RANK => 2;
use constant SERIAL => 4;
print join( , values %constant_map), "n";
<<lessSYNOPSIS
# must precede use constant
use Devel::Constants flag_to_names;
use constant A => 1;
use constant B => 2;
use constant C => 4;
my $flag = A | B;
print "Flag is: ", join( and , flag_to_names($flag) ), "n";
Declaring constants is very convenient for writing programs, but as Perl often inlines them, retrieving their symbolic names can be tricky. This worse with lowlevel modules that use constants for bit-twiddling.
Devel::Constants makes this much more manageable.
It silently wraps around the constant module, intercepting all constant declarations. It builds a hash, associating the values to their names, from which you can retrieve their names as necessary.
Note that you must use Devel::Constants before constant, or the magic will not work and you will be very disappointed. This is very important, and if you ignore this warning, the authors will feel free to laugh at you (at least a little.
By default, Devel::Constants only intercept constant declarations within the same package that used the module. Also by default, it stores the constants for a package within a private (read, otherwise inaccessible) variable. You can override both of these.
Passing the package flag to Devel::Constants with a valid package name will make the module intercept all constants subsequently declared within that package. For example, in the main package you might say:
use Devel::Constants package => NetPacket::TCP;
use NetPacket::TCP;
All of the TCP flags declared within NetPacket::TCP are now available.
It is also possible to pass in a hash reference in which to store the constant values and names:
my %constant_map;
use Devel::Constants %constant_map;
use constant NAME => 1;
use constant RANK => 2;
use constant SERIAL => 4;
print join( , values %constant_map), "n";
Download (0.006MB)
Added: 2007-05-01 License: Perl Artistic License Price:
906 downloads
Astro::Constants 0.09
Astro::Constants is a Perl module that contains physical constants for use in Astronomy. more>>
Astro::Constants is a Perl module that contains physical constants for use in Astronomy.
SYNOPSIS
use Astro::Constants::CGS qw(:long);
print "The Schwarzschild radius of the sun is ",
2 * GRAVITATIONAL * SOLAR_MASS / LIGHT_SPEED ** 2,
" centimetresn";
or
use Astro::Constants::MKS qw(:short);
print "The Schwarzschild radius of the sun is ",
2 * $A_G * $A_msun / $A_c ** 2,
" metresn";
This module provides a large number of physical constants which are useful to Astronomers. The module itself is essentially a wrapper around the astroconst package of Jeremy Balin.
It allows you to choose between constants in units of centimetres/grams/seconds with Astro::Constants::CGS and metres/kilograms/seconds with Astro::Constants::MKS. It also allows you to select two different methods of refering to the constants using the import tags :long and :short.
The :short tag refers to the constants in the normal perl variable style, such as $A_G for the gravitational constant and $A_c for the speed of light in a vaccuum. The naming convention for the :short constant is A_ prepended to the symbol character.
The :long tag refers to the constants with longer descriptive names in ALL_CAPS that have been created with the use constant pragma. As in the example, GRAVITATIONAL is the gravitational constant and LIGHT_SPEED is the speed of light. This is a new addition to the Astroconst package and, at present, we are following a naming convention of OBJECT_PROPERTY and SYMBOL_SUBSCRIPT. Opinions on this matter will be listened to and if we decline to agree, you can always change it yourself, as described in "EXTENDING THE DATA SET".
The :long and the :short tags import the same constants. You may choose individual constants and even mix and match (I havent tested this) by importing them in the use statement.
One of the problems with the long constants is that they are not interpolated in double quotish situations because they are really inlined functions.
<<lessSYNOPSIS
use Astro::Constants::CGS qw(:long);
print "The Schwarzschild radius of the sun is ",
2 * GRAVITATIONAL * SOLAR_MASS / LIGHT_SPEED ** 2,
" centimetresn";
or
use Astro::Constants::MKS qw(:short);
print "The Schwarzschild radius of the sun is ",
2 * $A_G * $A_msun / $A_c ** 2,
" metresn";
This module provides a large number of physical constants which are useful to Astronomers. The module itself is essentially a wrapper around the astroconst package of Jeremy Balin.
It allows you to choose between constants in units of centimetres/grams/seconds with Astro::Constants::CGS and metres/kilograms/seconds with Astro::Constants::MKS. It also allows you to select two different methods of refering to the constants using the import tags :long and :short.
The :short tag refers to the constants in the normal perl variable style, such as $A_G for the gravitational constant and $A_c for the speed of light in a vaccuum. The naming convention for the :short constant is A_ prepended to the symbol character.
The :long tag refers to the constants with longer descriptive names in ALL_CAPS that have been created with the use constant pragma. As in the example, GRAVITATIONAL is the gravitational constant and LIGHT_SPEED is the speed of light. This is a new addition to the Astroconst package and, at present, we are following a naming convention of OBJECT_PROPERTY and SYMBOL_SUBSCRIPT. Opinions on this matter will be listened to and if we decline to agree, you can always change it yourself, as described in "EXTENDING THE DATA SET".
The :long and the :short tags import the same constants. You may choose individual constants and even mix and match (I havent tested this) by importing them in the use statement.
One of the problems with the long constants is that they are not interpolated in double quotish situations because they are really inlined functions.
Download (0.012MB)
Added: 2007-06-21 License: Perl Artistic License Price:
855 downloads
RPM::Constants 0.40
RPM::Constants is a Perl module with groups of RPM-defined symbols. more>>
RPM::Constants is a Perl module with groups of RPM-defined symbols.
SYNOPSIS
use RPM::Constants qw(:rpmerr :rpmtype);
This package is a collection of the constants defined by rpm itself that may be of use to those developing with the RPM Perl bindings.
<<lessSYNOPSIS
use RPM::Constants qw(:rpmerr :rpmtype);
This package is a collection of the constants defined by rpm itself that may be of use to those developing with the RPM Perl bindings.
Download (0.053MB)
Added: 2006-09-26 License: Perl Artistic License Price:
1125 downloads
Etk::Constants 0.05
Etk::Constants is a Perl module with costants to use with Etk. more>>
Etk::Constants is a Perl module with costants to use with Etk.
SYNOPSIS
use Etk::Constants qw/ButtonsOk ButtonsClose/;
#
use Etk::Constants qw/:messagedialog/;
#
use Etk::Constants qw/:all/;
This module contains constants to use while building Etk apps. The constants have numerical values which can be used instead.
<<lessSYNOPSIS
use Etk::Constants qw/ButtonsOk ButtonsClose/;
#
use Etk::Constants qw/:messagedialog/;
#
use Etk::Constants qw/:all/;
This module contains constants to use while building Etk apps. The constants have numerical values which can be used instead.
Download (0.050MB)
Added: 2006-10-18 License: Perl Artistic License Price:
1103 downloads
City info search 0.9
City info search enables you to get all the information about any city in the USA with a mouse click. more>>
City info search enables you to get all the information about any city in the USA with a mouse click.
Get all the information about any city in the USA with a mouse click. This includes geography, population, ethnic composition, housing, climate, hospitals, airports, etc.
Usage: highlight the name on any US city on a page. Right click the mouse. Choose Get City Info.
No annoing toolbars.
<<lessGet all the information about any city in the USA with a mouse click. This includes geography, population, ethnic composition, housing, climate, hospitals, airports, etc.
Usage: highlight the name on any US city on a page. Right click the mouse. Choose Get City Info.
No annoing toolbars.
Download (0.080MB)
Added: 2007-04-27 License: MPL (Mozilla Public License) Price:
942 downloads
Template::Plugin::Java::Constants 0.4
Template::Plugin::Java::Constants is a Perl module with constants for the Java Template plugin modules. more>>
Template::Plugin::Java::Constants is a Perl module with constants for the Java Template plugin modules.
SYNOPSIS
use Template::Plugin::Java::Constants qw/:regex/; use Template::Plugin::Java::Constants qw/:boolean/; use Template::Plugin::Java::Constants qw/:all/;
regex
The "regex" tag exports qr// compiled regular expressions SCALAR, PRIMITIVE, STRING and ARRAY, these are for matching Java types. All of these match a whole line, with no extra whitespace, and return the matched java type as $1. They may be used as:
$string =~ /@{[SCALAR]}/; # Ugly but effective and relatively fast.
SCALAR
Any primitive or encapsulated primitive: int, or Integer, or String, etc.
PRIMITIVE
Only primitive types like int, float, double, byte, etc.
STRING
An incarnation of java.lang.String.
ARRAY
A java.util.Vector.
boolean
The boolean tag just exports the constants TRUE as 1 and FALSE as 0.
all
Exports all of the proceeding.
<<lessSYNOPSIS
use Template::Plugin::Java::Constants qw/:regex/; use Template::Plugin::Java::Constants qw/:boolean/; use Template::Plugin::Java::Constants qw/:all/;
regex
The "regex" tag exports qr// compiled regular expressions SCALAR, PRIMITIVE, STRING and ARRAY, these are for matching Java types. All of these match a whole line, with no extra whitespace, and return the matched java type as $1. They may be used as:
$string =~ /@{[SCALAR]}/; # Ugly but effective and relatively fast.
SCALAR
Any primitive or encapsulated primitive: int, or Integer, or String, etc.
PRIMITIVE
Only primitive types like int, float, double, byte, etc.
STRING
An incarnation of java.lang.String.
ARRAY
A java.util.Vector.
boolean
The boolean tag just exports the constants TRUE as 1 and FALSE as 0.
all
Exports all of the proceeding.
Download (0.018MB)
Added: 2007-06-02 License: Perl Artistic License Price:
874 downloads
Video::Frequencies 0.901
Video::Frequencies is a Perl module that has many, many frequency constants and lists. more>>
Video::Frequencies is a Perl module that has many, many frequency constants and lists.
SYNOPSIS
use Video::Frequencies;
while (my($name,$list) = each %CHANLIST) {
print "$namen";
while (my($channel,$freq) = each %$list) {
printf " %-4s %9dn", $channel, $freq;
}
print "n";
}
This module exports (yes, exports!) frequency constants as well as hashes with channel => frequency relations for digital and analog video and audio broadcast. Another, shorter way to put it is "worldwide channel/frequency list". All frequencies are given in kHz.
Its a good idea to use perldoc -m Video::Frequencies to get an idea on how the various constants and lists look like.
<<lessSYNOPSIS
use Video::Frequencies;
while (my($name,$list) = each %CHANLIST) {
print "$namen";
while (my($channel,$freq) = each %$list) {
printf " %-4s %9dn", $channel, $freq;
}
print "n";
}
This module exports (yes, exports!) frequency constants as well as hashes with channel => frequency relations for digital and analog video and audio broadcast. Another, shorter way to put it is "worldwide channel/frequency list". All frequencies are given in kHz.
Its a good idea to use perldoc -m Video::Frequencies to get an idea on how the various constants and lists look like.
Download (0.084MB)
Added: 2006-07-21 License: Perl Artistic License Price:
1191 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above video info mpeg constants 0.993 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed