Nvarguscamerasrc changing sensor_id at runtime


I have a c++ Application where I have a gstreamer Pipeline using nvarguscamerasrc.

At runtime, I need to change the camera.

I was wondering if it is possible to change the sensor_id property of the nvarguscamerasrc at runtime or if it is
recommended to stop the pipeline and create a new pipeline with the different sensor-id.

Kind regards

hello knezevic,

it’s not supported via gstreamer pipeline with nvarguscamerasrc,
you must terminate the camera stream (i.e. sensor-id=0), and re-initial a new camera stream (i.e. sensor-id=1).

there’s a sample application argus_camera, which has user-interface for selecting/launching different sensor nodes at runtime.
you may download MMAPI, $ sudo apt install nvidia-l4t-jetson-multimedia-api
please checking jetson_multimedia_api/argus/README.TXT for the instructions to build the Argus samples.

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