Hello,
I’m facing an issue with the use of the nvcompositor gstreamer element on my Nvidia Jetson Tegra NX.
I’m trying to merge two rtsp h264 streams into one and have a side by side view. I successfuly displayed it using two dummy video streams (videotestsrc element) and also using two instances of the same h264 stream.
When I connect two H264 cameras i get a SIGSEGV error.
Here is my pipeline:
gst-launch-1.0 nvcompositor interpolation-method=4 name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=960 sink_0::height=540 sink_1::xpos=960 sink_1::ypos=0 sink_1::width=960 sink_1::height=540 sink_2::xpos=0 sink_2::ypos=540 sink_2::width=960 sink_2::height=540 sink_3::xpos=960 sink_3::ypos=540 sink_3::width=960 sink_3::height=540 ! nvvidconv ! nv3dsink rtspsrc location=rtsp://**** latency=0 is-live=true ! rtph264depay ! h264parse ! nvv4l2decoder enable-max-performance=1 ! queue2 ! nvvidconv ! video/x-raw\(memory:NVMM\),format=RGBA ! comp.sink_0 rtspsrc location=rtsp://**** latency=0 is-live=true ! rtph264depay ! h264parse ! nvv4l2decoder enable-max-performance=1 ! queue2 ! nvvidconv ! video/x-raw\(memory:NVMM\),format=RGBA ! comp.sink_1
Here is the output:
Setting pipeline to PAUSED …
Opening in BLOCKING MODE
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (open) Opening Stream
Pipeline is PREROLLED …
Prerolled, waiting for progress to finish…
Progress: (connect) Connecting to rtsp://admin:ECA123456@172.43.40.11:554/Streaming/Channels/101
Progress: (connect) Connecting to rtsp://admin:123456@172.43.80.204:554/h264
Progress: (open) Retrieving server options
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING …
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) SETUP stream 1
Progress: (request) Sending PLAY request
Progress: (open) Opened Stream
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Progress: (request) Sent PLAY request
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Caught SIGSEGV
Spinning. Please run ‘gdb gst-launch-1.0 9375’ to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.