Hi.
I am using Dshow and WPFMediaKit to get it working in WPF.
Now to get the webcam to start you must select it from a combox that looks like this.
<ComboBox x:Name="videoCapDevices" ItemsSource="{Binding Source={x:Static DShow:MultimediaUtil.VideoInputDevices}}" DisplayMemberPath="Name" Foreground="Black" VerticalAlignment="Bottom" Margin="8.514,0,0,11.335" HorizontalAlignment="Left" Width="109.819" Height="24"/>
I wonder how i do so it start the cam without selecting it from the combox, want to use a button instead.
You are posting this in the DirectShowNet forum. Are you actually using the DirectShowNet library?
If so, you get get a list of video input devices with DsDevice. Check out the samples.
Log in to post a comment.
Hi.
I am using Dshow and WPFMediaKit to get it working in WPF.
Now to get the webcam to start you must select it from a combox that looks
like this.
<ComboBox x:Name="videoCapDevices"
ItemsSource="{Binding Source={x:Static
DShow:MultimediaUtil.VideoInputDevices}}"
DisplayMemberPath="Name"
Foreground="Black"
VerticalAlignment="Bottom"
Margin="8.514,0,0,11.335" HorizontalAlignment="Left"
Width="109.819" Height="24"/>
I wonder how i do so it start the cam without selecting it from the combox,
want to use a button instead.
You are posting this in the DirectShowNet forum. Are you actually using the
DirectShowNet library?
If so, you get get a list of video input devices with DsDevice. Check out the
samples.