tee pipeline

horai ivo.hora at seznam.cz
Sat Nov 2 10:26:11 UTC 2019


Dear all, 

we realized these pieces of information, since we changed approach and
modified pipeline this way for server:

rpicamsrc preview=false bitrate=1000000 ! video/x-h264,
width=1280,height=720,framerate=30/1 ! tee name=t t. ! queue ! h264parse !
rtph264pay name=pay0 pt=96 t. ! queue !  h264parse ! omxh264dec !
video/x-raw ! videoscale ! video/x-raw, width=640,height=480,framerate=30/1
! omxh264enc target-bitrate=1000000 control-rate=variable  !
video/x-h264,width=640, height=480, framerate=30/1, profile=(string)high !
h264parse !  rtph264pay name=pay1 pt=96

It does not work either, but I decomposed both branches to single ones;
1. works
gst-launch-1.0 -v rpicamsrc ! video/x-h264,
width=1280,height=720,framerate=30/1  ! h264parse ! omxh264dec ! video/x-raw
! videoscale ! video/x-raw, width=640,height=480,framerate=30/1 !
autovideosink
2.  works
gst-launch-1.0 -v rpicamsrc ! video/x-h264,
width=1280,height=720,framerate=30/1  ! h264parse ! omxh264dec !
autovideosink
3. Together switching sinks, don't work:
gst-launch-1.0 -v rpicamsrc preview=false bitrate=1000000 ! video/x-h264,
width=1280,height=720,framerate=30/1 ! tee name=t t. ! queue ! h264parse !
omxh264dec ! autovideosink  t. ! queue !  h264parse ! omxh264dec !
video/x-raw ! videoscale ! video/x-raw, width=640,height=480,framerate=30/1
! fakesink



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list