<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 7/22/2010 8:51 AM, Simon Horne wrote:
<blockquote cite="mid:010701cb2938$12ff4de0$38fde9a0$@packetizer.com"
 type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta name="Generator" content="Microsoft Word 14 (filtered medium)">
  <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
  <div class="WordSection1">
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> Hi
Simon,<br>
  </o:p></span></p>
  </div>
</blockquote>
    I found the call back function to codec namely
Encoder_Set_Options(...)<br>
    But it will check the table for adjusting the value accordingly to
profile, level, bitrate and etc.<br>
    However, in the table the maxbitrate is either 192 for level 1.1 or
384 for level 1.2.<br>
    There is no related reference value for maxbitrate 256kbps.<br>
    So, is it correct if i follow all the setting in profile level 1.2
but just set max bit rate to 256kbps ?<br>
    <br>
   Thanks. <br>
<blockquote cite="mid:010701cb2938$12ff4de0$38fde9a0$@packetizer.com"
 type="cite">
  <div class="WordSection1">
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Kc
ooi<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">If
you use the current CVS you can use the existing CIF definition  and add<o:p></o:p></span></p>
  <p class="MsoNormal" style=""><span
 style="font-size: 9.5pt; font-family: Consolas;">codec.SetMaxBitRate()<o:p></o:p></span></p>
  <p class="MsoNormal" style=""><span
 style="font-size: 9.5pt; font-family: Consolas;"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">to
<yourEndpoint>::OpenVideoChannel()  <o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">on
the encoder side there is a call back to the codec to limit the sending
bitrate to 256k (which will limit the CIF frame rate in this case) <o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">on
the decoder side there is a flow control request sent after the OLC to
limit the remote sending to 256k<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Simon<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif";">
<a class="moz-txt-link-abbreviated" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a>
[<a class="moz-txt-link-freetext" href="mailto:h323plus-bounces@lists.packetizer.com">mailto:h323plus-bounces@lists.packetizer.com</a>] <b>On Behalf Of </b>kc
ooi<br>
  <b>Sent:</b> Wednesday, July 21, 2010 6:24 PM<br>
  <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:h323plus@lists.packetizer.com">h323plus@lists.packetizer.com</a><br>
  <b>Subject:</b> Re: [h323plus] H264 PLUGIN In H323Plus<o:p></o:p></span></p>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p>Hi All,<o:p></o:p></p>
  <p>Currently, I am working on H.264 codec to limit it's maximum video
rate always less than 256kbps.<o:p></o:p></p>
  <p>I use the settings as below:<br>
---------------------------------------- <br>
Profile: baseline profile<br>
Level: 1.2 <br>
resolution: CIF resolution<br>
frame rate: 10fps. <o:p></o:p></p>
  <p>However, In the H.264 Recommendation, the level 1.2 has default
value maximum bit rate with 384kbps.<br>
So, anyway to customize my H.264 codec (or do setting on my x264
encoder) to produce the video size <br>
always less than 256kbit / sec.<o:p></o:p></p>
  <p>Thanks.<o:p></o:p></p>
  </div>
</blockquote>
<br>
</body>
</html>