Jetson argus_camera application camera devices listing

Hi Team,

I am using the argus_camera application to stream 4 cameras. I want to fix the camera modules to a particular port index.
Ex : video2 video3 vide4 video5

But the argus_camera application gets the available camera details and lists them out from 0 to 4.

Is there a way to modify the argus_camera application to numbering the camera devices as static ?

What’s the use case?
The argus low level ID always start from 0.
For WAR you can modify the argus_camera to remap it as your request.

Thanks

In my use case, I may disconnect some cameras based on the scenario. But I want the “/dev/video” node should be fixed with the camera modules

When 2 cameras are disconnected
Cam # → V4L2 Domain | Argus Domain

Cam 0 → ----------- | -----------
Cam 1 → ----------- | -----------
Cam 2 → /dev/video2 | sensor-id=2
Cam 3 → /dev/video3 | sensor-id=3
Cam 4 → /dev/video4 | sensor-id=4
Cam 5 → /dev/video5 | sensor-id=5

OK, then I would suggest using v4l2-ctl --list-devices or any others v4l2 API to get the sensor module like i2c address to modify the argus_camera to remap it as your request.

Thanks

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