problem in adding metadata >64k in wmv file
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
problem in adding metadata >64k in wmv file

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
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 Reply with quote

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

Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB