Reputation: 41
I'm developing small app in C# 3.5 for Windows XP that will automatically download images and video from a camera to a PC, on camera plug-in via USB. I have a Canon ixus 50 camera and I figure out how to get images from that camera to the PC, but I just can't figure out how to get/download AVI format videos. Can someone help me please? It's true that I'm using WIA 2.0, but it seems to be working for now. :)
Upvotes: 3
Views: 1630
Reputation: 3147
I have never ever managed to get WIA properly working.
Sometimes it worked almost fine for photos but there was no video. Some other times it would never work on my customers' PCs (same camera, same PC specs).
Finally I completely gave WIA up and managed to create my custom control based on DirectX.
It's really easy to work with. Requires some Expression (SDK) DLL and for that it will work only in x86 and you will have to set your app from AnyCPU or x64 to x86. Period.
Works really fine but this is more to static pics.
Never tested but looks really close to your needs. Can't say if it works but I'll go that way for testing, at least.
WIA is rather simple and easy. I've used it on Delphi and Clarion software (both are native Win32). It's somewhat fine but nowadays WIA is not the way to go.
Many webcams simply won't work with WIA and you'll have to tell your customers to change their webcam to a strangly-named chinese/korean/wtf brand just to keep your app working.
Try the last option. At least, download and run the code.
Hope it helps.
Upvotes: 1