GStreamer videobox not works

Johan Basore johan_dream at hotmail.com
Sun Apr 24 13:51:46 UTC 2016


I am working with GStreamer iOS SDK now and have a problem with videobox
element.
I have created a videobox element and put the parameters required, but it
doesn't works at all.
Here are source codes.

/**************************************************************************/

    g_object_set(videobox1,"border-alpha", 0, "top", 0, "left", -100 ,
NULL);

    gst_bin_add_many(GST_BIN (pipeline), source1, decodebin1, clrspace1,
videobox1, videomixer, clrspace, h264enc, mpegtsmux, sink,
                      source2, decodebin2, clrspace2, filter1, filter2,
videoscale1, videoscale2, nil);

    gst_element_link(source1, decodebin1);
    gst_element_link_many(clrspace1, videoscale1, filter1, videomixer, nil);
    gst_element_link(source2, decodebin2);
    gst_element_link_many(clrspace2, videoscale2, filter2, videobox1,
videomixer, nil);
    gst_element_link_many(videomixer, clrspace, h264enc, mpegtsmux, sink,
nil);

/**************************************************************************/

As you can see, I created "videobox1" and set parameters as "top= 0,
left=-100".
So I thought that "source2" must be placed at (100, 0), but it is placed at
(0, 0) now. Videobox1 didn't work at all.

Does anyone can help me?

Thanks



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/GStreamer-videobox-not-works-tp4677078.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list