After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762645 - avfvideosrc: video/x-raw(memory:GLMemory) fails to capture video from camera
avfvideosrc: video/x-raw(memory:GLMemory) fails to capture video from camera
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Mac OS
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-24 20:34 UTC by Joe Gorse
Modified: 2018-11-03 13:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joe Gorse 2016-02-24 20:34:27 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
Comment 1 Joe Gorse 2016-03-02 17:33:12 UTC
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
Comment 2 Joe Gorse 2016-03-02 17:40:59 UTC
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
Comment 3 Philippe Normand 2016-06-06 17:30:11 UTC
Doesn't work for me, even when I set caps supported by the device.
Comment 4 Philippe Normand 2018-02-17 11:12:08 UTC
This works for me now (with git master / 1.13.1). Can you test again on your side please?
Comment 5 GStreamer system administrator 2018-11-03 13:46:46 UTC
-- 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.