<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<div style="font-family: Tahoma; font-size: 10pt; "><br></div><div style="font-family: Tahoma; font-size: 10pt; ">Hi,</div><div><pre style="line-height: 17px; white-space: normal; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 10pt; ">I have been trying some different sample rate and bitrate combinations&nbsp;<br style="line-height: 17px; ">to get a feel for how CELT behaves,too, like&nbsp;<span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; line-height: normal; font-size: 16px; "><i>Andrew Lentvorski</i></span>. &nbsp;But I want to use VBR option.</pre><pre style="line-height: 17px; white-space: normal; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 10pt; ">I want to ask a question about VBR in CELT codec.</pre><pre style="line-height: 17px; white-space: normal; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-se
 rif; font-size: 10pt; ">Can we use VBR option in CELT ???&nbsp;</pre><pre style="line-height: 17px; white-space: normal; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 10pt; ">"byte_per_packet" &nbsp;variable in code means constant bit rate, does not it ?</pre><pre style="line-height: 17px; white-space: normal; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 10pt; ">In this code :&nbsp;</pre><pre style="line-height: 17px; white-space: normal; color: rgb(42, 42, 42); font-family: 'Segoe UI', Tahoma, Verdana, Arial, sans-serif; font-size: 10pt; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; line-height: normal; font-size: 12pt; "><pre style="text-indent: 0px !important; "><font class="Apple-style-span" color="#2A2A2A" style="text-indent: 0px !important; "><span class="Apple-style-span" style="text-indent: 0px !important; line-height: 17
 px; white-space: normal; ">bytes_per_packet is constant.</span></font></pre></span></pre><pre><font class="Apple-style-span" color="#2A2A2A"><span class="Apple-style-span" style="line-height: 17px; white-space: normal;">len = celt_encode(enc, in_short, frame_size, data, bytes_per_packet);</span></font></pre><pre><font class="Apple-style-span" color="#2A2A2A"><span class="Apple-style-span" style="line-height: 17px; white-space: normal;">.....</span></font></pre><pre><font class="Apple-style-span" color="#2A2A2A"><span class="Apple-style-span" style="line-height: 17px; white-space: normal;">"len" is equal "bte_per_packet" evey time.</span></font></pre><pre><font class="Apple-style-span" color="#2A2A2A"><span class="Apple-style-span" style="line-height: 17px; white-space: normal;"><br></span></font></pre><pre><font class="Apple-style-span" color="#2A2A2A"><span class="Apple-style-span" style="line-height: 17px; white-space: normal;">celt_encoder_ctl(st, CELT_SET_VBR(1);</span><
 /font></pre><pre><font class="Apple-style-span" color="#2A2A2A"><span class="Apple-style-span" style="line-height: 17px; white-space: normal;">celt_encoder_ctl(st, CELT_SET_VBR_CONSTRAINT(0);</span></font></pre><pre><font class="Apple-style-span" color="#2A2A2A"><span class="Apple-style-span" style="line-height: 17px; white-space: normal;">May I write two lines codes to active VBR ?</span></font></pre><pre><font class="Apple-style-span" color="#2A2A2A"><span class="Apple-style-span" style="line-height: 17px; white-space: normal;">Selami Tastan</span></font></pre></div>                                               </body>
</html>