Thanks for your answer. I have another problem.

johan basore johan_dream at hotmail.com
Sat Apr 23 10:46:00 UTC 2016


Hello,

 

Thanks for your answer for my question with GStreamer.

I have added "pad-added" and it works well.

But I have another problem with videobox. I am a beginner for GStreamer.

Please have a look at my codes;

 

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

 

    gst_bin_add_many(GST_BIN (pipeline), source1, decodebin1, clrspace1,
videobox1, videomixer, clrspace, h264enc, mpegtsmux, sink,

                      source2, decodebin2, clrspace2, filter1, filter2,
videoscale1, videoscale2, queue1, 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);

 

I wrote the videobox as the samples, but it not works.

Just places at (0,0) at the screen.

I hope you to help me once again.

Thanks again.

 

Johan Basore

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160423/95391d74/attachment.html>


More information about the gstreamer-devel mailing list