perkley
asked on
Playing Vorbis OGG files?
Vorbis: http://www.vorbis.com/index.psp
How can I play it in Delphi 5. I looked around a little bit, and found some tgz files to download, but not sure what I should download and where to really start.
I wonder if anyone has already checked them out and made a basic player in Delphi and could help me out.
How can I play it in Delphi 5. I looked around a little bit, and found some tgz files to download, but not sure what I should download and where to really start.
I wonder if anyone has already checked them out and made a basic player in Delphi and could help me out.
perkley, I would be interested to see any files/components you find :0
felonious
felonious
There are two SDK's I have used which both (apparently) support OGG/Vorbis.
One is Xaudio (http://www.xaudio.com), which I really like. My MP3 player is based around that. It doesnt natively support OGG but there is a plugin which can be found at http://www.xavorbis.n3.net/
The other SDK is FMOD. It supports a whole whack of different formats, one of which being OGG. It can be found at http://fmod.org
I have used both these SDK's to play MP3 files, and both are excellent at that, but I havent personally used either to play OGG files since I am waiting for the format to be finalized before trying it out.
One is Xaudio (http://www.xaudio.com), which I really like. My MP3 player is based around that. It doesnt natively support OGG but there is a plugin which can be found at http://www.xavorbis.n3.net/
The other SDK is FMOD. It supports a whole whack of different formats, one of which being OGG. It can be found at http://fmod.org
I have used both these SDK's to play MP3 files, and both are excellent at that, but I havent personally used either to play OGG files since I am waiting for the format to be finalized before trying it out.
ASKER
MannSoft, I also use XAudio. I downloaded the plug-in, but I am not sure how to use it. I also have the latest Vorbis SDK and put all of the .dlls in my project folder with the XAudio.dll. My player plays .mp3's fine, but it still won't play .OGG files. What must I do for Xaudio to recognize the OGG plugin?
I honestly dont know. Like I said I havent used it. I would imagine you call InputModuleRegister but aside from that I dont know. But the guy hosting the file said he uses it and can ask him for help, so I would suggest doing that.
ASKER
I will talk to the guy then. I have already tried the InputModuleRegister, but nothing seems to be playing still.
ASKER
The email that is listed on the Xaudio plugin page does not seem to be responding back to me. I will not accept an answer until someone can tell me how to play Vorbis .ogg files. Preferrably Xaudio.
Did you ask Viorel for help?
ASKER
Yes I asked Viorel also, and he said that his conversion wasn't that great and that his help wasn't the best.
ASKER
I need the basic functions to play vorbis .ogg easily. I tried fmod and it is to much for what I am wanting. I need a TMediaplayer style component or something that I can just say Vorbis.play, vorbis.stop, vorbis.startpos, endpos, pause, and repeat.
I have raised the points on whoever can help me play .ogg files easily.
I have raised the points on whoever can help me play .ogg files easily.
ASKER
Thanks anyway, I guess nothing is out there yet. Maybe I will have to build my own component.
Did you ever create your own OGG component or know of one yet?
ASKER
Yes, Matthijs Laan has done some header conversion for Vorbis OGG.
Website:
http://www.delphi-jedi.org/Jedi:APILIBRARY:38689
Download:
ftp://delphi-jedi.org/api/OggVorbis.zip
Website:
http://www.delphi-jedi.org/Jedi:APILIBRARY:38689
Download:
ftp://delphi-jedi.org/api/OggVorbis.zip
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I know that he worked on an OggVorbis conversion.