How to use glimagesink in dmabuf mode

saketbafna82 at gmail.com saketbafna82 at gmail.com
Fri Feb 24 11:22:27 UTC 2017


[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



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-use-glimagesink-in-dmabuf-mode-tp4682020.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list