Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-bad
gst-plugins-bad
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,011
    • Issues 1,011
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 199
    • Merge Requests 199
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #555

Closed
Open
Opened May 10, 2017 by Bugzilla Migration User@bugzilla-migration

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-plugins-bad#555