GNOME Bugzilla – Bug 762645
avfvideosrc: video/x-raw(memory:GLMemory) fails to capture video from camera
Last modified: 2018-11-03 13:46:46 UTC
The OpenGL caps does not to work on OS X 10.11.3. Fails with a green screen: gst-launch-1.0 avfvideosrc ! videoscale ! videoconvert ! "video/x-raw(memory:GLMemory),width=640,height=480" ! glimagesink Succeeds: gst-launch-1.0 avfvideosrc ! videoscale ! videoconvert ! "video/x-raw,width=640,height=480" ! glimagesink
Note that the same green screen behavior occurs without the frame size caps: gst-launch-1.0 avfvideosrc ! videoscale ! videoconvert ! "video/x-raw(memory:GLMemory)" ! glimagesink
This appears to be resolved if we use a resolution actually supported by the camera: gst-launch-1.0 avfvideosrc device-index=0 ! "video/x-raw(memory:GLMemory),width=1280,height=720" ! glimagesink
Doesn't work for me, even when I set caps supported by the device.
This works for me now (with git master / 1.13.1). Can you test again on your side please?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/351.