nvcompositor does not work

Hi,

nvcompositor does not work when the video source is a camera

my gstreamer command :

gst-launch-1.0 nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1280 sink_0::height=720 ! nvoverlaysink sync=0 nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), format=NV12, width=1280, height=720, framerate=60/1’ ! comp.

Hi,
It is not supported.
Please check user guide https://developer.nvidia.com/embedded/dlc/l4t-accelerated-gstreamer-guide-32-1

e nvcompositor supports video decode (gst-omx) with the overlay
render pipeline for gst-1.14.

Hi Dane,

So nvcompositor only supports decoded streams?
is it possible to support the video stream from the camera in the future?
or can you provide source code for me to implement?
Thanks!

Hi,
nvcompositor plugin is implemented with tegra_multimedia_api. You may refer to NvBufferComposite() defined in nvbuf_utils.h.

Hi,

I found that using videotestsrc is working, i think nvcompositor and nvarguscamerasrc should just be somewhere incompatible.

my gstreamer command :

gst-launch-1.0 nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 sink_0::height=1080 ! autovideoconvert ! nvoverlaysink sync=0 videotestsrc ! comp.

Can you try to find out the problem?
or can provide the source code of the nvcompositor to me?
i found an composite example in mmapi, I should be able to try to modify it to be compatible with nvarguscamerasrc

Thanks!

Hi,

or can provide the source code of the nvcompositor to me?

The source code is not open to public.