The MPEG4 is defined in H.245 Annex E and it is a generic codec
Follow the same principals as the H.264 code (which is also generic)
 
Simon
-----Original Message-----
From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of Abhishek Rohilla
Sent: Thursday, January 17, 2008 7:42 PM
To: h323plus@lists.packetizer.com
Subject: [h323plus] How to add a generic Video Capability?

Hi

I have been able to build mpeg4 plugin code taken from opal cvs. Its PluginCodec Definition has defined it as type PluginCodec_H323Codec_nonStandard.
I have changed it to PluginCodec_H323Codec_generic and compiled it.

Should mpeg4 capability be added as generic or non-standard? What is the difference between two?

 My application is loading the dll perfectly fine now but the capabilities are not being added because of the following reasons:

1.) Generic and non-standard video capabilties require h323CapabilityData(last member in PluginCodec_Definition) to point to generic capability data info. This has not been defined in  opal plugin code.

2.) H323Capability *CreateGenericVideoCap() is checking for PluginCodec_H323GenericCodecData in
PluginCodec_Definition and it is null currently ,so capability is not created

Can someone help me in how to define generic capability data and what all information it needs? I have recognized the structures in opalplugins.h but don't know how to fill them with suitable values for mpeg4 plugin.

Please help

Thanks