<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=522050823-04022007><FONT face=Arial
color=#0000ff size=2>Hi Randy,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=522050823-04022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=522050823-04022007><FONT face=Arial
color=#0000ff size=2>One thing I would note is that speex is designed for 8kHz,
16kHz or 32kHz. 160 samples is equal to 20ms of 8kHz audio. Have you tried
resampling from 11.025kHz to 8kHz and then using the speex 8kHz mode? (nb, or
narrow band). Or, if you want to preserve the higher quality of your 11.025kHz
sample rate, resample to 16kHz and use the wideband speex
encoder.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=522050823-04022007></SPAN><SPAN
class=522050823-04022007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN><SPAN class=522050823-04022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN><SPAN class=522050823-04022007><FONT
face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=522050823-04022007><FONT face=Arial
color=#0000ff size=2>I believe there is new resampling functionality in the
speex svn head, although I haven't tested it yet. You might also want to check
out 'Secret Rabbit Code' for your resampling.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=522050823-04022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=522050823-04022007><FONT face=Arial
color=#0000ff size=2>Hope this helps.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=522050823-04022007><FONT face=Arial
color=#0000ff size=2>Dave</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> speex-dev-bounces@xiph.org
[mailto:speex-dev-bounces@xiph.org] <B>On Behalf Of </B>Randy
Schefiele<BR><B>Sent:</B> Saturday, 3 February 2007 7:12 AM<BR><B>To:</B>
speex-dev@xiph.org<BR><B>Subject:</B> [Speex-dev] Speex and
RTP<BR></FONT><BR></DIV>
<DIV></DIV>Hi -<BR><BR>I am currently developing a RTSP/RTP/SDP solution to
stream Speex encoded data. Using my current source, I have successfully
streamed u-law and PCM encoded audio but have been unsuccessful thus far with
Speex.<BR><BR>Because of some constraints of my system, I am encoding audio at
11.025kHz. I am still using the 160 samples per frame which makes my
frame size 28 bytes. I have successfully written the SDP needed to
describe the Speex stream but I haven't found a player that will play the
stream. I could be doing something wrong, but does anyone know of any
players that can play RTP Speex streams so I can be sure that my solution is
incorrect?<BR><BR>Also, I have looked over the draft RFC of the Speex RTP
payload and I was curious to know if, because I am not using a standard sample
rate, my solution will work. In the draft RFC (and the Speex manual for
that matter) it always refers to Speex frames containing 20ms of audio.
In my case, a Speex frame actually contains roughly 14.5 seconds of
audio. Am I going to need to hack the Speex encoder to make my frames be
20ms in order for the RTP to successfully play?<BR><BR>Any advice/help anyone
can give would be greatly appreciated.<BR><BR>Thanks!<BR>Randy<BR>
<P>
<HR SIZE=1>
The fish are biting.<BR><A
href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50">Get
more visitors</A> on your site using <A
href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50">Yahoo!
Search Marketing.</A></BLOCKQUOTE></BODY></HTML>