ksvideosrc: Failed to start capture
Submitted by Michael MacIntosh
Link to original bug (#782466)
Description
Created attachment 351570
GST_DEBUG=ks*:4 output
I am on windows 10 using gstreamer 1.12 and I am trying to capture video from an Osprey 460e analog capture card, and I was running into any difficulties using the ksvideosrc element.
It appears to be finding the device but is running into some errors.
My test pipeline:
gst-launch-1.0.exe ksvideosrc device-index=0 ! autovideosink
After executing that, I get a warning that it cant create or open ksclock.
It gives a warning about how it doesn't recognize the GUID for rgb8.
And then it says it can't start capture because of reason 0x048f (ERROR_DEVICE_NOT_CONNECTED), even though the device is connected and I can capture it through VLC, directshow, and the Osprey capture card driver software. My best guess (looking over the source code near https://github.com/GStreamer/gst-plugins-bad/blob/master/sys/winks/gstksvideosrc.c#L961 ), it appears to be getting the error from a call to GetOverlappedResult.
I have tested with a USB webcam to verify that the ksvideosrc does at least work for something and it does work with a USB web camera.
Also all devices on this card appear to have the same issue. I also get this same behavior from autovideosrc as well.
Let me know if I can provide anymore information, or if anyone has any suggestions on things to try.
Attached is my GST_DEBUG=ks*:4 output.
Attachment 351570, "GST_DEBUG=ks*:4 output":
ksvideosrc_debug_4_output.txt
Version: 1.12.0