kulkarnihemant2000
Joined: 06 Nov 2006
Posts: 1
|
Posted:
Mon Nov 06, 2006 6:34 am Post subject:
problem in adding metadata >64k in wmv file |
|
|
Hi,
I want to add my custom metadata(>64k) into wmv file. For that I need the
IWMHeaderInfo3 Interface how can I get it into C#
I written following code but it is not working , What may be the reason
// Create a WMEncoder object.
WMEncoder Encoder = new WMEncoder();
string metadatapath = "C:\\QlikkitMetadata.txt";
IWMMetadataEditor metadataEditor = null;
try
{
//create encoder object
Qlikkit.WMFSDKWrapper.Functions.WMCreateEditor(out metadataEditor);
}
catch(Exception ex)
{
string str = ex.Message;
int mydata = 0;
}
// open wmv file
try
{
metadataEditor.Open("d:\\3333.wmv");
}
catch(System.Runtime.InteropServices.COMException ex)
{
string mystr = ex.Message;
string mystr2 = ex.StackTrace;
int jj=0;
}
Regards,
Hemant
|
|