Mosaic View 4 RTSP Streams to one RTSP Stream help needed

Antonio Ospite ao2 at ao2.it
Sat Jun 12 08:43:24 UTC 2021


On Thu, 10 Jun 2021 04:47:02 -0500 (CDT)
strab via gstreamer-devel <gstreamer-devel at lists.freedesktop.org> wrote:

> this solution throws an error too....
> 
> gst-launch-1.0 -v \
> videomixer name=mix \
> sink_0::xpos=0 sink_0::ypos=0  sink_0::alpha=0
> sink_1::xpos=0 sink_1::ypos=0 
> sink_2::xpos=320 sink_2::ypos=0 
> sink_3::xpos=0 sink_3::ypos=240 
> sink_4::xpos=320 sink_4::ypos=240 
> uridecodebin uri=rtsp://uri ! videoscale ! video/x-raw,width=320,height=240
> \ ! mix.sink_1 \
> uridecodebin uri=rtsp://uri ! videoscale ! video/x-raw,width=320,height=240
> \ ! mix.sink_2 \
> uridecodebin uri=rtsp://uri ! videoscale ! video/x-raw,width=320,height=240
> \ ! mix.sink_3 \
> uridecodebin uri=rtsp://uri ! videoscale ! video/x-raw,width=320,height=240
> \ ! mix.sink_4 \
> mix. ! queue ! x264enc ! rtph264pay name=pay0 pt=96 ! videoconvert !
> uridecodebin uri=rtsp://127.0.0.1:8554/test ! autovideosink sync=false

With gst-launch-1.0 you must be extra-careful to continuation
separators, at the end of each line, while with test-launch you might
not have to because the argument is a single string.

Also, if this is meant to be a local test, you probably want to use
"decodebin" with no properties instead of the very last uridecodebin
which is meant for the case when you have an actual server.

Ciao,
   Antonio 

-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?


More information about the gstreamer-devel mailing list