i need to crop the input source to the my pipeline
so i found the nvconvert , it have src-crop, dst-crop
i used it but i think it does not free the gpu buffer and does not re-allocate cropped size buffer
i found it using compositor, when i using compositor it present black padding except cropped region
nvvideoconvert can re-allocate cropped size buffer. You need capsfilter in downstream to tell nvvideoconvert the output size you want.
For example, the following pipeline works as expected:
but i tested something (c-application)
my pipeline works as below
src -caps(Width Height) -videoconvert-caps(nvmm)-queue-mux ----~~~
but
below pipeline does not work(linked error maybe)
src-caps(Width Height) -videoconvert-caps(nvmm)-videoconvert(src-crop) - caps(Width Height, nvmm) -tee -queue----~~~~