Mosaic View 4 RTSP Streams to one RTSP Stream help needed

strab nico.reichert at strabag.com
Wed Jun 2 10:18:30 UTC 2021


When i use the following snipped nothing happends.

I want to reach that i have 1 rtsp stream with an mosaic of 4 in it.

Is anybody ther that knows the problem in my command?

thx and an nice day strab

gst-launch-1.0 -e \
compositor name=mix \
sink_0::xpos=0 sink_0::ypos=0 sink_0::alpha=0\
sink_1::xpos=0 sink_0::ypos=0 \
sink_2::xpos=320 sink_1::ypos=0 \
sink_3::xpos=0 sink_2::ypos=240 \
sink_4::xpos=320 sink_3::ypos=240 \
uridecodebin uri=rtsp://ip \
! videoconvert ! videoscale \
! video/x-raw,width=320,height=240 \
! mix.sink_1 \
uridecodebin uri=rtsp://ip  \
! decodebin max-size-time=30000000000 \
! videoconvert ! videoscale \
! video/x-raw,width=320,height=240 \
! mix.sink_2 \
uridecodebin uri=rtsp://ip  \
! decodebin max-size-time=30000000000 \
! videoconvert ! videoscale \
! video/x-raw,width=320,height=240 \
! mix.sink_3 \
uridecodebin uri=rtsp://ip  \
! decodebin max-size-time=30000000000 \
! videoconvert ! videoscale \
! video/x-raw,width=320,height=240 \
! mix.sink_4 \

mix. ! queue ! videoconvert ! gst-launch-1.0 -v rtspsrc
location=rtsp://ip:8554 latency=0 ! rtph264depay ! decodebin ! autovideosink 



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


More information about the gstreamer-devel mailing list