This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, September 10, 2013 9:04:26 AM(UTC)
Groups: Registered
Posts: 5
I'm trying to display a video feed from a USB dongle and I'm having trouble incorporating it into my WPF project. The primary issue is that I can't get the video to display in my application. Incorporating it directly into my WPF project has allowed me to save the video to disk and even capture images, so I know it can connect to the device successfully, but I can't get it to display inside of my application.
I was thinking it had something to do with the ActiveX stuff? (not sure I know what I'm talking about) I've also attempted to create a separate Windows Forms Control project from which to incorporate the CaptureCtrl to no avail.
Does anyone have any examples of how to properly use the classes from LeadTools Multimedia in WPF projects? I'm sure its something small that I have misconfigured somewhere. Any help is much appreciated.
Dev Setup:
LeadTools 18
Windows 7
Visual Studio 2012
C# .Net 4.5
#2
Posted
:
Tuesday, September 10, 2013 11:49:32 PM(UTC)
Groups: Registered
Posts: 256
Zifik,
To use our Multimedia toolkit inside WPF project, there are two ways to do this:
1) You can host our .NET controls in your application. See the following link for a sample project on how to do this:
http://support.leadtools.com/CS/forums/40570/ShowPost.aspx#40570
2) You can host our ActiveX controls in your application. You can find a sample and a tutorial in the following link:
http://support.leadtools.com/CS/forums/28660/ShowPost.aspx#28660
Also, you can make sure that the feed is being received correctly by trying one of our pre-compiled capture demos that are shipped with the toolkit under the following path:
[LEADTOOLS Multimedia 18]\Shortcuts\Multimedia\DirectShow\Capture
#3
Posted
:
Friday, September 13, 2013 8:39:10 AM(UTC)
Groups: Registered
Posts: 5
The .NET example was exactly what I was looking for, thanks! In particular, I failed to set Preview to true and therefore thought it wasn't ever working.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.