[vorbis-dev] Adding Comments to OGG files
volsung at mailsnare.net
Tue Feb 4 08:41:17 PST 2003
vorbisfile is a read-only API. It does not support making modifications
to Ogg files and resaving them. You should look at vorbiscomment in the
vorbis-tools package for an example of how to modify the comments on an
existing Ogg file. vcedit.c and vcedit.h show how to do that.
<p>On Tue, 2003-02-04 at 10:24, Dustin Smith wrote:
> Hello all. I have been trying to add comments to OGG files, without much success.
> If anyone is familiar with this process, I would appreciate any insight into why
> this code may not be working:
> FILE *fp;
> OggVorbis_File ovFile;
> vorbis_comment *commie;
> vorbis_comment_add_tag(commie,"TRACK","TRACK NAME");
> vorbis_comment_add_tag(commie,"ARTIST","ARTIST NAME");
> Using similar commands, I am able to read the comments from the OGG file. However,
> the above apparently does nothing permanent to the open OGG comment structure.
> Thank you,
> --- >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.
<p>--- >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