Thank you for your comment.
Actually, I tried it but I don’t know how to extract frame from videorate-src-probe. Obviously, I can’t use the following code to extract frames. Because I don’t have “batch_meta.frame_meta_list”
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
l_frame = batch_meta.frame_meta_list
frame_meta = pyds.NvDsFrameMeta.cast( l_frame.data)
n_frame=pyds.get_nvds_buf_surface(hash(gst_buffer),frame_meta.batch_id)
fram=np.array(n_frame,copy=True,order='C')
cur_fram=cv2.cvtColor(fram,cv2.COLOR_RGBA2GRAY)
Could you give a sample code to extract frames from videorate-src-probe? or any suggestion?