mpeg
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 281
SMPEG 0.4.4
SMPEG is SDL MPEG Player Library. more>>
SMPEG is SDL MPEG Player Library.
SMPEG is based on UC Berkeleys mpeg_play software MPEG decoder and SPLAY, an mpeg audio decoder created by Woo-jae Jung. We have completed the initial work to wed these two projects in order to create a general purpose MPEG video/audio player for the Linux OS.
Based on our initial work, SMPEG is able to playback MPEG video with sound on Pentium II based systems. SMPEG does not achieve adequate performance on slower systems.
SMPEG is offered under the GNU Library Public License (LGPL).
We hope that by making this tool available to the open source community that others will be able to use it for their own products, and that this tool can be expanded and enhanced for everyones benefit.
<<lessSMPEG is based on UC Berkeleys mpeg_play software MPEG decoder and SPLAY, an mpeg audio decoder created by Woo-jae Jung. We have completed the initial work to wed these two projects in order to create a general purpose MPEG video/audio player for the Linux OS.
Based on our initial work, SMPEG is able to playback MPEG video with sound on Pentium II based systems. SMPEG does not achieve adequate performance on slower systems.
SMPEG is offered under the GNU Library Public License (LGPL).
We hope that by making this tool available to the open source community that others will be able to use it for their own products, and that this tool can be expanded and enhanced for everyones benefit.
Download (0.15MB)
Added: 2006-08-07 License: LGPL (GNU Lesser General Public License) Price:
1193 downloads
LibMPEG3 1.7
LibMPEG3 is a library for MP3, MP2, AC3, MPEG-1, and MPEG-2 video decoding. more>>
Libmpeg3 supports advanced editing and manipulation of MPEG streams. MPEG is normally a last mile distribution format but with libmpeg3 you can edit it like a production format. Unless you have a need for MPEG editing and copying, youre better off using a consumer library like FFMPEG.
Libmpeg3 is primarily a supporting library for Cinelerra. It supports all of the nonstandard operations Cinelerra needs. Libmpeg3 provides a uniform front end for a large number of the MPEG formats used in HDTV broadcasting. It decodes:
- 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
Now the good news. It can read the MPEG exports from Cinelerra.
A table of contents feature allows it to seek with frame accuracy regardless of whether the footage has timecode or not, or whether the timecode is contiguous. Also included are utilities for stream extraction, format querying, and copying.
Enhancements:
- Table of contents sample count improvements.
- Migration to GCC 4.1.
<<lessLibmpeg3 is primarily a supporting library for Cinelerra. It supports all of the nonstandard operations Cinelerra needs. Libmpeg3 provides a uniform front end for a large number of the MPEG formats used in HDTV broadcasting. It decodes:
- 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
Now the good news. It can read the MPEG exports from Cinelerra.
A table of contents feature allows it to seek with frame accuracy regardless of whether the footage has timecode or not, or whether the timecode is contiguous. Also included are utilities for stream extraction, format querying, and copying.
Enhancements:
- Table of contents sample count improvements.
- Migration to GCC 4.1.
Download (0.61MB)
Added: 2006-07-03 License: GPL (GNU General Public License) Price:
1217 downloads
mpeglib 0.4.1
mpeglib is a mp3 and mpeg I video/audio library for linux. more>>
mpeglib is a mp3 and mpeg I video/audio library for linux.
The library includeds three command line players, for mp3,wav,mpeg video.
Main features:
MPEG I library.
This library contains:
- mpeg I audio player (layer I,II,III (mp3))
- mpeg I video player
- mpeg I system layer player
- wav player
Supported features:
- direct/fast seek in all players
- length detection
- video synchronisation, based on timestamps
- mmx Support where necessary
- VBR/ID3 support for mp3
- shoutcast/icecast support
- CDI/Video CD support
- plugin architecture for input,decoder,output
Supported Outputs:
Audio
- Support for OSS/Linux, Sun
Video
- X11 standard calls (fallback)
- X11 Shared mem
- X11 XFree86 4.0 DGA 2.0 (needs root)
- X11 XFree86 4.0 XVideo Extension (hardware yuv->rgb renderer)
Supported Inputs
- file,http.
- Supports on Linux Video CDs (vcd,cdi)
<<lessThe library includeds three command line players, for mp3,wav,mpeg video.
Main features:
MPEG I library.
This library contains:
- mpeg I audio player (layer I,II,III (mp3))
- mpeg I video player
- mpeg I system layer player
- wav player
Supported features:
- direct/fast seek in all players
- length detection
- video synchronisation, based on timestamps
- mmx Support where necessary
- VBR/ID3 support for mp3
- shoutcast/icecast support
- CDI/Video CD support
- plugin architecture for input,decoder,output
Supported Outputs:
Audio
- Support for OSS/Linux, Sun
Video
- X11 standard calls (fallback)
- X11 Shared mem
- X11 XFree86 4.0 DGA 2.0 (needs root)
- X11 XFree86 4.0 XVideo Extension (hardware yuv->rgb renderer)
Supported Inputs
- file,http.
- Supports on Linux Video CDs (vcd,cdi)
Download (0.70MB)
Added: 2005-07-07 License: GPL (GNU General Public License) Price:
1585 downloads
SDL::MPEG 2.1.3
SDL::MPEG is a SDL perl extension. more>>
SDL::MPEG is a SDL perl extension.
SYNOPSIS
$info = new SDL::MPEG -from => $mpeg;
SDL::MPEG provides an interface to quering 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 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 seconds
<<lessSYNOPSIS
$info = new SDL::MPEG -from => $mpeg;
SDL::MPEG provides an interface to quering 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 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 seconds
Download (0.76MB)
Added: 2006-11-16 License: Perl Artistic License Price:
1074 downloads
MPEG::Info 1.00
MPEG::Info is a basic MPEG bitstream attribute parser. more>>
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.
<<lessSYNOPSIS
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.
Download (0.32MB)
Added: 2006-11-16 License: Perl Artistic License Price:
1081 downloads
Audio::MPEG 0.04
Audio::MPEG is a Perl module for encoding and decoding of MPEG Audio (MP3). more>>
Audio::MPEG is a Perl module for encoding and decoding of MPEG Audio (MP3).
SYNOPSIS
use Audio::MPEG;
Audio::MPEG is a Perl interface to the LAME and MAD MPEG audio Layers I, II, and III encoding and decoding libraries.
Rationale
I have been building a fairly extensive MP3 library, and decided to write some software to help manage the collection. Its turned out to be a rather cool piece of software (incidentally, I will be releasing it under the GPL shortly), with both a web and command line interface, good searching, integrated ripping, archive statistics, etc.
However, I also wanted to be able to stream audio, and verify the integrity of files in the archive. It is certainly possible to stream audio (even with re-encoding at a different bitrate) without resorting to writing interface glue like this module, but verification of the files was clumsy at best (e.g. scanning stdout/err for strings), and useless at worst.
Thus, Audio::MPEG was born.
LAME
This is arguably the best quality MPEG encoder available (certainly the best GPL encoder). Portions of the code have been optimized to take advantage of some of the advanced features for Intel/AMD processors, but even on non-optimized machines, such as the PowerPC, it performs quite well (faster than real-time on late 90s (and later) machines).
MAD
This is a relatively new MPEG decoding library. I chose it after struggling to clean up the MPEG decoding library included with LAME (which is based on Michael Hipps mpg123(1) implementation). In the end, I was very pleased with the results. MAD performs its decoding with an internal precision of 24 bits (pro-level quality) with fixed-point arithmetic. The code is very clean, and seems rock-solid. Although it may seem that it should be faster than the mpg123(1) library due to the use of fixed-point arithmetic, it is in fact about 60% or so of the speed (due to the higher resolution audio). However, the ease of coding against MAD, and the higher precision of the output more than makes up for the slower decoding.
Audio::MPEG can export the data at its highest precision for programs that wish to manipulate the data at the higher resolution.
Operating System Environment
I have only tested this on a Linux 2.4.x system so far, but I see no reason why it should not work on any Un*x variant. In fact, it may actually even work on a Windoze box (the underlying LAME and MAD libraries apparently compile somehow on them). I am doing no special magic with the interface, so presumably it will work under Windows. As you can probably tell, I dont really care if it does (Ill may start caring if M$ releases the source code to Windows under GPL, BSD, or Artistic licenses...). But, for you poor, misguided souls that insist upon running Windows, I expect that there should be little problem getting it to work.
Performance
You would think that with encoding/decoding audio, which is quite a compute-intensive task, Perl would be much slower than the equivalent pure C programs. Surprise... it is only about 3% slower (!) Even with the mechanism I use here (Perl->C->Perl for every frame, Perl 5.6.1 and Linux 2.4.4 (PowerPC 7500) performs just fantastic. So, the moral of this paragraph is to run your own performance tests, but theres no need to think of your own Perl encoder/decoder will be inferior to a pure C/C++ implementation. The only drawback is that, depending upon how much buffer space you use for reading, memory usage will be at least 3 times as much (eh... RAM is cheap...)
<<lessSYNOPSIS
use Audio::MPEG;
Audio::MPEG is a Perl interface to the LAME and MAD MPEG audio Layers I, II, and III encoding and decoding libraries.
Rationale
I have been building a fairly extensive MP3 library, and decided to write some software to help manage the collection. Its turned out to be a rather cool piece of software (incidentally, I will be releasing it under the GPL shortly), with both a web and command line interface, good searching, integrated ripping, archive statistics, etc.
However, I also wanted to be able to stream audio, and verify the integrity of files in the archive. It is certainly possible to stream audio (even with re-encoding at a different bitrate) without resorting to writing interface glue like this module, but verification of the files was clumsy at best (e.g. scanning stdout/err for strings), and useless at worst.
Thus, Audio::MPEG was born.
LAME
This is arguably the best quality MPEG encoder available (certainly the best GPL encoder). Portions of the code have been optimized to take advantage of some of the advanced features for Intel/AMD processors, but even on non-optimized machines, such as the PowerPC, it performs quite well (faster than real-time on late 90s (and later) machines).
MAD
This is a relatively new MPEG decoding library. I chose it after struggling to clean up the MPEG decoding library included with LAME (which is based on Michael Hipps mpg123(1) implementation). In the end, I was very pleased with the results. MAD performs its decoding with an internal precision of 24 bits (pro-level quality) with fixed-point arithmetic. The code is very clean, and seems rock-solid. Although it may seem that it should be faster than the mpg123(1) library due to the use of fixed-point arithmetic, it is in fact about 60% or so of the speed (due to the higher resolution audio). However, the ease of coding against MAD, and the higher precision of the output more than makes up for the slower decoding.
Audio::MPEG can export the data at its highest precision for programs that wish to manipulate the data at the higher resolution.
Operating System Environment
I have only tested this on a Linux 2.4.x system so far, but I see no reason why it should not work on any Un*x variant. In fact, it may actually even work on a Windoze box (the underlying LAME and MAD libraries apparently compile somehow on them). I am doing no special magic with the interface, so presumably it will work under Windows. As you can probably tell, I dont really care if it does (Ill may start caring if M$ releases the source code to Windows under GPL, BSD, or Artistic licenses...). But, for you poor, misguided souls that insist upon running Windows, I expect that there should be little problem getting it to work.
Performance
You would think that with encoding/decoding audio, which is quite a compute-intensive task, Perl would be much slower than the equivalent pure C programs. Surprise... it is only about 3% slower (!) Even with the mechanism I use here (Perl->C->Perl for every frame, Perl 5.6.1 and Linux 2.4.4 (PowerPC 7500) performs just fantastic. So, the moral of this paragraph is to run your own performance tests, but theres no need to think of your own Perl encoder/decoder will be inferior to a pure C/C++ implementation. The only drawback is that, depending upon how much buffer space you use for reading, memory usage will be at least 3 times as much (eh... RAM is cheap...)
Download (00057MB)
Added: 2006-06-19 License: GPL (GNU General Public License) Price:
1225 downloads
MPEG Maaate 0.3.1
Maaate is a set of libraries that enable audio signal analysis and feature calculation. more>>
Maaate (pronounce: ma:a:it) is a set of libraries that enable audio signal analysis and feature calculation in the compressed/frequency domain. Its design allows to support any kind of sound file, compressed or not.
The current release handles only MPEG-1 compressed audio files - other formats will be plugged in. Maaate contains a wide set of analysis modules such as energy features or spectral features. Maaate works under Linux, Solaris and Windows (NEW!).
MPEG Maaate is designed in tiers: at the bottom sits the file parsing tier, which currently contains an MPEG file parser ("mpeg" directory). The next tier implements a generic interface to the frequency domain samples and access to extracted and pre-processed information regardless of the audio file format in libMaaateP ("tier1" directory).
The tier thereafter implements an interface to the content analysis on the extracted information libMaaateA ("tier2" directory). The analysis functions themselves are stored in dynamically loadable plugin modules. A standard set is included in the "plugins" (libMaaateM) and "plugins_brief" (libMaaateM_brief) directory. Applications sit on top of these tiers using any modules required.
The distribution of Maaate contains the next libraries:
a C++ library for the MPEG parser (libMaaateMPEG).
a C++ library for the generic field/frequency sample access (libMaaateP) including a C API.
a C++ library for the generic module access (libMaaateA) including a C API.
two C++ libraries implementing some fundamental modules and an easy API to access them (libMaaateM, libMaaateM_brief). libMaaateM_brief provides a backward compatible and shorter module API.
and the following command-line programs:
a C++ command-line application to access MPEG fields via tier 1 and demonstrate the usage of the tier1 API (inspectMPaudio).
a C++ command-line application to apply analysis functions and demonstrate the usage of the tier2 API (analyseSDaudio) and a C version of it (canalyseSDaudio).
a C++ command-line MPEG player using Maaate (MaaatePlay) and a C version of it (cMaaatePlay).
In a separate distribution you may find a sample GUI interface to Maaate called bewdy. It demonstrates a few of the abilities of Maaate visually.
<<lessThe current release handles only MPEG-1 compressed audio files - other formats will be plugged in. Maaate contains a wide set of analysis modules such as energy features or spectral features. Maaate works under Linux, Solaris and Windows (NEW!).
MPEG Maaate is designed in tiers: at the bottom sits the file parsing tier, which currently contains an MPEG file parser ("mpeg" directory). The next tier implements a generic interface to the frequency domain samples and access to extracted and pre-processed information regardless of the audio file format in libMaaateP ("tier1" directory).
The tier thereafter implements an interface to the content analysis on the extracted information libMaaateA ("tier2" directory). The analysis functions themselves are stored in dynamically loadable plugin modules. A standard set is included in the "plugins" (libMaaateM) and "plugins_brief" (libMaaateM_brief) directory. Applications sit on top of these tiers using any modules required.
The distribution of Maaate contains the next libraries:
a C++ library for the MPEG parser (libMaaateMPEG).
a C++ library for the generic field/frequency sample access (libMaaateP) including a C API.
a C++ library for the generic module access (libMaaateA) including a C API.
two C++ libraries implementing some fundamental modules and an easy API to access them (libMaaateM, libMaaateM_brief). libMaaateM_brief provides a backward compatible and shorter module API.
and the following command-line programs:
a C++ command-line application to access MPEG fields via tier 1 and demonstrate the usage of the tier1 API (inspectMPaudio).
a C++ command-line application to apply analysis functions and demonstrate the usage of the tier2 API (analyseSDaudio) and a C version of it (canalyseSDaudio).
a C++ command-line MPEG player using Maaate (MaaatePlay) and a C version of it (cMaaatePlay).
In a separate distribution you may find a sample GUI interface to Maaate called bewdy. It demonstrates a few of the abilities of Maaate visually.
Download (0.53MB)
Added: 2006-07-15 License: GPL (GNU General Public License) Price:
1214 downloads
MPEG::MP3Play 0.15
MPEG::MP3Play is a Perl extension for playing back MPEG music. more>>
MPEG::MP3Play is a Perl extension for playing back MPEG music.
SYNOPSIS
use MPEG::MP3Play;
my $mp3 = new MPEG::MP3Play;
$mp3->open ("test.mp3");
$mp3->play;
$mp3->message_handler;
This Perl module enables you to playback MPEG music.
This README and the documention cover version 0.15 of the MPEG::MP3Play module.
<<lessSYNOPSIS
use MPEG::MP3Play;
my $mp3 = new MPEG::MP3Play;
$mp3->open ("test.mp3");
$mp3->play;
$mp3->message_handler;
This Perl module enables you to playback MPEG music.
This README and the documention cover version 0.15 of the MPEG::MP3Play module.
Download (0.038MB)
Added: 2006-07-12 License: Perl Artistic License Price:
1200 downloads
MPEG::MP3Info 1.13
MPEG::MP3Info is a Perl module to manipulate / fetch info from MP3 audio files. more>>
MPEG::MP3Info is a Perl module to manipulate / fetch info from MP3 audio files.
This is just a wrapper around MP3::Info now.
A wrapper module is included so scripts calling MPEG::MP3Info (the old name) will still work.
This archive can always be obtained from:
http://sf.net/projects/pudge/
http://www.cpan.org/authors/id/CNANDOR/
http://www.cpan.org/modules/by-module/MP3/
<<lessThis is just a wrapper around MP3::Info now.
A wrapper module is included so scripts calling MPEG::MP3Info (the old name) will still work.
This archive can always be obtained from:
http://sf.net/projects/pudge/
http://www.cpan.org/authors/id/CNANDOR/
http://www.cpan.org/modules/by-module/MP3/
Download (0.094MB)
Added: 2006-11-09 License: Perl Artistic License Price:
1083 downloads
MPEG::LibMPEG3 0.01
MPEG::LibMPEG3 is a Perl interface to libmpeg3 module. more>>
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
<<lessSYNOPSIS
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
Download (0.40MB)
Added: 2006-11-16 License: Perl Artistic License Price:
1078 downloads
MPEG::ID3v2Tag 0.37
MPEG::ID3v2Tag is a Perl module that parses and creates ID3v2 Tags for MPEG audio files. more>>
MPEG::ID3v2Tag is a Perl module that parses and creates ID3v2 Tags for MPEG audio files.
SYNOPSIS
use MPEG::ID3v2Tag ;
use IO::File ;
# create a tag
$tag = MPEG::ID3v2Tag->new() ;
$tag->add_frame("TIT2", "Happy Little Song") ; # one step
$frame = MPEG::ID3Frame::TALB->new("Happy little album") ;
$tag->add_frame($frame) ; # two steps
$tag->add_frame("WCOM", "http://www.mp3.com") ;
$tag->add_frame("APIC", -picture_type => 0, -file => "happy_little_song.gif");
.....
$tag->set_padding_size(256) ;
print OUTFILE $tag->as_string() ;
# read a tag from a file and dump out some data.
$fh = IO::File->new(" binmode $fh;
$tag = MPEG::ID3v2Tag->parse($fh) ;
foreach $frame ($tag->frames()) {
print $frame->frameid(), "n" ; # prints TALB, TIT2, WCOM, etc.
if ($frame->flag_read_only()) {
print " read onlyn" ;
}
if ($frame->fully_parsed() && $frame->frameid =~ /^T.../) {
print " frame text is ", $frame->text(), "n" ;
}
if ($frame->fully_parsed() && $frame->frameid =~ /^W.../) {
print " url is ", $frame->url(), "n" ;
}
}
MPEG::ID3v2Tag is a class capable of parsing and creating ID3v2 revision 3 tags. While not all frames are fully supported, its easy to add support for more.
The object doesnt (currently) support modification of .mp3 files; the caller has to handle the mechanics of prepending the tag to the file.
<<lessSYNOPSIS
use MPEG::ID3v2Tag ;
use IO::File ;
# create a tag
$tag = MPEG::ID3v2Tag->new() ;
$tag->add_frame("TIT2", "Happy Little Song") ; # one step
$frame = MPEG::ID3Frame::TALB->new("Happy little album") ;
$tag->add_frame($frame) ; # two steps
$tag->add_frame("WCOM", "http://www.mp3.com") ;
$tag->add_frame("APIC", -picture_type => 0, -file => "happy_little_song.gif");
.....
$tag->set_padding_size(256) ;
print OUTFILE $tag->as_string() ;
# read a tag from a file and dump out some data.
$fh = IO::File->new(" binmode $fh;
$tag = MPEG::ID3v2Tag->parse($fh) ;
foreach $frame ($tag->frames()) {
print $frame->frameid(), "n" ; # prints TALB, TIT2, WCOM, etc.
if ($frame->flag_read_only()) {
print " read onlyn" ;
}
if ($frame->fully_parsed() && $frame->frameid =~ /^T.../) {
print " frame text is ", $frame->text(), "n" ;
}
if ($frame->fully_parsed() && $frame->frameid =~ /^W.../) {
print " url is ", $frame->url(), "n" ;
}
}
MPEG::ID3v2Tag is a class capable of parsing and creating ID3v2 revision 3 tags. While not all frames are fully supported, its easy to add support for more.
The object doesnt (currently) support modification of .mp3 files; the caller has to handle the mechanics of prepending the tag to the file.
Download (1.6MB)
Added: 2006-11-16 License: Perl Artistic License Price:
1074 downloads
FmpegPlayer 0.1.31
FmpegPlayer is an MP3/MPEG/audio CD player for Linux. more>>
FmpegPlayer is an MP3/MPEG/audio CD player for Linux. It combines smpeg, SDL, mpg123, and gtkhtml in an original way. It contains a built-in browser for radio channels from shoutcast.com, allowing you to listen to a channel directly in your player with a single click.
There is also a "jukebox" function that allows you to queue up files in a secondary playlist. The songs in the jukebox-list will be played and then removed from the jukebox-playlist, but they will remain in the original playlist. Other features are: CDDB-support for audio CDs, a track editor for audio CDs, a 16-band graphical EQ, and a dockable applet.
<<lessThere is also a "jukebox" function that allows you to queue up files in a secondary playlist. The songs in the jukebox-list will be played and then removed from the jukebox-playlist, but they will remain in the original playlist. Other features are: CDDB-support for audio CDs, a track editor for audio CDs, a 16-band graphical EQ, and a dockable applet.
Download (0.20MB)
Added: 2006-07-18 License: GPL (GNU General Public License) Price:
1196 downloads
MPEG-2 Video Tools 0.1
mpeg2videotools is a C library and set of tools for encoding, decoding, verification and analysis of MPEG-2 video. more>>
mpeg2videotools is a C library and set of tools for encoding, decoding, verification and analysis of MPEG-2 video. It supports 422 Profile and High Profile bitstreams. A PSNR tool is included for comparing uncompressed video to encoded MPEG-2 video.
The library will provide a C API and be implemented in C. Platforms supported will be popular Unices and Linux, MS Windows and MacOSX. autoconf and automake will be used to achieve portability for most platforms. Decoded bitstreams will be displayed using X11 server for Unix and native Windows API for MS Windows.
Included is an encoder and decoder application which are useful for creating compliant bitstreams and decoding and verifying MPEG-ES, MPEG-PS, MPEG-PES and MPEG-TS bitstreams.
A number of important improvements over the original SSG code have already been made:
display on TrueColor visuals (16, 24, 32 bit displays)
decoding of MPEG-TS streams
decoding of broken streams which do not start with a required start code
autoconf build
MS Windows display
a library API to enable its use in other projects (ImageMagick and the AAF SDK come to mind)
MIAMI is an MPEG-2 video codec library which aims to be a complete implementation of the ISO/IEC 13812-2:2000 standard. The priority is completeness and correctness rather than speed. Included is an encoder and a decoder for MPEG-ES,PS,PES,TS bitstreams.
Enhancements:
- changed function decs to ANSI style
- added const qualifier to suitable function args
<<lessThe library will provide a C API and be implemented in C. Platforms supported will be popular Unices and Linux, MS Windows and MacOSX. autoconf and automake will be used to achieve portability for most platforms. Decoded bitstreams will be displayed using X11 server for Unix and native Windows API for MS Windows.
Included is an encoder and decoder application which are useful for creating compliant bitstreams and decoding and verifying MPEG-ES, MPEG-PS, MPEG-PES and MPEG-TS bitstreams.
A number of important improvements over the original SSG code have already been made:
display on TrueColor visuals (16, 24, 32 bit displays)
decoding of MPEG-TS streams
decoding of broken streams which do not start with a required start code
autoconf build
MS Windows display
a library API to enable its use in other projects (ImageMagick and the AAF SDK come to mind)
MIAMI is an MPEG-2 video codec library which aims to be a complete implementation of the ISO/IEC 13812-2:2000 standard. The priority is completeness and correctness rather than speed. Included is an encoder and a decoder for MPEG-ES,PS,PES,TS bitstreams.
Enhancements:
- changed function decs to ANSI style
- added const qualifier to suitable function args
Download (0.15MB)
Added: 2006-07-28 License: GPL (GNU General Public License) Price:
1199 downloads
MPEG::Audio::Frame 0.09
MPEG::Audio::Frame is a class for weeding out MPEG audio frames out of a file handle. more>>
MPEG::Audio::Frame is a class for weeding out MPEG audio frames out of a file handle.
SYNOPSIS
use MPEG::Audio::Frame;
open FILE,"file.mp3";
while(my $frame = MPEG::Audio::Frame->read(*FILE)){
print $frame->offset(), ": ", $frame->bitrate(), "Kbps/", $frame->sample()/1000, "KHzn"; # or something.
}
A very simple, pure Perl module which allows parsing out data from mp3 files, or streams, and chunking them up into different frames. You can use this to accurately determine the length of an mp3, filter nonaudio data, or chunk up the file for streaming via datagram. Virtually anything is possible.
<<lessSYNOPSIS
use MPEG::Audio::Frame;
open FILE,"file.mp3";
while(my $frame = MPEG::Audio::Frame->read(*FILE)){
print $frame->offset(), ": ", $frame->bitrate(), "Kbps/", $frame->sample()/1000, "KHzn"; # or something.
}
A very simple, pure Perl module which allows parsing out data from mp3 files, or streams, and chunking them up into different frames. You can use this to accurately determine the length of an mp3, filter nonaudio data, or chunk up the file for streaming via datagram. Virtually anything is possible.
Download (0.35MB)
Added: 2006-06-19 License: Perl Artistic License Price:
1222 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
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 mpeg 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