Does dwSensorSerializer support metadata?

Please provide the following info (tick the boxes after creating this topic):
Software Version
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
1.9.3.10904
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

Hi,

I want to record camera stream to h264/h265 with meta timestamps. In dwSensorSerializer I didn’t find any related functions. There is SEI (Supplemental Enhancement Information) including timestamps designed for h264/h265 and seems to be supported by nvmedia IEP (Image Encoding Processing). Does dwSensorSerializer also supports it?

Thank you very much.

Dear @yuchen.liu1,
DW makes use of NvMedia APIs internally for encoding. Let me double check internally if SEI is supported in DW and update you

Dear @yuchen.liu1,
I see NVIDIA DRIVE OS Linux SDK API Reference: NvMediaEncodeH264SEIPayload Struct Reference | NVIDIA Docs and NVIDIA DRIVE OS Linux SDK API Reference: NvMediaEncodeH265SEIPayload Struct Reference | NVIDIA Docs structs are used in DW APIs .

Thanks for your information. But these APIs are for the usage of NvMedia. Is there any example of setting the payload directly using dwSerializer?

Dear @yuchen.liu1,
DW does not public APIs to access encoders to set payload directly. When you set encoding type in camera GMSL parameters in rig.json, setting payload(SEIpayload) will be taken automatially when serializing the data.

That means, if I want to define a different payload e.g. a payload with timestamp, I have to use NvMedia directly?

It means encoded data with timestamp(when the encoding is finished/started)?

I want to encode data with ROS system timestamp.