anhngml / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Camera is not working #216

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I use 2.1.5 it works when I use the current trunk (downloaded at 
09-05-2011 18:37) and start the video source it only displays one message 
"video was stopped". The video is not displayed.

Original issue reported on code.google.com by krzysztof.blacha on 9 May 2011 at 4:41

GoogleCodeExporter commented 9 years ago
Just tested 4 different USB cameras - all work fine.

>> and start the video source 
Which video source? USB camera? File? IP camera? Should we gues?

Please, start putting details into issues you create. If you don't, then 
tickets will be rejected.

Original comment by andrew.k...@gmail.com on 9 May 2011 at 5:09

GoogleCodeExporter commented 9 years ago
I found there is and exception thrown. Here's the info

"System.InvalidCastException: Unable to cast COM object of type 
'System.__ComObject' to interface type 
'AForge.Video.DirectShow.Internals.IAMVideoControl'. This operation failed 
because the QueryInterface call on the COM component for the interface with IID 
'{6A2E0670-28E4-11D0-A18C-00A0C9118956}' failed due to the following error: 
Taki interfejs nie jest obsługiwany. (Exception from HRESULT: 0x80004002 
(E_NOINTERFACE)).\r\n   at 
AForge.Video.DirectShow.VideoCaptureDevice.WorkerThread(Boolean runGraph) 
\\Video.DirectShow\\VideoCaptureDevice.cs:line 667"

What can be causing this issue?

Original comment by krzysztof.blacha on 9 May 2011 at 5:28

GoogleCodeExporter commented 9 years ago
I use PS Eye camera connected via USB.

Original comment by krzysztof.blacha on 9 May 2011 at 5:30

GoogleCodeExporter commented 9 years ago
Added try/catch block around retrieving IAMVideoControl interface, since it 
seems like some USB camera drivers don't support this interface.

Committed in revision 1464. Will be released in version 2.2.0.

Original comment by andrew.k...@gmail.com on 9 May 2011 at 5:41

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 28 Jul 2011 at 9:48

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 10 Aug 2011 at 9:35