Leandro

 

To enable 4CIF you should only need to change the frame size in the OpenMCU constructor in mcu.cxx

 

OpenMCU::OpenMCU()

  : OpenMCUProcessAncestor(ProductInfo)

{

  endpoint = NULL;

 

#if OPENMCU_VIDEO

  frameSize = H323Capability::cifMPI;  ß change to H323Capabiity::cif4MPI.

#endif

}

 

 

The error you have appears to be coming from the remote. You will need to post the actual OLC PDU trace.

 

Simon

 


From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of leandro.alvares@caixa.gov.br
Sent: Saturday, 26 September 2009 6:35 AM
To: h323plus@lists.packetizer.com
Subject: [h323plus] 4CIF support - OpenMCU urgent

 



 

Hello all,

 

I did these modifications in my openmcu 2.2.5 source code to enable 4CIF resolution. But now, the User Video Capability isn't presente anymore. 

 

  0:54.967                H245:b65ddb90 H245    Received open channel: R-3, state=Released
  0:54.967                H245:b65ddb90 H323    CreateLogicalChannel - forward channel
  0:54.967                H245:b65ddb90 H323    FindCapability: videoData
  0:54.967                H245:b65ddb90 Codec   Cannot have UserInputCapability in DataType
  0:54.967                H245:b65ddb90 H323    CreateLogicalChannel - unknown data type
  0:54.967                H245:b65ddb90 H245    Sending PDU [ip$10.192.37.69:40091/ip$10.192.37.69:30055] :

 

Does anyone know what should I have to do to fix it? or to enable 4CIF?

 

debianVC:/usr/local/src/openmcu-v2_2_5# diff conference.cxx.old conference.cxx

<   MCUVideoMixer::FillCIFYUVFrame(memberFrameStores.GetFrameStore(CIF_WIDTH, CIF_HEIGHT).data.GetPointer(), 0, 0, 0);
---
>   MCUVideoMixer::FillCIFYUVFrame(memberFrameStores.GetFrameStore(CIF4_WIDTH, CIF4_HEIGHT).data.GetPointer(), 0, 0, 0);

 

debianVC:/usr/local/src/openmcu-v2_2_5# diff conference.h.mexido conference.h
348c348
<       MCUSimpleVideoMixer(PBoolean forceScreenSplit = FALSE,H323Capability::CapabilityFrameSize _frameSize = H323Capability::cif4MPI);
---
>       MCUSimpleVideoMixer(PBoolean forceScreenSplit = FALSE,H323Capability::CapabilityFrameSize _frameSize = H323Capability::cifMPI);

 

debianVC:/usr/local/src/openmcu-v2_2_5# diff mcu.cxx.old mcu.cxx
166c166
<   frameSize = H323Capability::cifMPI;
---
>   frameSize = H323Capability::cif4MPI;

 

 

debianVC:/usr/local/src/openmcu-v2_2_5.modificada# diff h323.cxx.old h323.cxx
817c817
<     if (!InitGrabber(videoGrabber, CIF_WIDTH, CIF_HEIGHT)) {
---
>     if (!InitGrabber(videoGrabber, CIF4_WIDTH, CIF4_HEIGHT)) {

 

 

Best Regards,

 

 

Leandro


De: Adrien Rudulier [mailto:rudz04@yahoo.ca]
Enviada em: quarta-feira, 23 de setembro de 2009 01:50
Para: Leandro Oliveira Alvares
Assunto: Re: RES: RES: 4CIF support - OpenMCU urgent

I haven't worked on OpenMCU for a year and a half. Everything I know is from memory. However, I have never seen a call dropped. I might have changed the h263-1998 codec to resemble the h.263 codec that comes with OpenMCU.

 


From: "leandro.alvares@caixa.gov.br" <leandro.alvares@caixa.gov.br>
To: rudz04@yahoo.ca
Sent: Tuesday, September 22, 2009 2:23:45 PM
Subject: RES: RES: 4CIF support - OpenMCU urgent

Hi Adrien,

 

I really want to thanks your help. It is being appreciated a lot.

I did some changes:

 

debianVC:/usr/local/src/openmcu-v2_2_5# diff conference.cxx.old conference.cxx

<   MCUVideoMixer::FillCIFYUVFrame(memberFrameStores.GetFrameStore(CIF_WIDTH, CIF_HEIGHT).data.GetPointer(), 0, 0, 0);
---
>   MCUVideoMixer::FillCIFYUVFrame(memberFrameStores.GetFrameStore(CIF4_WIDTH, CIF4_HEIGHT).data.GetPointer(), 0, 0, 0);

debianVC:/usr/local/src/openmcu-v2_2_5# diff conference.h.mexido conference.h
348c348
<       MCUSimpleVideoMixer(PBoolean forceScreenSplit = FALSE,H323Capability::CapabilityFrameSize _frameSize = H323Capability::cif4MPI);
---
>       MCUSimpleVideoMixer(PBoolean forceScreenSplit = FALSE,H323Capability::CapabilityFrameSize _frameSize = H323Capability::cifMPI);

debianVC:/usr/local/src/openmcu-v2_2_5# diff mcu.cxx.old mcu.cxx
166c166
<   frameSize = H323Capability::cifMPI;
---
>   frameSize = H323Capability::cif4MPI;

At this moment I can see at trace CIF4_MPI = 2 and CIF4_MPI = 1and in some moment I can see a resize function from 704*576 to 352*288 at OpalPlugin. (It's no good I think, it is forcing to use CIF resolution...)

And when I join to a MCU room, The call is dropped by reason userProvidedVerifiedAndFailed.

 

I'm sorry to bother you, but I'm trying to do this at 6 months, and nobody help me.

 

 


De: Adrien Rudulier [mailto:rudz04@yahoo.ca]
Enviada em: terça-feira, 22 de setembro de 2009 13:02
Para: Leandro Oliveira Alvares
Assunto: Re: RES: 4CIF support - OpenMCU urgent

You need to change all of the size parameters in openmcu from cif to 4cif. I am not sure what exactly needs to be done because I don't have access to the modified source code.

 


From: "leandro.alvares@caixa.gov.br" <leandro.alvares@caixa.gov.br>
To: rudz04@yahoo.ca
Sent: Monday, September 21, 2009 11:52:28 AM
Subject: RES: 4CIF support - OpenMCU urgent

Hi Adrien,

 

Thanks to reply, I think I'm using this plugin already, anyway I'll download the CVS version.

But Adrien, What configuration should I have to do to enable 4CIF resolution? Do you know this? Because I'm setting the frameSize = H323Capability::cifMPI;

parameter at mcu.cxx.

 

Am I right?

 

thanks a lot.

 

regards,

Leandro Oliveira Alvares


De: Adrien Rudulier [mailto:rudz04@yahoo.ca]
Enviada em: segunda-feira, 21 de setembro de 2009 04:46
Para: Leandro Oliveira Alvares
Assunto: Re: 4CIF support - OpenMCU urgent

You need to use the other H.263-1998 plugin. You can get it from the OPAL library. http://opalvoip.svn.sourceforge.net/viewvc/opalvoip/opal/trunk/plugins/video/

Polycom PVX uses the 1998 version of the H.263 Codec.

 


From: "leandro.alvares@caixa.gov.br" <leandro.alvares@caixa.gov.br>
To: rudz04@yahoo.ca
Sent: Wednesday, September 16, 2009 2:38:59 PM
Subject: 4CIF support - OpenMCU urgent

Hi Adrien,

I have saw your post:

I am currently using the newest versions (as of July 2, 2008) of ptlib(2.3.0), h323plus(1.20.5) and openmcu(2.2.4) from cvs on Ubuntu 8.04. I installed the plugins correctly and openmcu runs fine. However when using two polycom pvx clients to connect to openmcu using H.263 at 4CIF for both transmitting and receiving, the video is blocky and very distorted. There is no packet loss, the bitrate is set to 1920 kbps and the frame rate is a constant 30 fps for both transmitting and receiving. I was wondering if the problem is with openmcu or the pvx clients. Has anyone successfully used 4CIF resolution to be clear and smooth? Also, I had to massage the h.263 plugin code to get 4CIF to work with openmcu. Any help would greatly be appreciated.

Adrien Rudulier

 

Did you solve your problem? I'm having the same problem and I diddn't get some post to help me.
I'm using the same softwares version than you.

What did you do to enable 4CIF resolution?

Thanks.

Regards,

Leandro

 


Looking for the perfect gift? Give the gift of Flickr!

 


The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free!

 


The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free!