Merging pipelines
JPM
jpmelian at gmail.com
Fri Jun 21 17:15:05 UTC 2019
Hi,
"src1 ! .. ! sink1 src2 ! ... ! sink2" does not work and if I use
gst_parse_bin_from_description
gst_parse_launch does not recognize bin1 and bin2 elements.
GstElement *bin1 = gst_parse_bin_from_description("udpsrc
multicast-group=224.1.1.1 auto-multicast=true port=6000 !
image/jpeg,width=1280,height=720,framerate=31/1 ! jpegparse ! queue !
decodebin ! autovideosink sync=false", TRUE, NULL);
GstElement *bin2 = gst_parse_bin_from_description("udpsrc
multicast-group=224.1.1.2 auto-multicast=true port=6000 !
audio/x-raw,format=S16LE,rate=48000,channels=1 ! volume volume=10 ! \
audioconvert ! autoaudiosink sync=false", TRUE, NULL);
GstElement *pipeline = gst_parse_launch("bin1 bin2", &error);
Regards.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list