<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>
Hello,<br>
<br>
I noticed that encoder_set_options of h263-ffmpeg plugin only works
while codec initialising. So if you are interested to change bandwidth
or quality setting during a videocall you must modify the plugin.<br>
<br>
<br>
in encoder_set_options: add<br>
<b><br>
  context->Lock();<br>
  context->CloseCodec();<br>
<br>
/* here options changing ... */<br>
<br>
  context->OpenCodec();<br>
  context->Unlock();</b><br>
<br>
Then add two function Lock and UnLock to H263_Base_EncoderContext with
a mutex to ensure no encoding frames while openning or closing a codec!<br>
<br>
<b><i>    CriticalSection _mutex;<br>
    void Lock() { _mutex.Wait(); }<br>
    void Unlock() { _mutex.Signal(); }</i><br>
</b><br>
Add a mutex signal to the beginning of <br>
<i><br>
<b>H263EncoderContext::~H263EncoderContext()<br>
{<br>
  WaitAndSignal m(_mutex);</b></i><br>
<br>
/* function code...*/<br>

<br>
and<br>
<b><br>
<i>int H263EncoderContext::EncodeFrames(const BYTE * src, unsigned
& srcLen, BYTE * dst, unsigned & dstLen, unsigned int &
flags)<br>
{<br>
      WaitAndSignal m(_mutex);</i></b><br>
<br>
/* function code...*/<br>


<br>
<br>
So the parameters of ffmepg h263 become usable at least! <br>
<br>
Anyone tried with h263-1998 ? I'm still not able to make it working for
h323 for same reasons I mentioned in my first post. Could be
interesting to share some ideas!<br>
<br>
<br>
Greetings,<br>
Carlo<br>
<br>
<br><hr id="stopSpelling">Subject: RES: [h323plus] h323plus working plugins<br>Date: Fri, 22 Jan 2010 14:48:41 -0200<br>From: leandro.alvares@caixa.gov.br<br>To: unazona@hotmail.com<br><br>







<style>
.ExternalClass .ecxshape
{;}
</style>


<style>
</style>

<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:blue;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass span.ecxEstiloDeEmail18
{font-family:Arial;color:navy;}
@page Section1
{size:595.3pt 841.9pt;}
.ExternalClass div.ecxSection1
{page:Section1;}
</style>





<div class="ecxSection1">

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi Carlos,</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I got the same results as you....</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I’m not happy with my vídeo quality (CIF)
and I need to activate the H.264 or H.263 4CIF, but I’m having a lot of dificults....</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Regards,</span></font></p>

<b><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold;">Leandro
 Oliveira Alvares</span></font></b><font color="navy"><span style="color: navy;"> <br>
<br>
</span></font><BR>

</div>

<div>

<div class="ecxMsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="ecxMsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">De:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
h323plus-bounces@lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com] <b><span style="font-weight: bold;">Em nome de </span></b>Carlos Haj<br>
<b><span style="font-weight: bold;">Enviada em:</span></b> sexta-feira, 22 de
janeiro de 2010 08:38<br>
<b><span style="font-weight: bold;">Para:</span></b>
h323plus@lists.packetizer.com<br>
<b><span style="font-weight: bold;">Assunto:</span></b> [h323plus] h323plus
working plugins</span></font></p>

</div>

<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="ecxMsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;"><br>
Hello Everyone,<br>
<br>
I've been experimenting Opal plugins on h323plus stack. I would like to share
you my experience as it seems to me that most opal plugins doesn't work for
h323plus.<br>
<br>
I compiled plugins along with correct ffmpeg and x264 revisions, on both
windows and linux platforms. Here is my test results:<br>
<br>
H.261vic             
OK<br>
H.263_ffmpeg      OK<br>
<br>
H.263_1998         * Crashes before
packetising process, it works after I delay the packetiser function.<br>
                        
* Video pixels are melting strikes, even while disabling all h263 annexes.<br>
<br>
<br>
MPEG4                * AVCodec crashes
on encoder function<br>
<br>
H.264                 * It doesn't
compile at all after activating H323_H264_TEST<br>
                        
* Complains about some missing constants, which I added<br>
                        
* Compilation errors in structure definitions (h323 capabilities)<br>
<br>
Theora              
Not tested<br>
<br>
<br>
I'm unsure about the development priority and/or status of video plugins, as no
document states that. Anyone tried to experiment video codecs using h323plus?!
do you have same results as me?! <br>
<br>
Thanks, I appreciate.<br>
<br>
<a href="http://www.bing.com/videos/search?q=Michael+Jackson&FORM=MVDE6"></a></span></font></p>

<div class="ecxMsoNormal" style="text-align: center;" align="center"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="ecxMsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">Vous cherchez l'intégrale des clips de Michael Jackson ? <a href="http://www.bing.com/videos/search?q=Michael+Jackson&FORM=MVDE6">Bing ! Trouvez !</a></span></font></p>

</div><br><br><hr id="stopSpelling">Subject: RES: [h323plus] h323plus working plugins<br>Date: Fri, 22 Jan 2010 14:48:41 -0200<br>From: leandro.alvares@caixa.gov.br<br>To: unazona@hotmail.com<br><br>







<style>
.ExternalClass .ecxshape
{;}
</style>


<style>
</style>

<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:blue;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass span.ecxEstiloDeEmail18
{font-family:Arial;color:navy;}
@page Section1
{size:595.3pt 841.9pt;}
.ExternalClass div.ecxSection1
{page:Section1;}
</style>





<div class="ecxSection1">

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi Carlos,</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I got the same results as you....</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I’m not happy with my vídeo quality (CIF)
and I need to activate the H.264 or H.263 4CIF, but I’m having a lot of dificults....</span></font></p>

<p class="ecxMsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Regards,</span></font></p>

<b><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold;">Leandro
 Oliveira Alvares</span></font></b><font color="navy"><span style="color: navy;"> <br>
<br>
</span></font><BR>

</div>

<div>

<div class="ecxMsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="ecxMsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">De:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
h323plus-bounces@lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com] <b><span style="font-weight: bold;">Em nome de </span></b>Carlos Haj<br>
<b><span style="font-weight: bold;">Enviada em:</span></b> sexta-feira, 22 de
janeiro de 2010 08:38<br>
<b><span style="font-weight: bold;">Para:</span></b>
h323plus@lists.packetizer.com<br>
<b><span style="font-weight: bold;">Assunto:</span></b> [h323plus] h323plus
working plugins</span></font></p>

</div>

<p class="ecxMsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="ecxMsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;"><br>
Hello Everyone,<br>
<br>
I've been experimenting Opal plugins on h323plus stack. I would like to share
you my experience as it seems to me that most opal plugins doesn't work for
h323plus.<br>
<br>
I compiled plugins along with correct ffmpeg and x264 revisions, on both
windows and linux platforms. Here is my test results:<br>
<br>
H.261vic             
OK<br>
H.263_ffmpeg      OK<br>
<br>
H.263_1998         * Crashes before
packetising process, it works after I delay the packetiser function.<br>
                        
* Video pixels are melting strikes, even while disabling all h263 annexes.<br>
<br>
<br>
MPEG4                * AVCodec crashes
on encoder function<br>
<br>
H.264                 * It doesn't
compile at all after activating H323_H264_TEST<br>
                        
* Complains about some missing constants, which I added<br>
                        
* Compilation errors in structure definitions (h323 capabilities)<br>
<br>
Theora              
Not tested<br>
<br>
<br>
I'm unsure about the development priority and/or status of video plugins, as no
document states that. Anyone tried to experiment video codecs using h323plus?!
do you have same results as me?! <br>
<br>
Thanks, I appreciate.<br>
<br>
<a href="http://www.bing.com/videos/search?q=Michael+Jackson&FORM=MVDE6"></a></span></font></p>

<div class="ecxMsoNormal" style="text-align: center;" align="center"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="ecxMsoNormal"><font face="Verdana" size="2"><span style="font-size: 10pt; font-family: Verdana;">Vous cherchez l'intégrale des clips de Michael Jackson ? <a href="http://www.bing.com/videos/search?q=Michael+Jackson&FORM=MVDE6">Bing ! Trouvez !</a></span></font></p>

</div>                                      <br /><hr />Avec Internet Explorer, surfez en toute discrétion sur internet <a href='http://clk.atdmt.com/FRM/go/182932252/direct/01/' target='_new'>Cliquez ici !</a></body>
</html>