New Camera Frame Serializer seems to fail

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
2.1.0
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Issue Description
Hi,

We are exploring the async-record capabilities of the new Sensor Serializer. When I try to run the sample code with the following rig file, it never seems to work. This is the command that I ran:

./sample_camera --rig=rig_test.json --write-file=output.mp4 --offscreen=2

I tried with output.h264 and output.h265, but the error message says that the new codec only support mp4. Then, I started changing the parameters in the rig file. The only thing I know how to change is the “output-format” field. I will put output-format → error string in the next section. We have V1SIM728S1RU3120NB20 cameras. Does this mean that the new codec doesn’t support our cameras? Thanks!
rig.txt (1.4 KB)

Error String
output-format=raw:

[21-09-2024 21:09:59] Driveworks exception thrown: DW_INVALID_ARGUMENT: Support H264/H265 and LRAW encoder only

output-format=processed

[21-09-2024 21:10:30] Driveworks exception thrown: DW_INVALID_ARGUMENT: Support H264/H265 and LRAW encoder only

output-format=processed1

[21-09-2024 21:11:22] Driveworks exception thrown: DW_NOT_SUPPORTED: CameraClient: ISP0 and ISP1 Image Properties are same, not supported, set different attributes

output-format=processed2

[21-09-2024 21:12:00] Driveworks exception thrown: DW_INVALID_ARGUMENT: Support H264/H265 and LRAW encoder only

Dear @extern.ray.xie,
I tested with V1SIM728S1RU3070HB20 module on DRIVE OS 6.0.8.1 release and don’t see any issue when generating mp4/h264/h265 with sample_camera with newcodec

onInitialize: creating camera.gmsl with params: camera-name=V1SIM728S1RU3070HB20,interface=csi-ab,CPHY-mode=1,newcodecstack=1,link=0,output-format=processed,async-record=1,file-buffer-size=16777216
[30-09-2024 05:21:16] SensorFactory::createSensor() -> camera.gmsl, camera-name=V1SIM728S1RU3070HB20,interface=csi-ab,CPHY-mode=1,newcodecstack=1,link=0,output-format=processed,async-record=1,file-buffer-size=16777216
[30-09-2024 05:21:16] Found driver: camera.gmsl

It could be the issue specific to this camera module. Could you test with other cameras(if you have any) and update us.

Also, please set export DW_SIPL_NVMEDIA_VERBOSITY=4 and get sample_camera logs and syslog and dmesg logs

Hi Siva,

Thank you for your reply. Here are the logs you have requested for running the command:

./sample_camera --rig=rig_test.json --write-file=/home/nvidia/output.mp4 --offscreen=2

We don’t have any other camera modules that can run on 6.0.8 right now.

dmesg_log.txt (95.5 KB)
sample_camera_logs.txt (976.2 KB)
syslog.txt (5.3 MB)

Hello Siva,

I am trying to run Nvidia sample camera application(provided by Nvidia in the docker container) on Nvidia spc device. I am using GMSL camera.
Command:
./sample_camera --rig=rig.json --write-file=output.mp4 --offscreen=2

But I am unable to run this successfully, as Camera creation is failing. Could you please check the attached log and rig.json file and let me know any corrections are required in rig.json file.
rig.txt (1.1 KB)
Nvidia-camera-sample-output.txt (9.4 KB)

Dear @a.ratnakaram ,
Please file a new topic for your issue.