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 34.256.674 Times

Ogg::Vorbis::Header 0.03

  Date Added: July 08, 2010  |  Visits: 1.077


Report Broken Link
Printer Friendly Version

Product Homepage
Download (201 downloads)

Ogg::Vorbis::Header is an object-oriented interface to Ogg Vorbis information and comment fields. SYNOPSIS use Ogg::Vorbis::Header; my $ogg = Ogg::Vorbis::Header->new("song.ogg"); while (my ($k, $v) = each %{$ogg->info}) { print "$k: $vn"; } foreach my $com ($ogg->comment_tags) { print "$com: $_n" foreach $ogg->comment($com); } $ogg->add_comments("good", "no", "ok", "yes"); $ogg->delete_comment("ok"); $ogg->write_vorbis; This module presents an object-oriented interface to Ogg Vorbis files which allows user to view Vorbis info and comments and to modify or add comments. CONSTRUCTORS new ($filename) Partially opens an Ogg Vorbis file to ensure it exists and is actually a Vorbis stream. It then closes the filehandle. It does not fill in the objects data fields. These fields will be automatically filled the first time they are accessed using the objects instance methods. Returns undef if there is a problem opening the file or the file is not valid Ogg Vorbis. load ([$filename]) Opens an Ogg Vorbis file, reads its information, and then closes the filehandle. Returns undef if there is a problem opening the file or the file is not valid Ogg Vorbis. This is both a constructor and an instance method. The filename is required in constructor context, but should be left out when you call this as an instance method on an object. When called as an instance method, it (re)loads the info and comment data from the file. This can be used to reset the state of the object if write_vorbis hasnt been called. Note that the path parameter is ignored in instance context. INSTANCE METHODS These methods may be called on actual Header objects, using the -> operator or indirect objects as you prefer. info ([$key]) Returns a reference to a hash containing format information about the Vorbis file. Hash fields are: version, channels, rate, bitrate_upper, bitrate_nominal, bitrate_lower, and bitrate_window, length. The bitrate_window value is currently unused by the vorbis codec. You can modify the referenced hash if you want, but I wouldnt suggest it. The optional key parameter allows you to extract a single value from the internal hash (passed by value, not reference). If the key is invalid, undef is returned. comment_tags () Returns an array holding the key values of each comment field. You can then use these values to access specific fields using comment. This may seem somewhat clunky at first but it will speed up most programs. In addition, it makes it easier to support the Ogg Vorbis comment standard which allows multiple fields with the same key. comment ($key) Returns a list of comments given a key. If the key does not exist, returns undef. add_comments ($key, $value, [$key, $value, ...]) Adds comments with the given keys and values. Takes an array of alternating keys and values as parameters. Keys and values should be valid ascii in the range 0x20 - 0x7D and the key should exclude 0x3D (=). This is a subset of the Vorbis standard which allows this range for the key field and all of utf8 for the value field. This will be fixed in future a release. If an odd-length array is passed in the routine will fail and return undef. Key and value will be trimmed of characters which do not match the format requirement. edit_comment ($key, $value, [$num]) Edits a given comment field. The optional num field is used to differentiate between two comments with the same key. If no num is supplied, the first value--as reported by comment--is modified. If the key or num are invalid, nothing is done and undef is returned. If all goes well, the old value is returned. delete_comment ($key, [$num]) Deletes the comment given by key. The optional num value can be used to specify which comment to delete, given duplicate keys. Leaving num out will result in only the first instance being deleted. Returns undef if key or num are invalid. If all goes well, the value of the deleted comment is returned. clear_comments ([@keys]) Deletes all of the comments which match keys in the input array or all of the comments in the stream if called with no arguments. Returns undef if any key is invalid, although all keys in the input array up until that key will be cleared. Returns true otherwise. write_vorbis () Write object to its backing file. No comment modifications will be seen in the file until this operation is performed. path () Returns the path/filename of the file the object represents..

Requirements: No special requirements
Platforms: Linux
Keyword: Comment File Key Libraries Object-oriented Interface Ogg Ogg Vorbis Oggvorbisheader Programming Value Vorbis Will Be
Users rating: 0/10

License: Freeware Size: 32.77 KB
More Reviews or Write Review

Libraries  -  Db::DFC 0.4
Db::DFC is the Perls Object-oriented interface to Documentums DFC. SYNOPSIS use Db::DFC; $dfc = Db::DFC->new(); $DOCBASE = "docbase"; $USER = "user"; $PASSWORD = "passwd"; $DOMAIN = "domain"; $FILE = $0; $dfclient = DfClient->new();...
81.92 KB  
Libraries  -  ASNMTAP::Asnmtap 3.000.011
ASNMTAP::Asnmtap is an object-oriented Base Class to build modules that provides a nice object oriented interface for ASNMTAP. SYNOPSIS use ASNMTAP::Asnmtap; my $objectAsnmtap = ASNMTAP::Asnmtap->new ( _programName =>,...
1.6 MB  
Libraries  -  ASNMTAP::Asnmtap::Plugins::Nagios 3.000.010
ASNMTAP::Asnmtap::Plugins::Nagios provides a nice object oriented interface for building Nagios compatible plugins. ASNMTAP::Asnmtap::Plugins::Nagios Subclass of ASNMTAP::Asnmtap::Plugins SYNOPSIS use ASNMTAP::Asnmtap::Plugins::Nagios; my...
1.6 MB  
Libraries  -  ASNMTAP::Asnmtap::Applications 3.000.009
ASNMTAP::Asnmtap::Applications is a Perl module that provides a nice object oriented interface for ASNMTAP Applications. ASNMTAP::Asnmtap::Applications Subclass of ASNMTAP::Asnmtap This version is still the old ASNMTAP Applications v3.000.001...
1.6 MB  
Libraries  -  CGI::XMLApplication 1.1.3
CGI::XMLApplication is an Object Oriented Interface for CGI Script Applications. SYNOPSIS use CGI::XMLApplication; $script = new CGI::XMLApplication; $script->setStylesheetPath( "the/path/to/the/stylesheets" ); # either this for simple...
21.5 KB  
Libraries  -  Gtk2::GladeXML::Simple 0.32
Gtk2::GladeXML::Simple is a clean object-oriented interface to Gtk2::GladeXML. SYNOPSIS package MyApp; use base qw( Gtk2::GladeXML::Simple ); sub new { my $class = shift; my $self = $class->SUPER::new( $gladefile ); return $self; }...
10.24 KB  
Development Tools  -  RNEL_DB Object Oriented Database for Matlab 1.0
RNEL_DB is an object oriented database solution for large data sets that need to be stored and/or analyzed within Matlab. It provides a transparent solution for people that currently store their data in matlab-structures.Using the RNEL_DB...
460.8 KB  
Libraries  -  Object-Oriented JNI for .NET (low-level) 3.00.07
Object-Oriented JNI for .NET (low-level), Library for .NET Framework v.1.1. Supports Standard JNI interface (SUN/IBM/MS JDK1.1.x-1.6.x) for developing and running code in C#, MCpp, VB, J#.The main features available:- JNI code can be written only...
1.36 MB  
Database Tools  -  The Object Oriented Database Kit
The Object Oriented Database Kit is a set of tools to help database applications developers to handle database communication, reporting, and printing. It has a solid, stable, and easy to use API. The project is also GUI toolkit agnostic and...
18.43 KB  
Development Editors  -  Object Oriented C 1.3
The Object Oriented C or OOC kit is designed for programers who want to develop software in an Object Oriented manner. OOC implements classes, single inheritance and exception handling. It is ideal for students that are getting to know Object...
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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