Displaying 5 results from an estimated 5 matches for "bourokba".
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
I found out something:
The more frames I decode before the frame that I actually want to
decode, the better the quality becomes.
For example when I basically want to decode frame #100, I read frame #80
to #100, and then frame 100 has the quality that I need.
Why? Is there any information on this behaviour?
Thank you.
Hermann
Am 23.12.2011 18:37, schrieb Hermann Weber:
> It would be nice
2011 Dec 21
3
Decoding only a certain frame results in different values than when decoding the entire file
...for (j=0;j<160;j++) DoutBuf[j+(i*160)] = output[j];
}
return 43;
}
Btw, just if you wondering what I am doing... I am feeding (62 *
NumberOfFramesThatIWantToRead) bytes from VB6 and return it as a float
array.
Greetings,
Hermann
Am 21.12.2011 15:26, schrieb Lakhdar Bourokba:
> Hi Hermann,
> Could it be your decoder state memory that is not longer sync ?
> When a decoder processes a frame, it uses that frame and its memory
state (affected by the previous frames) to generate the output samples.
If you skip the previous frames, the decoder state memory will...
2011 Dec 23
0
Decoding only a certain frame results in different values than when decoding the entire file
...s, the state changes. You're trying to start
somewhere in the middle with the initial state rather than with the
state it would have if you started from the beginning and decoded it
all. As you've noticed, it can recover from lost frames over time.
This is just repeating what Lakhdar Bourokba already said though.
As for your question about the header, it really depends on how you're
saving the encoded file.
--
Steve Checkoway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4745 bytes
Desc:...
2011 Dec 23
2
Decoding only a certain frame results in different values than when decoding the entire file
...You're trying to start
> somewhere in the middle with the initial state rather than with the
> state it would have if you started from the beginning and decoded it
> all. As you've noticed, it can recover from lost frames over time.
>
> This is just repeating what Lakhdar Bourokba already said though.
>
> As for your question about the header, it really depends on how you're
> saving the encoded file.
>
>
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/list...
2011 Dec 22
0
Decoding only a certain frame results in different values than when decoding the entire file
...tput[j];
> }
>
> return 43;
> }
>
> Btw, just if you wondering what I am doing... I am feeding (62 *
> NumberOfFramesThatIWantToRead) bytes from VB6 and return it as a float
> array.
>
> Greetings,
> Hermann
>
> Am 21.12.2011 15:26, schrieb Lakhdar Bourokba:
> > Hi Hermann,
> > Could it be your decoder state memory that is not longer sync ?
> > When a decoder processes a frame, it uses that frame and its memory
> state (affected by the previous frames) to generate the output samples.
> If you skip the previous frames, the de...