I am using agx orin devkit and jetson version is r36.4
I try to switch camera sensor mode and it is workable by using “v4l2-ctl -d /dev/video${IDX} --set-ctrl sensor_mode=${MODE}“ with MODE=0 or 1 , then check the switch result by “gst-launch-1.0 nvv4l2camerasrc device=/dev/video${IDX} ! “video/x-raw(memory:NVMM), format=UYVY, width=3840, height=1020” ! nvvidconv ! video/x-raw, format=${FMT} ! xvimagesink“
But, it fails by using “gst-launch-1.0 nvarguscamerasrc sensor-id=${IDX} sensor-mode={MODE} ! ….” ,it only works with MODE=0 but fail with MODE=1, why?
Hello @artiewang
Could you provide the gst-launch-1.0 log messages when failing? Also, what are the modes? Could you please provide your sensor device tree file?
Regards!
Eduardo Salazar
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com
You may need to add the width height in the command also.
Thanks