Bug 99940

Summary: How to use glimagesink in dmabuf mode
Product: gstreamer Reporter: saket kumar bafna <saketbafna82>
Component: accountAssignee: Thomas Vander Stichele <thomas>
Status: RESOLVED NOTABUG QA Contact:
Severity: critical    
Priority: high CC: tim
Version: unspecified   
Hardware: ARM   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description saket kumar bafna 2017-02-24 10:41:00 UTC
Hi,

I am doing one experiment in which I want to use multiple instance of capture, mix and display.

I am using below pipeline to do:

gst-launch-1.0 glvideomixer name=m sink_0::xpos=0 sink_1::xpos=1920 ! \
        'video/x-raw, width=3840, height=2160, framerate=30/1' ! glimagesink \
    v4l2src  io-mode=4  !  'video/x-raw, format=(string)NV12, width=1920, height=1080, framerate=30/1' \
           ! m. \
    gltestsrc num-buffers=1000 pattern=21 !  'video/x-raw, format=(string)NV12, width=1920, height=1080, framerate=30/1' \
            ! m. \


but, want to use in zero copy way means using dmabuf support.

I have already verified that, V4l2src is having support but, how to enable same at glvideomixer/glimagesink.


using gstreamer version 1.8.4 + Maali h/w for graphics.
I saw one bug @
https://lists.freedesktop.org/archives/gstreamer-bugs/2015-January/140299.html
it seems that, dmabuf support is already supported in glimagesink.
but, for me I am not able to achieve.

Please help.

Regards
Saket Bafna
Comment 1 Tim Müller 2017-02-24 11:05:56 UTC
Hello,

Thanks for your interest in GStreamer.

This is a bug tracker, please post your support questions to the gstreamer-devel mailing list.

(Also note that this bug tracker is only for account requests, our proper bug tracker is on bugzilla.gnome.org).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.