mixed video background color
Johan Basore
johan_dream at hotmail.com
Fri May 6 05:18:52 UTC 2016
Hello everyone,
I composed 2 video streams into one video. So it works well.
But the problem is that the background of mixed video is transparent.
I want a solid black background.
Is there any way?
Here are source codes and screenshots.
***********************************************************
gst_element_link(source1, decodebin1);
gst_element_link(source2, decodebin2);
g_signal_connect(decodebin1, "pad-added",
G_CALLBACK(on_pad_added_video1), clrspace1);
g_signal_connect(decodebin2, "pad-added",
G_CALLBACK(on_pad_added_video2), clrspace2);
gst_element_link_many(clrspace1, videoscale1, filter1, videomixer, nil);
gst_element_link_many(clrspace2, videoscale2, filter2, videomixer, nil);
gst_element_link_many(videomixer, outfilter, clrspace, h264enc,
mpegtsmux, sink, nil);
***********************************************************
<http://gstreamer-devel.966125.n4.nabble.com/file/n4677353/videomixer.png>
Thanks
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/mixed-video-background-color-tp4677353.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list