I want to control the size of my overlay so that I can mix 2 inages into it in desired positions and resolutions.
gst-inspect-1.0 nvoverlaysink tells me I can set overlay-x, overlay-y, overlay-w, overlay-h.
gst-launch-1.0 nvcamerasrc fpsRange="30.0 30.0" sensor-id=0 ! 'video/x-raw(memory:NVMM), width=(int)3840, height=(int)2160, format=(string)I420, framerate=(fraction)30/1' ! nvvidconv flip-method=0 ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)I420' ! nvoverlaysink 'overlay-x=(int)100, overlay-y=int(100)' -e
fails with
WARNING: erroneous pipeline: could not set property “overlay-x” in element “nvoverlaysink-nvoverlaysink0” to “(int)100, overlay-y=int(100)”
How can I use overlay-x and overlay-y?
Is there a simpler way to be sure I render exactly the number of pixels that I specify onto my UHD monitor.