<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:"Segoe UI Semibold";
        panose-1:2 11 7 2 4 2 4 2 2 3;}
@font-face
        {font-family:"Segoe UI Light";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:"Source Sans Pro";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:DA;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi <o:p></o:p></p>
<p class="MsoNormal">My name i Jakob Aagesen<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have a problem understanding the granual pos in the ogg header. I found a something that Selon Ralph Giles wrote to someone:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:DA">What speexenc does (Speex itself does not know about Ogg) is that it gives<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:DA">packet N the granulepos "N*frame_size - lookahead". In the case of narrowband,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New";mso-fareast-language:DA">the first frame would have granulepos "1*160 - 80", so 80.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What is the look-ahead for wideband speex.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have this speex-ogg file that seems to be playing for 4.9 sec but it is only 2.9 sec long:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This is a picture of the speex and ogg headers: can you see if the granual pos is wrong in these headers. I was told that the last one is wrong, but I don’t know why.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I would appreciate any help on the matter.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DA"><img width="1595" height="633" id="Picture_x0020_6" src="cid:image006.png@01D008DA.9C207550"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DA"><img width="1785" height="883" id="Picture_x0020_8" src="cid:image007.png@01D008DA.9C207550"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:DA"><img width="1658" height="202" id="Picture_x0020_9" src="cid:image008.png@01D008DA.9C207550"></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semibold",sans-serif;mso-fareast-language:DA">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semibold",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semibold",sans-serif;color:#1F497D;mso-fareast-language:DA">Jakob Aagesen<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semibold",sans-serif;color:#1F497D;mso-fareast-language:DA">Senior Developer B.Sc<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semibold",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semibold",sans-serif;color:#1F497D;mso-fareast-language:DA">E-mail:  jakob.aagesen@mirsk.com<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Semibold",sans-serif;color:#1F497D;mso-fareast-language:DA">Mobile: (+45) 5059 9858<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Light",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://www.mirsk.com/"><span style="font-family:"Source Sans Pro";color:orange;mso-fareast-language:DA;text-decoration:none"><img border="0" width="137" height="33" id="Picture_x0020_1" src="cid:image001.png@01D008D8.FD23E2D0" alt="mirsk_email_logo_icon"></span></a><span style="font-family:"Segoe UI Light",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#1F497D;mso-fareast-language:DA">MIRSK <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#1F497D;mso-fareast-language:DA">Sturlasgade 12 H</span><span style="font-family:"Segoe UI",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#1F497D;mso-fareast-language:DA">DK-2300 Copenhagen S<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;color:#1F497D;mso-fareast-language:DA">Denmark<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI Light",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="http://www.facebook.com/Mirskdigital"><span style="font-size:10.0pt;font-family:"Source Sans Pro";color:orange;mso-fareast-language:DA;text-decoration:none"><img border="0" width="24" height="25" id="Picture_x0020_2" src="cid:image002.png@01D008D8.FD23E2D0" alt="Round_05_fb"></span></a><a href="https://linkedin.com/MIRSKdigital"><span style="font-size:10.0pt;font-family:"Source Sans Pro";color:orange;mso-fareast-language:DA;text-decoration:none"><img border="0" width="24" height="25" id="Picture_x0020_3" src="cid:image003.png@01D008D8.FD23E2D0" alt="Round_05_in"></span></a><a href="https://twitter.com/MIRSKdigital"><span style="font-size:10.0pt;font-family:"Source Sans Pro";color:orange;mso-fareast-language:DA;text-decoration:none"><img border="0" width="24" height="25" id="Picture_x0020_4" src="cid:image004.png@01D008D8.FD23E2D0" alt="Round_05_tweet"></span></a><a href="http://www.youtube.com/mirskdigital"><span style="font-size:10.0pt;font-family:"Source Sans Pro";color:orange;mso-fareast-language:DA;text-decoration:none"><img border="0" width="24" height="25" id="Picture_x0020_5" src="cid:image005.png@01D008D8.FD23E2D0" alt="Round_05_yt"></span></a><span lang="EN-US" style="color:#1F497D;mso-fareast-language:DA"> </span><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI Light",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:DA"> </span><span lang="EN-US" style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:9.0pt;font-family:"Segoe UI Light",sans-serif;color:#1F4E79;mso-fareast-language:DA">*Notice* This communication is from MIRSK Digital ApS. It contains information which is confidential and may also
 be privileged. It is for exclusive use of the intended recipient(s).</span></i><span lang="EN-US" style="color:#1F4E79;mso-fareast-language:DA">
</span><i><span lang="EN-US" style="font-size:9.0pt;font-family:"Segoe UI Light",sans-serif;color:#1F4E79;mso-fareast-language:DA">NOTE: This e-mail is from MIRSK Digital ApS and is intended solely for the use of the individual(s) to whom it is addressed. If
 you believe you received this e-mail in error, please notify the sender immediately, delete the e-mail from your computer and do not copy or disclose it to anyone else. If you are not an existing client of MIRSK Digital ApS, do not construe anything in this
 e-mail to make you a client unless it contains a specific statement to that effect and do not disclose anything to MIRSK Digital ApS in reply that you expect it to hold in confidence. If you properly received this e-mail as a client, co-counsel or retained
 expert of MIRSK Digital ApS, you should maintain its contents in confidence in order to preserve the work or product privilege that may be available to protect confidentiality.</span></i><span lang="EN-US" style="color:#1F4E79;mso-fareast-language:DA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>