Hello,
We have a Jetson TX2 with two cameras which we used to call in python code like:
nvgstcapture-1.0 --sensor-id=0 -A --capture-auto -S 0 --image-res=12 --file-name=Center_100
nvgstcapture-1.0 --sensor-id=1 -A --capture-auto -S 0 --image-res=12 --file-name=Top_100
It used to give us photos from different sensors. After flashing and updating, something has changed and whichever --sensor-id we put in the same one camera shoots. Running the app from terminal yields the same results, and the output is (for example):
nvgstcapture-1.0 -A --toggle-sensor
Encoder null, cannot set bitrate!
Encoder Profile = High
bitrate = 4000000
Encoder Profile = High
** Message: main:5684 iterating capture loop …
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 640 H = 480
seconds to Run = 0
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
Starting automation…
Sensor-id changed to : 1
GST_ARGUS: Cleaning up
CONSUMER: Done Success
GST_ARGUS: Done Success
bitrate = 4000000
Encoder Profile = High
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 640 H = 480
seconds to Run = 0
Framerate set to : 30 at NvxVideoEncoderSetParameterNvMMLiteOpen : Block : BlockType = 4
===== MSENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected…
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
GST_ARGUS: Cleaning up
CONSUMER: Done Success
GST_ARGUS: Done Success
** Message: main:5694 Capture completed
** Message: main:5745 Camera application will now exit
I need one photo from each camera, not two photos from the same camera. What am I doing wrong? Is there something I can do to fix this?