did you mean output different resolution with different sensor modes?
besides nvgstcapture, there’s gst-launch which have more straightforward options to configure the output resolution.
for example,
it will also show the sensor capability, and the sensor mode used for streaming,
for example,
Available Sensor modes :
2592 x 1944 FR=30.000000 CF=0x1109208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
2592 x 1458 FR=30.000000 CF=0x1109208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
1280 x 720 FR=120.000000 CF=0x1109208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
NvCameraSrc: Trying To Set Default Camera Resolution. Selected sensorModeIndex = 1 WxH = 2592x1458 FrameRate = 30.000000 ...
I contacted an OV(OmniVision) engineer to discuss this issue.
He said that OV5693 is a simple sensor without ISP, then it only transfer raw-data to some other ISP, here X1/X2.
To modify image resolution(not same view different H x W, but wider or narrower view),
device driver to control ISP should be handled, he said.
After several test on the Linux, I think TX1/TX2 ISP might fix an image resolution(H x W) like this.
If YES, I need how to modify that to make it.
I tested your advice, and confirmed FoV is varied. (I will use FoV to distinguish from resolution)
However, it’s not understandable that there are very mere gap between width 2592 and 1920 video.
Even 640 x 480 FoV, it has similar result.
please check your sensor specification,
in generally, sensor vendor would provide lower resolution image with maintaining the field-of-view.
this approach will used binning-mode (or something else) to subsampling the source image.
may i know what’s your use-case?
please illustrate your FoV expectation.
thanks
I asked datasheet of OV5693 sensor to local distributor.
(but he/she said this camera sensor does not configuration features and have no chances to change image resolutions)
My customer wants use various resolution images from a camera module by configuration.
I attach a image what I expect.
you may use the nvvidconv element to crop the source image to output the desire region,
for example,
below command would crop an 640x480 region from source image,
If I ask more questions,
nvgstcapture util has a ‘j’ command to capture images,
does gst-launch-1.0 have any command to do this?
(captured image should have chaged FoV)
And, nvvidconv has 4 arguments; left, right, top, bottom.
It seems like that base coordinate, here, is (100, 100), and offset is 640 to row and 480 to column, isn’t it?
unfortunately, gst-launch-1.0 don’t support keyevents interrupt.
since Argus is also based on gstreamer, you could check the Argus samples in the L4T Multimedia API.
please have the implementation for your use-case,
thanks