Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) - Jetson Orin Nano Dev kit
• DeepStream Version - 7.1
• JetPack Version (valid for Jetson only) - 6.2.2
• TensorRT Version - 10.3.0
• NVIDIA GPU Driver Version (valid for GPU only) - CUDA 12.6.68
• Issue Type( questions, new requirements, bugs) - new requirements
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
Hi,
I want to sync the bounding box data and video frames recorded by smart record. I am using deepstream-test-sr app and my video input is rtsp. I have came across below ticket and the solution suggested is using nvurisrcbi . I have tried to adopt it for rtspsrc and implemented following
in main()
/* Create gstreamer elements */
/* Create Pipeline element that will form a connection of other elements */
pipeline = gst_pipeline_new ("dstest-sr-pipeline");
// Create the NTP clock
// Parameters: name, remote_address, remote_port, base_time
GstClock *clock = gst_ntp_clock_new("ntp-clock", "time1.google.com", 123, 0);
// Set the pipeline to use the NTP clock
gst_pipeline_use_clock(GST_PIPELINE(pipeline), clock);
source = gst_element_factory_make ("rtspsrc", "rtsp-source");
g_object_set (G_OBJECT (source), "location", argv[1], "udp-buffer-size", RTSP_UDP_BUFFER_SIZE, NULL);
configure_source_for_ntp_sync(source);
Also changed container type
#define SMART_REC_CONTAINER 1
Still I am not getting ntp timestamp. I got following
ffprobe -v error -select_streams v:0 -show_frames -show_entries frame=pts,pts_time,pkt_dts,pkt_dts_time,best_effort_timestamp,best_effort_timestamp_time,pict_type,key_frame -of csv With_BBox_00000_20260908-164438_4109.mkv
frame,1,358,0.358000,358,0.358000,Iside_data,H.26[45] User Data Unregistered SEI message
frame,0,362,0.362000,362,0.362000,P
frame,0,366,0.366000,366,0.366000,P
frame,0,370,0.370000,370,0.370000,P
frame,0,424,0.424000,424,0.424000,P
frame,0,447,0.447000,447,0.447000,P
frame,0,461,0.461000,461,0.461000,P
frame,0,495,0.495000,495,0.495000,P
frame,0,528,0.528000,528,0.528000,P
frame,0,561,0.561000,561,0.561000,P
frame,0,595,0.595000,595,0.595000,P
frame,0,629,0.629000,629,0.629000,P
frame,0,661,0.661000,661,0.661000,P
frame,0,694,0.694000,694,0.694000,P
frame,0,727,0.727000,727,0.727000,P
frame,0,728,0.728000,728,0.728000,P
frame,0,761,0.761000,761,0.761000,P
frame,0,761,0.761000,761,0.761000,P
Please let me know how to resolve this.