[vorbis-dev] Perl modules
Ralph Giles
giles at snow.ashlu.bc.ca
Tue Oct 24 02:31:31 PDT 2000
On Tue, 24 Oct 2000, Alex Shinn wrote:
>
> As promised, I've written vorbis Perl modules (separated into an Ogg
> Vorbis module and an ao module). You can get tarballs and .debs at
>
> http://eyeofdog.org/foof/code/vorbis/
Cool!
> Ogg::Vorbis is an object oriented module based around OggVorbis_File.
> Ogg::Vorbis::Info is an accessor class to the vorbis_info struct.
> Comments are retrieved as a simple hash. Since this is based around
> libvorbisfile it can't write/encode files yet. Includes pogg (Perl
> ogg), a script for playing and for viewing comments (and eventually
> encoding and converting between formats).
A couple of comments. Ogg and Vorbis are different layers. Do you have any
plans for a separate interface to the Ogg functionality?
Also, it doesn't look like your comment parsing handles duplicate tags at
all. Maybe $oggvorbis->comment{"TAG"} should be an array reference, or
otherwise return a list? Note also that the tag names are nominally
case-insensitive.
It also warns "invalid comment" on the vender tag in position zero, but I
suspect you know that. :)
Cheers,
-ralph
--
giles at ashlu.bc.ca
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list