techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > Programming & Webmastering

Reply
 
Thread Tools
Old Mar 12, 2012, 03:15 AM   #1
shuggans
75 Posts
 
Join Date: Dec 2007
Location: Central Nebraska
Posts: 170 (0.09/day)
Thanks: 85
Thanked 7 Times in 6 Posts

System Specs

C# Web Webcam Capture Help

Hello all. I stumbled across this project: http://kristoffer.vinther.name/proje...ed-directshow/ which could be used in a project I've been wanting to take on for a while now. However, when I set up the "Camcorder" application to capture from a webcam source as shown on the project's page, I get this error from visual studio 2010:
Quote:
No overload for method 'Record' takes 0 arguments
pointing to this line:
Code:
this.asfRecorder1.Record();
When I investigate the error further, VS2010 tells me it's looking for "String what" and "Records string contents to a file"

The help online says "String
A designation of what is to be recorded, e.g. the title of a show. " - http://kristoffer.vinther.name/proje...erMembers.html and http://kristoffer.vinther.name/proje...se.Record.html

If anyone can help me make sense of this, It is greatly appreciated. Thanks in advance.
__________________
Sean Huggans
visuaFUSION Software
http://www.visuafusion.com
shuggans is offline  
Reply With Quote
Old Mar 12, 2012, 05:11 PM   #2
Dolph
75 Posts
 
Join Date: Feb 2012
Posts: 114 (0.24/day)
Thanks: 6
Thanked 11 Times in 11 Posts

Not entirely sure, seems like a fun project. It could just simply be the string of the filename to write to. like

Code:
this.asfRecorder1.Record("outputfile.wmv");
Dolph is offline  
Reply With Quote
Old Mar 12, 2012, 11:11 PM   #3
shuggans
75 Posts
 
Join Date: Dec 2007
Location: Central Nebraska
Posts: 170 (0.09/day)
Thanks: 85
Thanked 7 Times in 6 Posts

System Specs

Negatore. I have tried that as well. throws an undefined exception.
__________________
Sean Huggans
visuaFUSION Software
http://www.visuafusion.com
shuggans is offline  
Reply With Quote
Old Mar 12, 2012, 11:24 PM   #4
Kreij
Hardcore Monkey Moderator
 
Kreij's Avatar
 
Join Date: Feb 2007
Location: Cheeseland (Wisconsin, USA)
Posts: 12,113 (5.27/day)
Thanks: 591
Thanked 5,492 Times in 2,936 Posts

System Specs

The reference leave a bit to be desired with no code examples.
Can you put the method call in a try/catch block to see if you can get a little more info on the exception?
__________________

Cloud (noun, singular): A dynamic arrangement of multiple potential single points of failure, with a user at one end and their data at the other.


Get more tech news on a wide variety of topics at NextPowerUp
Kreij is online now  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Usb Webcam help lyndonguitar General Hardware 8 Jul 24, 2011 04:40 PM
Logitech Webcam Pro 9000 2MP HD Web Camera WAR10CK Hot Deals 0 Jun 20, 2010 02:33 AM
Webcam help. mab1376 General Hardware 1 Dec 25, 2009 11:22 PM
HP Webcam Help. paybackdaman General Hardware 12 Aug 5, 2008 05:27 AM


All times are GMT. The time now is 01:29 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts