Mosaic View 4 RTSP Streams to one RTSP Stream help needed

Antonio Ospite ao2 at ao2.it
Sat Jun 12 08:38:21 UTC 2021


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

> Changing videotestsrc to an local rtsp stream from an ip camera.
> 
> ./test-launch "( videotestsrc !
> videomixer name=comp 
> 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 
> 
> 
> ! videoconvert ! video/x-raw,format=NV12 ! x264enc ! rtph264pay name=pay0
> pt=96 
> uridecodebin uri=rtsp://user:pass@10.0.01/stream1 ! comp.sink_1  
> videotestsrc ! comp.sink_2 
> videotestsrc ! comp.sink_3 
> videotestsrc ! comp.sink_4 )
> " & sleep 1 && gst-launch-1.0 uridecodebin uri=rtsp://127.0.0.1:8554/test !
> autovideosink && killall test-launch 
> 
> why didnt it run, it shows only the the 4 testvideo in a mosaic, where is my
> error, to change one of them to my live videostream?
> 

Always look at the log messages spit out by setting the
GST_DEBUG=3 env variable when something fails and you will find the
answer there most of the time.

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