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
Summi
Posts
-
Writing Ogg Vorbis Comments -
Writing Ogg Vorbis CommentsHello 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!
-
Parse Filenames for extracting TagsYeah, sscanf looks like the thing I need. I have to write a programme where the user can specify the structure of a file to get the tags from the filename. E.g. if you have an MP3 Files with the structure like this: "01-Pink Floyd-Dark Side Of The Moon_SPEAK TO ME.mp3" "02-Pink Floyd-Dark Side Of The Moon_breathe in the air.mp3" The user should have the possibility to enter the mask like this %t-%a_%s (or -_) the programme should now parse the filename and set the params for track album and song. I've seen a mask editor in several programmes (e.g. Tag&Rename). If you could provide me with some more codesamples, that would be great (I'm a newbie to C++). BTW, In a next step, our programme should analyze the filenames and suggest a mask by itself.
-
Parse Filenames for extracting TagsHi everybody. I'm looking for a nice algo which I can use for parsing audio-files and extracting tags. The algo should have the possibility to define the structure of the filenames via a mask and wildcards. Several programmes make use of such a method, for example Tag&Rename: http://iserver.hta.fhz.ch/~iasummer/stuff/tagrename.gif I haven't found a good and free avaiable source code for parsing files like that, so any links or general information would be great!