Writing Ogg Vorbis Comments
-
Hello I'm programming a universal audio tagger for windows. I'm looking for an easy to understand code example for writing Ogg Vorbis comments in C++. I've already implemented LibVorbis 1.0.1 and I'm using OggVorbis_File to Read the comments. (No problem there) Unfortunately I was unable to find a good code example of how to use the LibVorbis library to Write Vorbis comments. I think I have to use something like vorbis_comment_add(...), but I have no clue how to do it. Any help is very welcome!
-
Hello I'm programming a universal audio tagger for windows. I'm looking for an easy to understand code example for writing Ogg Vorbis comments in C++. I've already implemented LibVorbis 1.0.1 and I'm using OggVorbis_File to Read the comments. (No problem there) Unfortunately I was unable to find a good code example of how to use the LibVorbis library to Write Vorbis comments. I think I have to use something like vorbis_comment_add(...), but I have no clue how to do it. Any help is very welcome!
-
Take a look at XIPH - Vorbis Ogg Documentation[^]. Always ask Google first.
-
Unfortunately I had a very good look at the documentation and spent a whole day searching with google, but was still unable to find a good C++ example for implementing Write-Functions with LibVorbis! Any more help would be great! Thanks
Ask on a Ogg specific mailing lists. You are more likely to find someone who knows what how to do this there. Show them what you have tried, so they can point out what you are doing wrong. Your first question looks like someone who didn't read the book, and that will make them mad. Your second question makes it clear that you read the book (the right one?), so the book needs to be fixed. Before doing that though, try it. Write a somple C program, and try calling that function with all the options you can think of to see what happens. Then look at the results elsewhere to see what really happened.