illiminable
2004-Aug-06 15:02 UTC
[speex-dev] Error in compiling Speexdec code(Speex-1.1.5code)onWindows usingVC++6.0
Re: [speex-dev] Error in compiling Speexdec code (Speex-1.1.5 code)onWindows
usingVC++6.0Actually one thing i should point out if you do decide to go this
route.... currently my demuxer builds a seek table, which could potentially be a
bit of a memory hog on a small device... though when i get around to adding the
networking code, i will have to use my bisection seek code, so the use of the
seek table would beome optional.Though on an average 5 meg file, the seek table
is around 20k. But on big files it could get quite large.
Zen
----- Original Message -----
From: illiminable
To: speex-dev@xiph.org
Sent: Friday, May 14, 2004 7:04 PM
Subject: Re: [speex-dev] Error in compiling Speexdec
code(Speex-1.1.5code)onWindows usingVC++6.0
<p> If you use directshow on CE, that should give the ability to play
most files that can be played on normal windows platform... i haven't used
it much as i don't have a pocketpc to play with, but here is a good place to
start (URL may get broken)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceoak40/html/_cooriDirectShowOverview.asp
If your player is based on directshow it should be able to use my filters
pretty easily. Also wrt to mp3, my understanding could be wrong but if you use
the mp3 components in directshow the royalty has already been paid by microsoft,
so that shouldn't be an issue (i am not a lawyer though !) though if
it's for philosophical reasons then yeah open - source is nice.
I have no specific implementation for pocketpc, but from what i understand the
CE version exposes most of the same stuff, and i know i've seen the docs for
most of the functions i use in the ce docs when searching. But like i say,
i'm not 100% sure that they are completely compatible as i don't have
one to test with.
You could maybe try the microsoft newsgroups for directshow to see if someone
knows for sure.
Zen.
----- Original Message -----
From: Asheesh Vashishtha
To: speex-dev@xiph.org
Sent: Friday, May 14, 2004 6:28 PM
Subject: Re: [speex-dev] Error in compiling Speexdec code
(Speex-1.1.5code)onWindows usingVC++6.0
<p> Thanks a lot Zen. Basically I'm trying to create a Speex
decoder for Pocket PC. Actually I've already implemented an application
for (talking phrasebook) Pocket PC using .NET CF. Now in that app I'm
using XAudio MP3 decoder to play MP3 files from within my application.
My doesn't have a player GUI, I'm just using the MP3 decoder
programmatically from within my app.
Now since MP3 have licensing issues, I'm trying to resort to an
open-source format that would be useful in the long run.
Moreover, MP3 is better suited for audio while Speex is better for speech,
which is my primary objective.
So, I'm trying to create a Speex decoder, which would play my Speex
files bundled with my application in a similar manner that of the MP3 files.
Speex would not only be an licensing free investment but will also cut down on
the file size vis-à-vis MP3.
If you have any such implementation w.r.t Speex for Pocket PC that I can
programmatically manage from within my app, it'd be simply great. Any
pointers on Speex decoders for Pocket PC and Palm would be simply great.
Thanks & regards,
Asheesh
<p><p><p>--- >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@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Hello. I have generated a dll out of speex-1.1.4 using VC++6. I did not want all the ogg/wave header in the encoded stream. So I have replaced to codes of speexenc/dec with that of sampleenc/dec from the manual. Thus now the dll accepts the raw input, encodes it and returns the encoded data. I also pass on nbBytes for each frame encoded to the decoder and no other information. I intialise the encoder in wb mode, put VAD on in encoder using speex_encoder_ctl. And also set all the other parameters such as quality, comp, etc. In the decoder I found only two controls, one for mode and other for speech enhancement. Thus I set those. Now when I compile and run this dll with a test program. Every thing seems to be working fine but VAD is not coming ON. Why is it so? Also I have noticed a peculiar behavior that when I blow into the mike, VAD comes on. No matter how loudly I blow into it, however with no speech and complete silence VAD does not work. Kindly, help with this. I have been trying to correct it since a long time now and still have no idea about the problem. I hav tried various machines and sound cards already. - Abhishek --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Two things:
1) VAD is not perfect, don't expect too much of it
2) Try with the real speexenc/speexdec before saying something doesn't
work.
Jean-Marc
Le sam 15/05/2004 à 09:36, Abhishek Parakh a écrit :> Hello.
>
> I have generated a dll out of speex-1.1.4 using VC++6. I did not want all
the
> ogg/wave header in the encoded stream. So I have replaced to codes of
> speexenc/dec with that of sampleenc/dec from the manual. Thus now the dll
> accepts the raw input, encodes it and returns the encoded data.
>
> I also pass on nbBytes for each frame encoded to the decoder and no other
> information.
>
> I intialise the encoder in wb mode, put VAD on in encoder using
> speex_encoder_ctl. And also set all the other parameters such as quality,
> comp, etc. In the decoder I found only two controls, one for mode and other
> for speech enhancement. Thus I set those.
>
> Now when I compile and run this dll with a test program. Every thing seems
to
> be working fine but VAD is not coming ON. Why is it so? Also I have noticed
a
> peculiar behavior that when I blow into the mike, VAD comes on. No matter
how
> loudly I blow into it, however with no speech and complete silence VAD does
> not work.
>
> Kindly, help with this. I have been trying to correct it since a long time
now
> and still have no idea about the problem. I hav tried various machines and
> sound cards already.
>
> - Abhishek
> --- >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@xiph.org'
> containing only the word 'unsubscribe' in the body. No subject is
needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
--
Jean-Marc Valin
http://www.xiph.org/~jm/
LABORIUS
Université de Sherbrooke, Québec, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url :
http://lists.xiph.org/pipermail/speex-dev/attachments/20040516/eac90590/signature-0001.pgp