Hi, I'm a Pocket PC developer and have created a audio translator application on this platform. I currently make use of an MP3 decoder engine, but due to heavy licensing fees I'm thinking of switching over to a patent free format. Vorbis presents the best approach. I read that tremor decoder has been especially optimized for embedded devices. I'd like to make use of this and incorporate Vorbis decoder within my application. In my app I just want to decode the encoded files, and play them OutLoud. But I don't know where to begin. I'd appreciate if anyone can provide some pointers towards sample Vorbis decoder source code, and its subsequent playback to wav files. Any simple decoder code would be greatly appreciated. Has anyone implemented a Vorbis decoder on the Pocket PC platform. I'd be grateful if someone could provide me a link towards its source code. Thanks & regards, Asheesh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20040921/5164c111/attachment.html
Vorbis decoder sample code "Asheesh Vashishtha" wrote...> I'm a Pocket PC developer and have created a audio translator application > on this platform. I currently make use of > an MP3 decoder engine, but due to heavy licensing fees I'm thinking of > switching over to a patent free format. > Vorbis presents the best approach.You may want to take a look at Speex. It has the same type of licensing as Vorbis but is designed specifically to encode human speech where as Vorbis is a more general audio encoder. Atamido
Thanks for your reply, Paul, but I've already ported Speex onto PocketPC platform but considering that my earlier files were in mp3 the audio quality is ok but not comparable to that of mp3. Vorbis is even better at lower bitrates w.r.t mp3, which is why I'd like to try vorbis as well. If it sounds better than Speex than I'd go in for vorbis. Moreover, there are portions of Speex which are still perform floating point operations while tremor is a completely fixed point implementation, so would like to go for that. Can you help me in providing the source code for that. Thanks ®ards, Asheesh -----Original Message----- From: Paul Bryson [mailto:paul@msn.com] Sent: Tuesday, September 21, 2004 8:04 PM To: Asheesh Vashishtha Subject: Re: Vorbis decoder sample code Vorbis decoder sample code "Asheesh Vashishtha" wrote...> I'm a Pocket PC developer and have created a audio translator application > on this platform. I currently make use of > an MP3 decoder engine, but due to heavy licensing fees I'm thinking of > switching over to a patent free format. > Vorbis presents the best approach.You may want to take a look at Speex. It has the same type of licensing as Vorbis but is designed specifically to encode human speech where as Vorbis is a more general audio encoder. Atamido
On Tue, Sep 21, 2004 at 07:21:41PM +0530, Asheesh Vashishtha wrote:> I read that tremor decoder has been especially optimized for embedded devices. I'd like to make use of > this and incorporate Vorbis decoder within my application. > In my app I just want to decode the encoded files, and play them OutLoud. > But I don't know where to begin. I'd appreciate if anyone can provide some pointers towards > sample Vorbis decoder source code, and its subsequent playback to wav files. > Any simple decoder code would be greatly appreciated.The latest tremor code is in (subversion) revision control at http://svn.xiph.org/branches/lowmem-branch/Tremor/ This is a webdav url; you can mount it directly if you don't want to fiddle with svn.> Has anyone implemented a Vorbis decoder on the Pocket PC platform. I'd be grateful if someone could provide > me a link towards its source code.Oh probably, but the included ivorbisfile_example code should be enough to get you started. Not that Tremor has some arm optimizations, but not really anything else at this point. Hope that helps, -r
On Tue, 21 Sep 2004, Ralph Giles wrote:> Oh probably, but the included ivorbisfile_example code should be enough > to get you started. Not that Tremor has some arm optimizations, but not > really anything else at this point.Tremor actually does have ARM optimizations already. They require gcc to be used though. Nicolas
Hello all, I'm trying to create Vorbis tremor decoder using tremor library, but the example I'm following is of the code written in oggdec.c. However in tremor files, I also found a ivorbisfile_example.c file as well. There is quite a bit of difference in the implementation of the 2 decoders I believe. I'm not sure about this since I'm just getting started with it. Please help as I'm not able to compile the oggdec sample with tremor library. is oggdec based on libvorbis, and the other example based on tremor library? Am I doing something wrong? Any help would be deeply appreciated? I'm using eVC++ 4.0 to compile the vorbis decoder for Pocket PC. Regards, Asheesh -----Original Message----- From: Asheesh Vashishtha Sent: Tuesday, September 21, 2004 8:28 PM To: 'vorbis-dev@xiph.org' Subject: RE: Vorbis decoder sample code Thanks for your reply, Paul, but I've already ported Speex onto PocketPC platform but considering that my earlier files were in mp3 the audio quality is ok but not comparable to that of mp3. Vorbis is even better at lower bitrates w.r.t mp3, which is why I'd like to try vorbis as well. If it sounds better than Speex than I'd go in for vorbis. Moreover, there are portions of Speex which are still perform floating point operations while tremor is a completely fixed point implementation, so would like to go for that. Can you help me in providing the source code for that. Thanks ®ards, Asheesh -----Original Message----- From: Paul Bryson [mailto:paul@msn.com] Sent: Tuesday, September 21, 2004 8:04 PM To: Asheesh Vashishtha Subject: Re: Vorbis decoder sample code Vorbis decoder sample code "Asheesh Vashishtha" wrote...> I'm a Pocket PC developer and have created a audio translator application > on this platform. I currently make use of > an MP3 decoder engine, but due to heavy licensing fees I'm thinking of > switching over to a patent free format. > Vorbis presents the best approach.You may want to take a look at Speex. It has the same type of licensing as Vorbis but is designed specifically to encode human speech where as Vorbis is a more general audio encoder. Atamido
Hi, I've managed to compile the oggdec sample using tremor library after ironing out the VC++ issues, thanks to you all guys. The oggdec doesn't decode the input ogg file properly. For a 27kb ogg file, it just outputs a 1kb wav file, and that too corrupt. No sound, and nothing. I checked up with the code as well, and it runs fine without any error but at the end of the decoding cycle, a corrupted wav file is produced. Has anyone else faced this problem? I'd appreciate any help in this regard. Thanks & regards, Asheesh -----Original Message----- From: vorbis-dev-bounces@xiph.org [mailto:vorbis-dev-bounces@xiph.org]On Behalf Of Dominik Kuhlen Sent: Wednesday, September 22, 2004 1:31 PM To: vorbis-dev@xiph.org Subject: Re: [Vorbis-dev] RE: Vorbis decoder sample code Hi, On Wednesday 22 September 2004 09:15, Asheesh Vashishtha wrote:> Hello all, > > I'm trying to create Vorbis tremor decoder using tremor library, but the > example I'm following is of the code written in oggdec.c. > However in tremor files, I also found a ivorbisfile_example.c file as well. > > There is quite a bit of difference in the implementation of the 2 decoders > I believe. I'm not sure about this since I'm just getting started with it. > Please help as I'm not able to compile the oggdec sample with tremor > library. is oggdec based on libvorbis, and the other example based on > tremor library? Am I doing something wrong? Any help would be deeply > appreciated?ivorbisfile_example.c is shipped with tremor source code. This is probably the most simple decoder, hence the best to start with.> > I'm using eVC++ 4.0 to compile the vorbis decoder for Pocket PC.Hmm, I don't know much about this but using a gcc would cause fewer headaches (my experience with symbian-emulator using vc++). Dominik _______________________________________________ Vorbis-dev mailing list Vorbis-dev@xiph.org http://lists.xiph.org/mailman/listinfo/vorbis-dev
Seemingly Similar Threads
- Fatal end of line errors occur when trying to compile libspeex in eVC++ 3.0 or 4.0
- RE: Difference in Encoding of files on Pocket PCvis-à-vis desktop
- Error in compiling Speexdec code (Speex-1.1.5 code)onWindows usingVC++6.0
- FLAC: players for Pocket PC
- Difference in Encoding of files on Pocket PC vis-à-vis desktop