[speex-dev] RE: [speex-dev] Difference in Encoding of files on Pocket PCvis-à-vis desktop
Jean-Marc.Valin at USherbrooke.ca
Tue May 25 01:23:39 PDT 2004
Here's a couple things to look at:
1) Are you using your own encoder and decoder? If so, try with speexenc
2) Is PocketPC big endian? If so, try defining WORDS_BIGENDIAN when
3) The "This doesn't look like a Speex file" error sounds very
suspicious because it only involves looking at the first chars of the
first packet and looking for the "Speex " string. (Maybe it's a
compilation problem with libogg?)
Le mar 25/05/2004 à 03:50, Asheesh Vashishtha a écrit :
> Hello Jean-Marc,
> I encoded a 143 kb file on both the desktop as well as the Pocket PC using the default settings/
> Here are the results.
> Size : Desktop - 17.6 Kb, Pocket PC -17.1 kb (not much difference in size)
> Now when I try to decode the file encoded on the Pocket PC, I get a message
> "This doesn't look like a Speex file". However, when I decode the Pocket PC encoded file on Pocket PC, it plays fine.
> Same applies for the file encoded on the desktop. If I decode the desktop encoded file on Pocket PC, I get a completely
> broken sound that is totally indecipherable, but it plays fine when decoded on the desktop.
> Isn't it possible to decode a desktop encoded file on Pocket PC?
> Do I have to make change some settings?
> Thanks a lot for your help.
> Thanks & regards,
> -----Original Message-----
> From: Jean-Marc Valin [mailto:Jean-Marc.Valin at USherbrooke.ca]
> Sent: Monday, May 24, 2004 10:06 PM
> To: speex; Asheesh Vashishtha
> Subject: Re: [speex-dev] Difference in Encoding of files on Pocket
> PCvis-à-vis desktop
> I suspect something related to endianness or word size here. Can you
> check that the encoded files end up the same size? Also, what if you
> encode on the Pocket PC and decode on a desktop? Maybe if you encode a
> small wav file on both pocket PC and desktop using default options and
> send me the results.
> Le lun 24/05/2004 à 09:52, Asheesh Vashishtha a écrit :
> > Hi all,
> > I've created a Speex decoder for Pocket PC so that I can play Speex
> > files from within my .NET CF app.
> > But there has been a problem while playing the files on my Pocket PC.
> > I encode a wav file on the desktop using Speexenc.exe (Speex- 1.1.5)
> > and then copy this file to my Pocket PC where
> > I playback using my decoder library. But the sound quality is
> > extremely poor and completely broken.
> > I can't make a word out of the encoded speex file. However, if I
> > encode the Speex file using the code
> > on my iPAQ and playback the same file using the decoder library, I get
> > a pretty decent sound.
> > My approach is to simply bundle the encoded speex files with my
> > application since I only need to use
> > the decoding part, and play back the output to the device but somehow
> > the 2 files sound so different.
> > Is there some difference with a wav file encoded on the desktop to
> > that on the Pocket PC?
> > Can't I use the wav file encoded on the desktop directly with my
> > Pocket PC decoder?
> > I'd really appreciate if anyone could shed some light on this.
> > Thanks & regards,
> > Asheesh
Université de Sherbrooke, Québec, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040525/64b25449/signature.pgp
More information about the Speex-dev