Nvcompositor + nvdrmvideosink: Capturing videos with odd number of lines/columns

Hi everybody,

I am wondering how to set an odd value to the pad properties of xpos, ypos, width and height. What is the reason for this behavior?

The following screenshot shows the messages, which are output if the pad properties width & height are set to an odd value:


This is the GStreamer Pipeline that created the above messages:

sudo gst-launch-1.0 -e -v nvcompositor background=0 name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1921 sink_0::height=1081 ! nvdrmvideosink set-mode=1 color-range=1 videotestsrc ! 'video/x-raw, format=(string)RGBA, width=(int)1921, height=(int)1081' ! nvvidconv ! 'video/x-raw(memory:NVMM)' ! comp.

Thanks in advance!
Bruno

Hi,
It is constraint of hardware engine. Please set even values to width and height.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.