tee pipeline

horai ivo.hora at seznam.cz
Sat Nov 2 15:15:57 UTC 2019


Partially resolved.The correct pipeline for the server is this:
rpicamsrc preview=false bitrate=1000000 !
video/x-h264,width=1280,height=720,framerate=30/1 ! tee name=t t. ! queue !
h264parse ! rtph264pay name=pay1 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, profile=(string)high ! h264parse !
rtph264pay name=pay0 pt=96


Pipeline to run first branch of tee stream on client:
gst-launch-1.0 -v rtspsrc
location="rtsp://user:password@192.168.0.102:8554/test" latency=0 !
rtph264depay ! h264parse ! vaapih264dec ! autovideosink

For running the other tee branch, you have to swap name=pay1 to name=pay0 on
server side and server as well as client.

That means our server side is fine, we just have to learn, how to use
select-stream signal handler in order to run appropriate payload from C
application.

If anyone is willing to help, would be perfect. Would be nice to rewrite the
pipeline with usage of v4l codecs.
Thank you
 





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


More information about the gstreamer-devel mailing list