tee pipeline
horai
ivo.hora at seznam.cz
Thu Oct 17 05:48:49 UTC 2019
Dear all,
I have gst-rtsp-server running on Raspberry Pi feeding it with pipeline from
xml file:
<machine0_pipeline>rpicamsrc preview=false ! video/x-raw,
width=1280,height=720,framerate=30/1 ! tee name=t t. ! queue ! omxh264enc
target-bitrate=1000000 control-rate=variable ! video/x-h264,width=1280,
height=720, framerate=30/1, profile=(string)high ! rtph264pay
config-interval=1 name=pay0 pt=96 t. ! queue ! videoconvert ! videoscale !
video/x-raw, width=640,height=480 ! omxh264enc target-bitrate=1000000
control-rate=variable ! video/x-h264,width=640, height=480, framerate=30/1,
profile=(string)high ! rtph264pay config-interval=1 name=pay1
pt=96</machine0_pipeline>
I want to run only one of the pipelines therefore I am selecting it via
select-stream signal handler:
static gboolean on_select_stream_cb(GstElement *element, GstPad *pad,
GstCaps* arg1, void *data) {
gboolean val = (pad == 1) ? value : !value;
return val;
}
Gstreamer opens window with single image of video stream corresponding to
value of variable value but the video does not proceed further.
Could you please tell me what I am doing wrong?
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list