Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, September 10, 2013 9:04:26 AM(UTC)

Zifik  
Zifik

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
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, September 10, 2013 11:49:32 PM(UTC)

Daoud  
Daoud

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)

Zifik  
Zifik

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.053 seconds.