Michael
This error is coming from FFMPEG
Update your FFMPEG source see http://code.google.com/p/ffmpegsource/source/detail?r=311
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Michael Miller Sent: Friday, August 27, 2010 8:03 AM To: h323plus@lists.packetizer.com Subject: [h323plus] Opal compile error
Hello,
I've taken a shot at getting OpenMCU running again. When compiling Opal, I'm running into the following error:
[CC] ./shared/h264frame.cxx [CC] h264-x264.cxx In file included from /usr/local/include/libavutil/avutil.h:82, from /usr/local/include/libavcodec/avcodec.h:31, from h264-x264.h:64, from h264-x264.cxx:39: /usr/local/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’: /usr/local/include/libavutil/common.h:165: error: ‘UINT64_C’ was not declared in this scope make[2]: *** [obj/h264-x264.o] Error 1 make[2]: Leaving directory `/root/sources/opal/plugins/video/H.264' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/sources/opal/plugins' make: *** [subdirs] Error 2
Any suggestions where I should declare UINT64_C ??
Thanks
Michael Miller System Engineer NCSA 217 649 0747 "If you're clear in your vision and trust the people in your team with clear objectives, they will invariably do their best to achieve everything desired, and usually deliver everything you could have hoped for and even more." -Paul Debevec
----- Original Message ----- From: "Simon Horne" s.horne@packetizer.com To: dave@onewebway.com Cc: h323plus@lists.packetizer.com Sent: Thursday, August 19, 2010 3:27:58 PM Subject: Re: [h323plus] h323plus 1.22, ptlib 2.8.2, openmcu 2.2.5 - can't get H.263 to load
I will be checking in quite a few fixes for audio/video codecs in the next day or so. You may want to move to these codecs in the next h323plus release.
Simon
-----Original Message----- From: Dave Smulsky [mailto:dave@onewebway.com] Sent: Friday, August 20, 2010 4:33 AM To: dave@onewebway.com Cc: dave@onewebway.com; Simon Horne; h323plus@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,
Oddly enough, it looks like a audio codec was causing this issue.. I disabled 722 and 726 on the endpoints and defaulted them to GSM and they were able to connect.
The endpoints are connecting with H261, but the problem I see now is split screen doesnt work (3rd connected endpoint causes video to pause on all endpoints until one endpoint disconnects). If I force split screen, the resolutions are horribly distorted and green looking. If I force the endpoint to 176x144, then that endpoint looks OK in the split screen, but the others are all mooshed.
Whats the best way to troubleshoot that?
Thanks,
On Thu, August 19, 2010 2:13 pm, Dave Smulsky wrote:
Digging into the trace deeper, the actual last line before it crashes is:
0:19.341 H225 Answer:41fde940 PWLib Assertion fail: Invalid cast
to
non-descendant class, file h245_3.cxx, line 2805, Error=22
This is a componet of H323Plus and not PTlib.
Any ideas what would cause this?
Thanks
On Thu, August 19, 2010 1:43 pm, Dave Smulsky wrote:
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@onewebway.com] Sent: Friday, August 20, 2010 12:55 AM To: Simon Horne Cc: dave@onewebway.com; h323plus@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@onewebway.com] Sent: Thursday, August 19, 2010 10:41 PM To: Simon Horne Cc: dave@onewebway.com; h323plus@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@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Dave Smulsky Sent: Thursday, August 19, 2010 5:05 AM To: h323plus@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