run camera_v4l2_cuda Error

shell script like this:
nvidia@tegra-ubuntu:~/tegra_multimedia_api/samples/12_camera_v4l2_cuda$./camera_v4l2_cuda -d /dev/video0 -s 640x480 -f UYVY -n 30 -c

ERROR: camera_initialize(): (line:238) Failed to set camera output format: Invalid argument (22)
ERROR: init_components(): (line:336) Failed to initialize camera device
ERROR: main(): (line:718) Failed to initialize v4l2 components
App run failed

You may check :https://devtalk.nvidia.com/default/topic/1016726/jetson-tx2/cannot-run-example-12_camera_v4l2_cuda-/post/5179811/#5179811.