Hello,
I am using a jetson nano board
jetpack 4.6
deepstream 6.0
cuda 10.1
I am trying to feed 4 IP cameras to NVCompositor but it doesn’t work, and it doesn’t work for two cameras as well.
NVCompositor appears to have some problems as it only works with one camera.
Referring to these topics that have similar issues:
This is on the latest jetpack 5.0.2
We have a custom gstreamer based application where to keep it simple we implement 4 App sources which we feed into an nvcompositor, the app sources and nvcompositor are seperate pipelines linked through gst-interpipe.
However about 9 out of 10 times it crashes, so I compiled my own gst-nvcompositor, (which by the way did not work out of box, a pkgconfig pkg in the makefile was not found and the libs was still set to nvbuf_utils and not nvbufsurface/nvbufsurf…
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_…
is there any solution for this problem compatible with my release (mentioned above)
I’m not sure it’ll fix your specific issue but what helped me was building the plugin from source with this patch applied: Gst for merging 4 webcams sometimes works, and sometimes it doesn't - #5 by DaneLLL
The above helped me for the compositor side because I saw it had issues with async sources coming up at later times
Besides that, as per my original post, add a check if the attribute pointer exists before accessing it, it’ll go through that loop again later on anyway and set things up correctly
1 Like
thanks for your reply,
I applied the patch meningitis here,
Hi,
Please replace with attached prebuilt lib and set background-w, background-h:
... ! nvcompositor background-w=2560 background-h=1440 ... ! ...
We have tried with two E-Con CU135 and it works fine. Please give it a try.
r32_43_TEST_libgstnvcompositor.zip (12.2 KB)
And it didn’t fix the issue.
I believe I would need this fix you mentioned here as well(“add a check if the attribute pointer exists before accessing it, it’ll go through that loop again later on anyway and set things up correctly”), so I wanted to know how did you manage to add this fix and build your own nvcompositor library. I tried to download the source code and it only include the header files and make file, so how could you get the c files to apply the fix?
Hi,
Please apply this patch and rebuild nvcompositor plugin:
Gst for merging 4 webcams sometimes works, and sometimes it doesn't - #5 by DaneLLL
And set background-w and background-h properties accordingly. Please try single, source, two sources, three, and then 4 sources.
1 Like
thanks for your reply
please, can you show me the steps to rebuild?
Hi,
Please download the source code package:
https://developer.nvidia.com/embedded/linux-tegra-r3261
L4T Driver Package (BSP) Sources
And you can see source code of nvcompositor plugin. Please follow README to build it.
1 Like
Hi,
I tried to add this fix and rebuild it, I managed to rebuild it successfully but it still only streams from one camera only
system
Closed
April 12, 2023, 6:40am
11
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.