VIC Configuration failed image scale factor exceeds 16, use GPU for Transformation

1,HardWare:Jetson Xavier NX moules; SoftWareVersion:R35.4.1;
2,I want to crop a video to two halves(left & right), but when i test the left one, it returns the error as the title,
the command is below

gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! nvvidconv left=0 right=384 ! 'video/x-raw,format=YUY2,width=768, height=288, framerate=50/1' ! videoconvert ! jpegenc ! filesink location=file_test1.jpg

3,I secharded for some solutions, that is change the “scaling-compute-hw=1” in the configure file.
but I didn’t use deepstreamer yet, and the solutions didn’t mention the path of the configure file. Now I need some help, thanks!

Please refer to the pipeline and apply to your use-case:

~$ gst-launch-1.0 v4l2src device=/dev/video2 num-buffers=1 ! video/x-raw,width=640,height=480,format=UYVY ! nvvidconv ! nvvidconv left=0 right=384 top=0 bottom=480 ! 'video/x-raw,width=384, height=288' ! videoconvert ! jpegenc ! filesink location=file_test1.jpg

We use the USB camera supporting 648x480 UYVY as v4l2src. You would need to change it accordingly with your camera source.

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