You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1.Windows 2008/2012 Server with a USB Camera.
2.Visual Studio 2010, using AForge.Video,using Aforge.Video.DirectShow.
3.Code below:
private vode Form_Load(object sender, EventArgs e)
{
try
{
videoDevices= new FilterInfoCollection(FilterCategory.VideoInputDevice);
foreach(FilterInfo device in videoDevices)
{
repositoryItemComboBox.Items.Add(device.Name);
}
CameraConn();
......
}
}
private void CameraConn()
{
if(videoDvices == null) return;
VideoCaptureDevice videoSource = new VideoCaptureDevice(videoDevices[SelectedIndex].MonikerString);
videoCapabilities = videoSource.VideoCapabilities;
......
}
4.videoCapabilities = videoSource.VideoCapabilities;
the videoCapabilities is empty!!!
What is the expected output? What do you see instead?
the videoCapabilities SHOULD BE AN ARRAY.
What version of the product are you using?
AForge.NET Version is 2.2.5.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected] on 30 Jun 2015 at 2:36
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 30 Jun 2015 at 2:36The text was updated successfully, but these errors were encountered: