• Hardware Platform (Jetson / GPU)
Jetson Xavier NX • DeepStream Version
DeepStream 5.0 • JetPack Version (valid for Jetson only)
4.6.1-b110 • TensorRT Version
8.2.1.8
I am developing an application based on deepstream-test5-app of deepstream 5.0.
Is there a way to change the frequency of payload generation interval with deepstream 5.0? Referring to the document, it states that the feature of Payload generation interval is from DS6.0, but I want to know how to configure it in DS5.0.
@Amycao thank you for your response. Yes, it is about nvmsgconv payload. As the default setting, the payload is generated and sent every 30 frames. However I want to reduce the frequency such as every 300 frames or more.
There one property to control this,
frame-interval : Frame interval at which payload is generated
You can refer to test4 sample:
there one global parameter:
static gint frame_interval = 30;
You can change this as you want.
There is no parameter of frame_interval in deepstream_test4_app.c which is not modified on my environment. Does it work by adding the line in deepstream_test5_app.c? As described at the top, I want to change the frequency in deepstream-test5 app.
@Amycao I added the line in line 142, run make, and run the program, but it doesn’t change the frequency… If possible, could you show me the complete example of the code? I attached the code I am trying with. Thanks,
You can refer to test4 sample, function osd_sink_pad_buffer_probe, line
if (is_first_object && !(frame_number % frame_interval)) {
modify in test5 sample, function bbox_generated_probe_after_analytics accordingly.