[speex-dev] RE: [speex-dev] Difference in Encoding of files on Pocket PCvis-à-vis desktop

Asheesh Vashishtha asheesh.vashishtha at grapecity.com
Tue May 25 00:50:26 PDT 2004



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,
Asheesh

<p><p>-----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

<p>Hi,

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.

        Jean-Marc

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
> 

-- 
Jean-Marc Valin
http://www.xiph.org/~jm/
LABORIUS
Université de Sherbrooke, Québec, Canada
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Speex-dev mailing list