Audio::TagLib::Vorbis::Properties - An implementation of audio property reading for Ogg Vorbis
use Audio::TagLib::Vorbis::Properties; my $f = Audio::TagLib::Vorbis::File->("sample ogg file.ogg"); my $i = $f->audioProperties(); print $i->channels(), "\n"; # normally got 2
This reads the data from an Ogg Vorbis stream found in the AudioProperties API.
Create an instance of Vorbis::Properties with the data read from the Vorbis::File $file.
Destroys this VorbisProperties instance.
see AudioProperties
Returns the Vorbis version, currently "0" (as specified by the spec).
Returns the maximum bitrate as read from the Vorbis identification header.
Returns the nominal bitrate as read from the Vorbis identification header.
Returns the minimum bitrate as read from the Vorbis identification header.
None by default.
Audio::TagLib AudioProperties
Dongxu Ma, <dongxu@cpan.org>
Copyright (C) 2005 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
To install Audio::TagLib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Audio::TagLib
CPAN shell
perl -MCPAN -e shell install Audio::TagLib
For more information on module installation, please visit the detailed CPAN module installation guide.