How many REAL pixels does the Jetson TX2 onboard camera have?

Hi everyone,
I’m working on the Jetson tx2 for my Project. I need need to know how many pixels does the sensor of the onboard camera have.

I’ve searched in Internet and came to the result that the onboard camera is a 5 Megapixel fixed focus camera.

But what confuses me is that when i checked the available resolution using the nvgstcapture -help, i get the follwing info :


Supported resolutions in case of NvArgusCamera
(2) : 640x480
(3) : 1280x720
(4) : 1920x1080
(5) : 2104x1560
(6) : 2592x1944
(7) : 2616x1472
(8) : 3840x2160
(9) : 3896x2192
(10): 4208x3120
(11): 5632x3168
(12): 5632x4224

As you see above we can take pictures with resolution bigger than 5 megapixel. So how is this possible and which resolution is the maximum real resolution that the onboard_camera supports?

I need to know the real resolution in order to take pictures for some objects

Thanks in Advance

Please check the sensor cap by v4l2-ctl --list-formats-ext

Thank you for your help. I got useful info:


VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: ‘BG10’
Name : 10-bit Bayer BGBG/GRGR
Size: Discrete 2592x1944
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 2592x1458
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.008s (120.000 fps)

but does that mean that i cannot take videos with resolution other than the above mentioned ( for example(2560x1960)?

-I also have a question regarding the resolution :

I recorded a video with full resolution (2592x1944). It should give me 30 frames per second when i play the video. But the fact is, that when i play the video it is played with less than a frame per second, i mean it’s too slow and doesn’t give 30 freme per second for the highest resolution as the command displays.

I also recorded a video with minimal resolution (1280x720). It should have given me 120 frames pro seconds as displayed but i didn’t notice any difference between recording 1280x720 and a 1920x1080 video.

-Can you also explain the does BG10 and 10-bit Bayer BGBG/GRGR mean?. I searched in Internet but didn’t find anything that really describes what it is.

I would be thankful if you could explain this to me

Thanks in Advance
Khaled

You may need to check the frame rat by metadata should be more precisely than the preview.
The frame rate not as expect could be the display refresh rate for the 120 fps.

Below is the define for the bayer format.
https://www.kernel.org/doc/html/latest/media/uapi/v4l/pixfmt-bayer.html