[h323plus] h323plus 1.22, ptlib 2.8.2, openmcu 2.2.5 - can't get H.263 to load

Dave Smulsky dave at onewebway.com
Thu Aug 19 13:43:05 EDT 2010


Hi Simon,

I did this, and now it looks like everything loads and negioates:
   1:
       H.261-CIF{sw} <24>
       H.261-QCIF{sw} <25>
       H.261{sw} <26>
       H.263{sw} <27>
       MPEG4{sw} <28>
     2:

However when I try to connect a H.261 endpoint (vanilla Ekiga installed
from Ubuntu repos), openmcu coredumps as follows:

  0:08.158         H225 Answer:401c6940 PWLib   Assertion fail: Invalid
cast to non-descendant class, file ptlib/common/contain.cxx, line 334,
class PBYTEArray, Error=107

This is where it asks if I want to (A)bort or (C)ore dump.

Any ideas?  This is a freshly compiled PTLIB 2.6.7

Thanks for your help again,
On Thu, August 19, 2010 12:13 pm, Simon Horne wrote:
> Dave
>
> Comment out line 323 SetVideoFrameSize() in h323.cxx. The opal plugins
> should load and be usuable.  Also you will need to enable H.323 in H.264.
>
> Simon
>
> -----Original Message-----
> From: Dave Smulsky [mailto:dave at onewebway.com]
> Sent: Friday, August 20, 2010 12:55 AM
> To: Simon Horne
> Cc: dave at onewebway.com; h323plus at lists.packetizer.com
> Subject: RE: [h323plus] h323plus 1.22, ptlib 2.8.2, openmcu 2.2.5 - can't
> get H.263 to load
>
> Simon,
>
> My apologies, I forgot that I tried to use OPAL 3.6.8 plugins, which is
> what
> I had PTLIBPLUGINDIR set to for that test.
>
> Does that make a difference if I were to use H323Plus plugins vs OPAL ?
>
> When I use the H323Plus plugindir, it doesnt seem to find H.263 at all,
> using OPAL loads H.263/264/MPEG4 but they never end up staying loaded.
>
> Thanks,
>
> Dave
>
> On Thu, August 19, 2010 9:30 am, Simon Horne wrote:
>> Dave
>>
>> What H.263 plugin are you using?
>> I don't see H.263-CIF and H.263-QCIF definitions loading?
>>
>> The H.263{sw} codec is being filtered out.
>> Remove the SetVideoFrameSize(H323Capability::cifMPI)  function out of
>> your code and both the MPEG4 and H.263 codecs will load.
>>
>> Simon
>>
>> -----Original Message-----
>> From: Dave Smulsky [mailto:dave at onewebway.com]
>> Sent: Thursday, August 19, 2010 10:41 PM
>> To: Simon Horne
>> Cc: dave at onewebway.com; h323plus at lists.packetizer.com
>> Subject: RE: [h323plus] h323plus 1.22, ptlib 2.8.2, openmcu 2.2.5 -
>> can't get H.263 to load
>>
>> Simon,
>>
>> On my RHEL (actually Oracle Enterprise Linux) machine I initially
>> attempted this on with the same PTLIB/H323PLUS/OPENMCU combo, heres
>> the level 5 output when I start OpenMCU.  It looks like it loads
>> everything then removes them, and I am only left with H.261 CIF
>>
>> 2010/08/19 08:36:11.342	                OpenMCU	Debug3	H323
> Added
>> capability: H.239 Capabilities <29>
>> 2010/08/19 08:36:11.343	                OpenMCU	Debug3	H323
> Found
>> capability: H.239 Capabilities <29>
>> 2010/08/19 08:36:11.343	                OpenMCU	Debug3	H323
> Added
>> capability: H.263{sw} <1>
>> 2010/08/19 08:36:11.344	                OpenMCU	Debug3	H323
> Found
>> capability: H.239 Capabilities <29>
>>                H.263{sw} <1>
>> 2010/08/19 08:36:11.344	                OpenMCU	Debug3	H323
> Removing
>> capability: H.239 Capabilities <29>
>>                H.263{sw} <1>
>> 2010/08/19 08:36:11.345	                OpenMCU	Debug3	H323
> Found
>> capability: H.261-QCIF{sw} <25>
>> 2010/08/19 08:36:11.345	                OpenMCU	Debug3	H323
> Removing
>> capability: H.261-QCIF{sw} <25>
>> 2010/08/19 08:36:11.345	                OpenMCU	Debug3	H323
> Found
>> capability: H.261{sw} <26>
>> 2010/08/19 08:36:11.346	                OpenMCU	Debug3	H323
> Removing
>> capability: H.261{sw} <26>
>> 2010/08/19 08:36:11.346	                OpenMCU	Debug3	H323
> Found
>> capability: H.263{sw} <27>
>> 2010/08/19 08:36:11.347	                OpenMCU	Debug3	H323
> Removing
>> capability: H.263{sw} <27>
>> 2010/08/19 08:36:11.347	                OpenMCU	Debug3	H323
> Found
>> capability: MPEG4{sw} <28>
>> 2010/08/19 08:36:11.348	                OpenMCU	Debug3	H323
> Removing
>> capability: MPEG4{sw} <28>
>>
>>    1:
>>        H.261-CIF{sw} <24>
>>
>>
>> On Wed, August 18, 2010 4:31 pm, Simon Horne wrote:
>>> Dave
>>>
>>> Do a level 5 trace and see if the H.263 capability actually loads and
>>> in the capability list. The plugin will not load unless it finds the
>>> FFMPEG library.  If it is there then you will need to check that it
>>> actually gets negotiated, see if it is the common capability list in
>>> the trace file.
>>>
>>> The H.264 plugin should work if you are using the current CVS. Use a
>>> softphone like Mirial to test.
>>>
>>> Simon
>>>
>>> -----Original Message-----
>>> From: h323plus-bounces at lists.packetizer.com
>>> [mailto:h323plus-bounces at lists.packetizer.com] On Behalf Of Dave
>>> Smulsky
>>> Sent: Thursday, August 19, 2010 5:05 AM
>>> To: h323plus at lists.packetizer.com
>>> Subject: [h323plus] h323plus 1.22, ptlib 2.8.2, openmcu 2.2.5 - can't
>>> get
>>> H.263 to load
>>>
>>> I am having a terrible time trying to get basic H.263/264 plugins
>>> working on a vanilla Ubuntu 10.04 install.
>>>
>>> I installed ffmpeg, libavcodec-devel, x264, libx264-devel from ubuntu
>>> repos
>>>
>>> Compiled PTlib 2.8.2, set PTLIBDIR, compilied h323plus 1.22, set
>>> OPEN323DIR, configured and make installed h323plus/plugins (showed
>>> all the codecs as enabled), set PTLIBPLUGINDIR to the
> OPENH323DIR/plugins.
>>> Compiled openmcu 2.2.5 without issues...
>>>
>>> When I run openmcu, right out of the box H.261 and H.264 are enabled,
>>> but if I try to connect an endpoint (using Ekiga) it segfaults
>>> openmcu.  If I disable h.264 via openmcu.ini, restart openmcu, I can
>>> connect an endpoint at
>>> H.261 CIF (which is terrible resolution and pretty much useless to me.
>>> The problem is I cant seem to get H.263 to load at all.
>>>
>>> Can someone that has had good results setting this up please shed
>>> some light on how to do it on a more recent OS like Ubuntu 10.04 or
>>> even RHEL5?
>>>
>>> Thanks
>>> Dave
>>>
>>>
>>
>>
>
>





More information about the h323plus mailing list