ogg
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 400
Dirogg 0.4
Dirogg is a simple script for migrating your entire music collection from mp3 to Ogg Vorbis (ogg). more>>
Dirogg is a simple script for migrating your entire music collection from mp3 to Ogg Vorbis (ogg).
dirogg is a recursing script, which means you run it at the top directory of your music collection, and it will take care of the rest. Enjoy!
Installation:
Just copy the "dirogg" script to a directory in your path, like /usr/local/bin.
To use, enter a directory in which you want to convert all mp3 files to ogg. It will then recurse into subdirectories and convert these files to ogg as well. Note that your mp3 files will not be removed unless you set so in.
Enhancements:
- Parallelizing support was added to process multiple files simultaneously.
<<lessdirogg is a recursing script, which means you run it at the top directory of your music collection, and it will take care of the rest. Enjoy!
Installation:
Just copy the "dirogg" script to a directory in your path, like /usr/local/bin.
To use, enter a directory in which you want to convert all mp3 files to ogg. It will then recurse into subdirectories and convert these files to ogg as well. Note that your mp3 files will not be removed unless you set so in.
Enhancements:
- Parallelizing support was added to process multiple files simultaneously.
Download (0.008MB)
Added: 2006-06-27 License: GPL (GNU General Public License) Price:
711 downloads
togg 0.2.0
togg is the simple Ogg Vorbis tag editor youve been looking for all these years. more>>
togg project is the simple Ogg Vorbis tag editor youve been looking for all these years. Its syntax is strongly modelled after id3, the command-line ID3 tag editor, in order to allow for easy mass-tagging of your audio files.
In order to work, it requires the vorbiscomment program from vorbis-tools (see http://www.xiph.org/downloads/) to be installed.
For syntax and usage information, please see the man page togg(1).
Enhancements:
- This release fixes a serious bug that would cause havoc when tagging multiple files.
<<lessIn order to work, it requires the vorbiscomment program from vorbis-tools (see http://www.xiph.org/downloads/) to be installed.
For syntax and usage information, please see the man page togg(1).
Enhancements:
- This release fixes a serious bug that would cause havoc when tagging multiple files.
Download (0.005MB)
Added: 2007-03-26 License: GPL (GNU General Public License) Price:
942 downloads
alogg 1.3.7
alogg is an Ogg/Vorbis addon library for Allegro. more>>
alogg is an Ogg/Vorbis addon library for Allegro.
alogg is a library which makes it easier to use Ogg/Vorbis streams with Allegro. It offers facilities to decode, stream, and encode Ogg/Vorbis streams, and integrates those facilities with Allegros datafile and sample loading routines.
alogg comes with a sample player, streamer, and encoder based on Allegros sound routines.
<<lessalogg is a library which makes it easier to use Ogg/Vorbis streams with Allegro. It offers facilities to decode, stream, and encode Ogg/Vorbis streams, and integrates those facilities with Allegros datafile and sample loading routines.
alogg comes with a sample player, streamer, and encoder based on Allegros sound routines.
Download (0.049MB)
Added: 2006-07-10 License: BSD License Price:
1207 downloads
Gwav2ogg 0.1
Gwav2ogg is a front-end to the ever popular Ogg encoder console application. more>>
Gwav2ogg is a front-end to the ever popular Ogg encoder console application.
Gwav2ogg is written in the GTK toolkit.
I wrote it because I like my audio files in the .ogg format verses the wav format. Please feel free to send me any comments/questions/suggestions/better website.
<<lessGwav2ogg is written in the GTK toolkit.
I wrote it because I like my audio files in the .ogg format verses the wav format. Please feel free to send me any comments/questions/suggestions/better website.
Download (0.30MB)
Added: 2006-07-10 License: GPL (GNU General Public License) Price:
1202 downloads
Autogg 0.6.0
Autogg is an Ogg player that categorizes music independently of the catalog structure. more>>
Autogg is an Ogg player that categorizes music independently of the catalog structure. Autogg started as a music player that also sorted your music and presented it in a nice list based on albums, like a jukebox. Originally it played files of the ogg vorbis format but now it has support for more formats.
Now it is sorting both mp3 and ogg files, but the playback is done by xmms, or you can use drag and drop with other players.
How to use the player (dedicated to ted)
1: click the scan button over the list to the right, select a directory wich includes .ogg files.
Tip: select / directory to get all the .ogg files in your system
2: Click on the start scan button, wait till the directory tree show up in the list.
3: Doubleclick on a track to add it to the playlist, the track will then be played when its time
<<lessNow it is sorting both mp3 and ogg files, but the playback is done by xmms, or you can use drag and drop with other players.
How to use the player (dedicated to ted)
1: click the scan button over the list to the right, select a directory wich includes .ogg files.
Tip: select / directory to get all the .ogg files in your system
2: Click on the start scan button, wait till the directory tree show up in the list.
3: Doubleclick on a track to add it to the playlist, the track will then be played when its time
Download (0.18MB)
Added: 2006-07-21 License: GPL (GNU General Public License) Price:
1191 downloads
dvdtoogg 0.2
dvdtoogg is a script for converting the audio content of a DVD to a multi-channel Ogg Vorbis file. more>>
dvdtoogg is a script for converting the audio content of a DVD to a multi-channel Ogg Vorbis file. (From 2 to 6 channels are supported.)
dvdtoogg uses mplayer to find and extract DVD tracks, and uses oggenc to encode to a stereo or 5.1 Ogg Vorbis file.
I created this script because transcode is not able to rip in 5.1 channels I tried to keep this script as simple as possible. The script is just a simple frontend to player/oggenc.
There is nothing magic, but I spent many hours to find the clever way to do that. I hope this script will help you to save some time in converting DVD to OGG. If you like this script and/or if you have some comments/patches, email me.
<<lessdvdtoogg uses mplayer to find and extract DVD tracks, and uses oggenc to encode to a stereo or 5.1 Ogg Vorbis file.
I created this script because transcode is not able to rip in 5.1 channels I tried to keep this script as simple as possible. The script is just a simple frontend to player/oggenc.
There is nothing magic, but I spent many hours to find the clever way to do that. I hope this script will help you to save some time in converting DVD to OGG. If you like this script and/or if you have some comments/patches, email me.
Download (0.007MB)
Added: 2007-06-01 License: GPL (GNU General Public License) Price:
875 downloads
Transcogg 1.1
Transcogg software is an amarok script to shrink your files (MP3 or OGG) before copying them to your devices. more>>
Transcogg software is an Amarok script to shrink your files (MP3 or OGG) before copying them to your devices.
It reduces the quality of the tracks copied to the devices ( oggenc -q 0 )
You need a device that supports Ogg/Vorbis to benefit of this script.
You have to ask Amarok to convert file "if possible" if you want the OGG files to be reduced.
<<lessIt reduces the quality of the tracks copied to the devices ( oggenc -q 0 )
You need a device that supports Ogg/Vorbis to benefit of this script.
You have to ask Amarok to convert file "if possible" if you want the OGG files to be reduced.
Download (0.003MB)
Added: 2007-08-09 License: GPL (GNU General Public License) Price:
806 downloads
Boss Ogg 0.13.6
Boss Ogg is a server based music (ogg/mp3/flac) player. more>>
Boss Ogg is a server based music (ogg/mp3/flac) player. Written in Python/C, uses sqlite for a database backend, and xml-rpc for client/server communication. Clients are released for php, sdl and curses(geezer).
Compilation and installion are very typical for unix applications. ./configure to configure the program to your system (./configure --help will show you some flags). make will build the python modules. make install will install the program.
Enhancements:
- gcc/g++ 3.0 or greater
- Python 2.2 (http://python.org)
- Sqlite 2.8.3 (http://www.hwaci.com/sw/sqlite)
- Pysqlite 0.4.3 (http://pysqlite.sourceforge.net)
- libao 0.8.3 (http://www.xiph.org)
- libvorbis/libvorbisfile 1.0 (for Ogg Vorbis support) (http://www.vorbis.com)
- libflac 1.1.0 (for Flac support) (http://flac.sourceforge.net)
- libmad 0.15 (for MP3 support) (http://www.underbit.com/products/mad)
- libid3 3.8.3 (for id3/mp3 metadata support) (http://id3lib.sourceforge.net)
Enhancements:
- Added the port command line switch
- Fixed a bug in ConfigFile that would not reload config files properly
- Fixed the -H switch in bosync
<<lessCompilation and installion are very typical for unix applications. ./configure to configure the program to your system (./configure --help will show you some flags). make will build the python modules. make install will install the program.
Enhancements:
- gcc/g++ 3.0 or greater
- Python 2.2 (http://python.org)
- Sqlite 2.8.3 (http://www.hwaci.com/sw/sqlite)
- Pysqlite 0.4.3 (http://pysqlite.sourceforge.net)
- libao 0.8.3 (http://www.xiph.org)
- libvorbis/libvorbisfile 1.0 (for Ogg Vorbis support) (http://www.vorbis.com)
- libflac 1.1.0 (for Flac support) (http://flac.sourceforge.net)
- libmad 0.15 (for MP3 support) (http://www.underbit.com/products/mad)
- libid3 3.8.3 (for id3/mp3 metadata support) (http://id3lib.sourceforge.net)
Enhancements:
- Added the port command line switch
- Fixed a bug in ConfigFile that would not reload config files properly
- Fixed the -H switch in bosync
Download (0.33MB)
Added: 2006-07-31 License: GPL (GNU General Public License) Price:
1180 downloads
Ogg Vorbis 1.2.0
Ogg Vorbis is a fully open, non-proprietary, general-purpose compressed audio format. more>>
Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format for mid to high quality (8kHz-48.0kHz, 16+ bit, polyphonic) audio and music at fixed and variable bitrates from 16 to 128 kbps/channel.
This places Vorbis in the same competitive class as audio representations such as MPEG-4 (AAC), and similar to, but higher performance than MPEG-1/2 audio layer 3, MPEG-4 audio (TwinVQ), WMA and PAC.
Vorbis is the first of a planned family of Ogg multimedia coding formats being developed as part of Xiph.orgs Ogg multimedia project.
libVorbis is the core Ogg stream / Vorbis engine.
<<lessThis places Vorbis in the same competitive class as audio representations such as MPEG-4 (AAC), and similar to, but higher performance than MPEG-1/2 audio layer 3, MPEG-4 audio (TwinVQ), WMA and PAC.
Vorbis is the first of a planned family of Ogg multimedia coding formats being developed as part of Xiph.orgs Ogg multimedia project.
libVorbis is the core Ogg stream / Vorbis engine.
Download (1.4MB)
Added: 2007-07-26 License: GPL (GNU General Public License) Price:
832 downloads
Ogg for Java 0.1.0
Ogg for Java is an Ogg implementation in pure Java. more>>
The Ogg for Java library is a (from scratch) Java implementation of the Ogg protocol, compatible with Java 1.1 or higher.
The Ogg protocol itself is a media stream container, which can hold any type of media (for example a video stream format, audio stream format). It is also capable of multiplexing these streams (it can hold both an audio and video stream at the same time, making it possible to play back audio and video simultaniously), and also to chain (concatenate) streams. A main advantage is, that it is freely available (as a protocol), and to this date it is also patent-free.
NetMinds implementation follows the idea of free software, and is licensed under the LGPL, which basically means, You can use the software, incorporate it in commercial software unmodified. Or you can modify it and use parts of it as long as You release it back to the world under the same license.
Please note, that the Ogg protocol itself is NOT an audio or video codec, so it cannot compress video or audio data, it is only a container. If you are searching for the latter, you might want to visit Xiph.org which hosts/sponsors/advertises many open mulimedia related projects, such as Theora (an open video codec), or Vorbis (an open audio codec).
The aim of this project is to produce an easy-to-use interface to the Ogg protocol in the Java language, hiding as much internal mechanisms as possible, preserving all features on the interface. This may or may not be the philosophy you are searching for. If not, you may want to check out JOrbis which is also an implementation of the Ogg protocol (and more).
<<lessThe Ogg protocol itself is a media stream container, which can hold any type of media (for example a video stream format, audio stream format). It is also capable of multiplexing these streams (it can hold both an audio and video stream at the same time, making it possible to play back audio and video simultaniously), and also to chain (concatenate) streams. A main advantage is, that it is freely available (as a protocol), and to this date it is also patent-free.
NetMinds implementation follows the idea of free software, and is licensed under the LGPL, which basically means, You can use the software, incorporate it in commercial software unmodified. Or you can modify it and use parts of it as long as You release it back to the world under the same license.
Please note, that the Ogg protocol itself is NOT an audio or video codec, so it cannot compress video or audio data, it is only a container. If you are searching for the latter, you might want to visit Xiph.org which hosts/sponsors/advertises many open mulimedia related projects, such as Theora (an open video codec), or Vorbis (an open audio codec).
The aim of this project is to produce an easy-to-use interface to the Ogg protocol in the Java language, hiding as much internal mechanisms as possible, preserving all features on the interface. This may or may not be the philosophy you are searching for. If not, you may want to check out JOrbis which is also an implementation of the Ogg protocol (and more).
Download (0.10MB)
Added: 2005-04-14 License: LGPL (GNU Lesser General Public License) Price:
1657 downloads
cutoggvorbis 0.2
cutoggvorbis is a small and fast command line Ogg/Vorbis editor. more>>
cutoggvorbis is a small and fast command line Ogg/Vorbis editor. The project lets you select sections of an Ogg/Vorbis interactively or via a timetable and save them to separate files without quality loss. It uses ogg123 for playback and even works with files bigger than 2GB.
For KDE you can copy cutoggvorbis.desktop to ${KDEDIR}/share/apps/konqueror/servicemenus.
I am looking for someone to write a simple GUI for KDE or whatever!
It just needs to replace keystrokes with buttons for clicking, thats all.
Enhancements:
- An error at the beginning of the output file has been fixed, unfinished files can now be edited, and a leap in time detection while seeking has been added.
- Backward seeking is now five times faster.
- Code cleanups have been made.
<<lessFor KDE you can copy cutoggvorbis.desktop to ${KDEDIR}/share/apps/konqueror/servicemenus.
I am looking for someone to write a simple GUI for KDE or whatever!
It just needs to replace keystrokes with buttons for clicking, thats all.
Enhancements:
- An error at the beginning of the output file has been fixed, unfinished files can now be edited, and a leap in time detection while seeking has been added.
- Backward seeking is now five times faster.
- Code cleanups have been made.
Download (MB)
Added: 2007-04-11 License: GPL (GNU General Public License) Price:
926 downloads
Ogg Theora 1.0 Alpha7
Ogg Theora is Xiph.Orgs first publicly released video codec. more>>
Ogg Theora is Xiph.Orgs first publicly released video codec, intended for use within the Oggs projects Ogg multimedia streaming system.
Theora is derived directly from On2s VP3 codec and is a superset of VP3.
Enhancements:
- This release contains build fixes from the alpha6 release.
- There are no new features.
- The new MMX asm is enabled by default, and a problem with that same code on SELinux machines has been fixed.
<<lessTheora is derived directly from On2s VP3 codec and is a superset of VP3.
Enhancements:
- This release contains build fixes from the alpha6 release.
- There are no new features.
- The new MMX asm is enabled by default, and a problem with that same code on SELinux machines has been fixed.
Download (1.9MB)
Added: 2006-06-22 License: GPL (GNU General Public License) Price:
1228 downloads
ogg2mp3 2006-08-31
ogg2mp3 takes a list of OGG Vorbis formatted files and converts them to mp3 format. more>>
ogg2mp3 takes a list of OGG Vorbis formatted files and converts them to mp3 format. ogg2mp3 project is useful when you want to transfer OGG encoded files to a device which doesnt support the format (e.g. an iPod).
Each file specified on the command line is converted to a file with the same name except the ``.ogg at the end is replaced with ``.mp3. The new file is created in the current working directory unless otherwise specified with the --output-directory option.
By default, ogg2mp3 prints one line of output per file processed (printing it as the processing of that file starts) as follows:
processing 1 / 10 : 01_big_exit.ogg -> ./01_big_exit.mp3
Where 01_big_exit.ogg is the first of ten files to be processed (1 / 10), and the output file is called ./01_big_exit.mp3.
This behaviour can be modified using the --quiet and --verbose options.
OPTIONS:
Note that all command line options may be abbreviated to the shortest unique version, e.g. --output-directory can be shortened to -o because there are no other options beginning with -o. However, to see the version, at least --vers is required since there is also the --verbose option, thus ``vers is the shortest unique abbreviation of ``version.
--debug n
Set the debugging level to n. Ranges from 0 to 10, 10 being really verbose, 0 being just warnings (the default).
--id3-tags or --noid3-tags
Specify that you want (or not) ID3 tags to be copied into the MP3 file.
--force-overwrite
If an output .mp3 file already exists, overewrite it without prompting (the default is to skip such files and issue a warning).
--help
Show a brief command line help message and exit.
--output-directory dir
Tell ogg2mp3 to create the .mp3 files in the directorry dir instead of the current directory.
--prefix prefix
Prefix all output filenames with prefix.
--quiet
Dont print output unless there is an error.
--suffix suffix
Append suffix to all output filenames just before the .mp3 extension.
--verbose
If --quiet is not spcified, this switch increases the amount of information displayed as each file is processed. The extra information details the ID3 tags found in the source file.
--version
Print the program name and version and exit.
EXAMPLES:
Example 1
$ ogg2mp3 echo.ogg got_two_legs.ogg pripple_ipple.ogg
processing 1 / 3 : echo.ogg -> ./echo.mp3
processing 2 / 3 : got_two_legs.ogg -> ./got_two_legs.mp3
processing 3 / 3 : pripple_ipple.ogg -> ./pripple_ipple.mp3
This command will create three new files: echo.mp3, got_two_legs.mp3, and pripple_ipple.mp3 in mp3 format in the current directory.
Example 2
$ ogg2mp3 -o /media/ipod my_song.ogg
processing 1 / 1 : my_song.ogg -> /media/ipod/my_song.mp3
This command creates the file my_song.mp3 in the directory /media/ipod.
Example 3
$ ls *.ogg
track_01.ogg track_02.ogg track_03.ogg
$ ogg2mp3 -o /tmp --verbose *.ogg
processing 1 / 3 : track_01.ogg -> /tmp/track_01.mp3
ID3 Tags:
album => Frengers
artist => Mew
date => 2003
genre => Pop
title => Am I Wry? No
tracknumber => 1
processing 2 / 3 : track_02.ogg -> /tmp/track_02.mp3
ID3 Tags:
album => Frengers
artist => Mew
date => 2003
genre => Pop
title => 156
tracknumber => 2
processing 3 / 3 : track_03.ogg -> /tmp/track_03.mp3
ID3 Tags:
album => Frengers
artist => Mew
date => 2003
genre => Pop
title => Snow Brigade
tracknumber => 3
As you can see, adding the --verbose option turns on display of ID3 tags.
<<lessEach file specified on the command line is converted to a file with the same name except the ``.ogg at the end is replaced with ``.mp3. The new file is created in the current working directory unless otherwise specified with the --output-directory option.
By default, ogg2mp3 prints one line of output per file processed (printing it as the processing of that file starts) as follows:
processing 1 / 10 : 01_big_exit.ogg -> ./01_big_exit.mp3
Where 01_big_exit.ogg is the first of ten files to be processed (1 / 10), and the output file is called ./01_big_exit.mp3.
This behaviour can be modified using the --quiet and --verbose options.
OPTIONS:
Note that all command line options may be abbreviated to the shortest unique version, e.g. --output-directory can be shortened to -o because there are no other options beginning with -o. However, to see the version, at least --vers is required since there is also the --verbose option, thus ``vers is the shortest unique abbreviation of ``version.
--debug n
Set the debugging level to n. Ranges from 0 to 10, 10 being really verbose, 0 being just warnings (the default).
--id3-tags or --noid3-tags
Specify that you want (or not) ID3 tags to be copied into the MP3 file.
--force-overwrite
If an output .mp3 file already exists, overewrite it without prompting (the default is to skip such files and issue a warning).
--help
Show a brief command line help message and exit.
--output-directory dir
Tell ogg2mp3 to create the .mp3 files in the directorry dir instead of the current directory.
--prefix prefix
Prefix all output filenames with prefix.
--quiet
Dont print output unless there is an error.
--suffix suffix
Append suffix to all output filenames just before the .mp3 extension.
--verbose
If --quiet is not spcified, this switch increases the amount of information displayed as each file is processed. The extra information details the ID3 tags found in the source file.
--version
Print the program name and version and exit.
EXAMPLES:
Example 1
$ ogg2mp3 echo.ogg got_two_legs.ogg pripple_ipple.ogg
processing 1 / 3 : echo.ogg -> ./echo.mp3
processing 2 / 3 : got_two_legs.ogg -> ./got_two_legs.mp3
processing 3 / 3 : pripple_ipple.ogg -> ./pripple_ipple.mp3
This command will create three new files: echo.mp3, got_two_legs.mp3, and pripple_ipple.mp3 in mp3 format in the current directory.
Example 2
$ ogg2mp3 -o /media/ipod my_song.ogg
processing 1 / 1 : my_song.ogg -> /media/ipod/my_song.mp3
This command creates the file my_song.mp3 in the directory /media/ipod.
Example 3
$ ls *.ogg
track_01.ogg track_02.ogg track_03.ogg
$ ogg2mp3 -o /tmp --verbose *.ogg
processing 1 / 3 : track_01.ogg -> /tmp/track_01.mp3
ID3 Tags:
album => Frengers
artist => Mew
date => 2003
genre => Pop
title => Am I Wry? No
tracknumber => 1
processing 2 / 3 : track_02.ogg -> /tmp/track_02.mp3
ID3 Tags:
album => Frengers
artist => Mew
date => 2003
genre => Pop
title => 156
tracknumber => 2
processing 3 / 3 : track_03.ogg -> /tmp/track_03.mp3
ID3 Tags:
album => Frengers
artist => Mew
date => 2003
genre => Pop
title => Snow Brigade
tracknumber => 3
As you can see, adding the --verbose option turns on display of ID3 tags.
Download (0.010MB)
Added: 2006-09-26 License: GPL (GNU General Public License) Price:
684 downloads
ram2ogg 2005-11-17
ram2ogg uses xine to download the audio from a real audio URL and uses oggenc to convert this to a ogg vorvis audio file. more>>
ram2ogg project uses xine to download the audio from a real audio URL and uses oggenc to convert this to a ogg vorvis audio file.
OPTIONS:
-D level
Print diagnostic messages while executing. The value of level must be an integer. The higher the number, the more verbose the diagnostic output will be.
--help or -h
Print the command line syntax an option details.
-v
Print the program description and version.
-o filename
Save the results in filename. By default the basename of the requested URL is use with ``.ram turned into ``.ogg.
-q n
Set the ogg quality. This is a value between 0 and 10, where 10 is the best quality/largest files, and 0 is the worst quality/smallest files. The default is 3. Note that using higher values isnt going to help very much -- real audio compression is typically pretty aggressive and the quality isnt that great.
<<lessOPTIONS:
-D level
Print diagnostic messages while executing. The value of level must be an integer. The higher the number, the more verbose the diagnostic output will be.
--help or -h
Print the command line syntax an option details.
-v
Print the program description and version.
-o filename
Save the results in filename. By default the basename of the requested URL is use with ``.ram turned into ``.ogg.
-q n
Set the ogg quality. This is a value between 0 and 10, where 10 is the best quality/largest files, and 0 is the worst quality/smallest files. The default is 3. Note that using higher values isnt going to help very much -- real audio compression is typically pretty aggressive and the quality isnt that great.
Download (0.004MB)
Added: 2006-09-26 License: GPL (GNU General Public License) Price:
1124 downloads
Ogg::Vorbis::Header 0.03
Ogg::Vorbis::Header is an object-oriented interface to Ogg Vorbis information and comment fields. more>>
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.
<<lessSYNOPSIS
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.
Download (0.032MB)
Added: 2007-05-12 License: Perl Artistic License Price:
901 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 ogg 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