View Full Version : Interface VRDInterface allways crashed in c#
arogerm
November 28th, 2006, 01:30 PM
When I create a COM object with
VideoReDo.VideoReDoSilentClass xVideoRedoSilent = new VideoReDo.VideoReDoSilentClass();
VideoReDo.VideoReDo xVideoRedo = (VideoReDo.VideoReDo)xVideoRedoSilent.VRDInterface ;
allways crashed
Can you help me
Thanks
simontam
December 30th, 2006, 07:57 PM
try this piece of code out:
VideoReDoSilentClass vrds = new VideoReDoSilentClass();
IVideoReDo vrd = (IVideoReDo)vrds.VRDInterface;
seems to work for me. Make sure to have your videoredo.tlb type library registered first. If you can't figure out how to do that let me know.
Harry
December 30th, 2006, 11:41 PM
guys i'm curious, what kind of tools are you programming?
simontam
December 31st, 2006, 12:50 AM
I'm working on some frame grabbing and individual frame analysis. I'll probably be doing some creation of histograms to analyze the intensity/luminance from frame to frame.
I think it'll be more involved than ad-detective. I don't want to strip out things per se but I need to determine where certain types of transitions may be to help me mark points in the video.
I chose to use VRD because of the great COM interface it has and the lighting speed it provides.
It would be kind of cool if they had a more flexible/extensible ad-detective like module where people could develop their own video analysis extensions within the same general framework. hint hint hint... :)
Harry
December 31st, 2006, 03:56 AM
i created an example c# project file which you can grab here:
http://www.mytempdir.com/1142617
instructions are in the file "VideoReDo via COM Interface.txt"
thanks to simontam for sharing his knowledge :)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.