how do I convert this pipeline to gstreamer C language?(videomixer name=mix)

zhang007z zhang007z at gmail.com
Thu Dec 24 21:19:41 PST 2015


for example pipeline:
gst-launch -e videomixer name=mix ! ffmpegcolorspace ! xvimagesink \
   videotestsrc pattern=1 ! video/x-raw-yuv, framerate=5/1, width=320,
height=180 ! videobox border-alpha=0 top=0 left=0 ! mix. \
   videotestsrc pattern=15 ! video/x-raw-yuv, framerate=5/1, width=320,
height=180 ! videobox border-alpha=0 top=0 left=-320 ! mix. \
   videotestsrc pattern=13 ! video/x-raw-yuv, framerate=5/1, width=320,
height=180 ! videobox border-alpha=0 top=-180 left=0 ! mix. \
   videotestsrc pattern=0 ! video/x-raw-yuv, framerate=5/1, width=320,
height=180 ! videobox border-alpha=0 top=-180 left=-320 ! mix. \
   videotestsrc pattern=3 ! video/x-raw-yuv, framerate=5/1, width=640,
height=360 ! mix.

I want to covert above pipleline command to C language code with gstreamer
native function.
I confuse that how to use "mix" link other plugins in C language?
(videomixer plugin named "mix"),I don't know how to convert ? I see some
examples , they use C language to link between none-name plugins,I don't
know that how to using name "mix" for videomixer plugin link each other in C
code ?

if you take time for solving my issue, thank you in advance, please write
converting C code of above pipeline.




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/how-do-I-convert-this-pipeline-to-gstreamer-C-language-videomixer-name-mix-tp4675020.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list