Video in OpenMCU

Discussion related to implementation and use of the H.323 Plus H.323 stack at https://www.h323plus.org.
Post Reply
stoanhart
Posts: 1
Joined: Sat Dec 18, 2010 2:59 am

Video in OpenMCU

Post by stoanhart »

Hi,

I've been trying to use OpenMCU for 3-way video conferencing. Initially, I tried the v2.2.1 binary that comes with Ubuntu 10.04. I'm fairly certain it's compiled with video support, as I can see the video-related options in the web UI. However, while I can connect with multiple clients and the program mixes the audio perfectly, there is never any video.

When I view the OpenMCU Status page, under the "TX Video frame rate/RX Video frame rate" column, I simply see "0/0" for all clients. No video data is being transmitted.

I decided to compile the software myself, so I could make sure that video support is included, and to use the latest version. I have successfully compiled the latest h323plus and plugins, and then built OpenMCU 2.2.5 against that. I am certain video support is included, since this is the output from ./configure for h323plus:

Code: Select all

=================== Plugin configuration ======================
 prefix                           : /usr/local
 exec_prefix                      : ${prefix}
 libdir                           : ${exec_prefix}/lib
 Audio Codec plugin install dir   : ${libdir}/opal-1.22.0/codecs/audio
 Video Codec plugin install prefix: ${libdir}/opal-1.22.0/codecs/video
 LID plugin install prefix        : ${libdir}/opal-1.22.0/lid
 FAX plugin install prefix        : ${libdir}/opal-1.22.0/fax

                              GSM :  yes (internal)
                          gsm-amr :  yes
                             iLBC :  yes (internal)
                            Speex :  yes (internal, version 1.1.11.1)
                            LPC10 :  yes
                            G.726 :  yes
                        IMA_ADPCM :  yes
                              SBC :  no

                           H.261  :  yes
                           H.263  :  yes (ffmpeg version)
                     H.263/H.263+ :  yes
                           H.264  :  yes
                          THEORA  :  no
                    MPEG4 Part 2  :  yes (no rate control correction)
                            CELT  :  no

                     SpanDSP FAX  :  no

                            CAPI  :  no
           Quicknet xJACK support :  no
         Voicetronics VPB support :  yes

                         OS Type  :  linux-gnu
                    Machine Type  :  x86_64

 If all settings are OK, type make and make install
========================================================
As you can see, video (especially h264, which I want to use) is included. The version I have compiled works well, in that users can connect and audio is mixed. However, like before, there is no video.

If you have any suggestions, your help would be greatly appreciated.

Thank you!
shorne
Posts: 45
Joined: Thu Aug 27, 2009 4:17 am

Re: Video in OpenMCU

Post by shorne »

The trace above is for Opal not H323plus. Both libraries use the ptlib base library.

Anyway unlike a console application you need to set the environmental variable PTLIB_PLUGINDIR to point to the directory you have placed the plugins in. Note the X264_helper should remain in the same directory as your openMCU application.

Simon
ferruccio
Posts: 1
Joined: Thu Jan 20, 2011 10:27 am

Re: Video in OpenMCU

Post by ferruccio »

Hi,

I have the same problem of stoanhart, but I am not sure that I understood your answer.
I successfully compiled ptlib-2.8.3, h323plus-1.22.0, and openmcu (from the archive applications-1.22.0).
After that I set LD_LIBRARY_PATH=/usr/local/liib (in /usr/local I installed both ptlib and h323plus)
and run openmcu, and as stoanhart when I connect with multiple clients (ekiga) the program mixes tha audio but there isn't any video.
Returning to your answer:
-I have to set the variable PTLIB_PLUGINDIR to point to the directory ptlib-2.8.3/plugins before running openmcu?
-What is the x264_helper?

Thanks,
Ferruccio
Post Reply