How to use glimagesink in dmabuf mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to use glimagesink in dmabuf mode

saketbafna82@gmail.com

[tag] [reply] [−] 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
Loading...