<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
And how many frames does Speex need to "recover"?<br>
Or is that not predictable?<br>
<br>
Greetings,<br>
Hermann<br>
<br>
<br>
Am 23.12.2011 19:17, schrieb Steve Checkoway:
<blockquote
cite="mid:EDBB4C9A-38FB-4C9D-BA39-3BAE070A0F9C@pahtak.org"
type="cite">
<br>
On Dec 23, 2011, at 10:03 , Hermann Weber wrote:
<br>
<br>
<blockquote type="cite">I found out something:
<br>
<br>
The more frames I decode before the frame that I actually want
to
<br>
decode, the better the quality becomes.
<br>
For example when I basically want to decode frame #100, I read
frame #80
<br>
to #100, and then frame 100 has the quality that I need.
<br>
<br>
Why? Is there any information on this behaviour?
<br>
</blockquote>
<br>
<br>
Speex is a stateful encoder. As it encodes the audio, the state
changes. As it decodes, 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.
<br>
<br>
This is just repeating what Lakhdar Bourokba already said though.
<br>
<br>
As for your question about the header, it really depends on how
you're saving the encoded file.
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Speex-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/speex-dev">http://lists.xiph.org/mailman/listinfo/speex-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>