Hardware Platform (Jetson / GPU) NX • DeepStream Version 6.11 • JetPack Version (valid for Jetson only) 5.02 • TensorRT Version 8.4
The source is a 800x512 rtsp h264 stream. I need to get the unique ID no. of each image from the udp package of the rtsp.
I donnot know where to access it from which buffer. in h264 parser or nv4l2decoder? Please tell me which piece of code shall I refer to.
And later, I have to send the ID back via kafka, so I need the preprocess plugin, and in the meantime, I want to use the test5 code for kafka, how to put the two parts together?
Thanks.
sourceid and rtsp are one-to-one correspondence, please refer to test5_config_file_src_infer.txt 's [source0].
you can get sourceid by NvDsFrameMeta’s source_id.
hi, what I need is not the source id, actually, my input is a rtsp with udp protocal, each udp packet contais a image frame and other data. include timestamp, frame id, etc, I can see the structure with wireshark, so I need to parse the frame id and later send back to the rtsp server for sync. I want to know if I can access more info from udp packet in h264 parse, or in nvv4l2decoder?
Thanks.
h264parse will get h264 data from buffer, nvv4l2decoder will convert h264 data to raw data like yuv, they will not save frame id, deepstream nvstreammux will give frameid, you can get this from frame_num from NvDsFrameMeta.
Hi, I’ll try this.
But I think when going down to streammux, the frame_num is generated by deepstream, and is different with that id packed in udp packet. I also want to parse the original udp from h264parser myself, please tell me where’s the h264parser’s code? Thanks.
There is no update from you for a period, assuming this is not an issue any more. Hence we are closing this topic. If need further support, please open a new one. Thanks