How to save a frame of video stream detection In gie_primary_processing_done_buf_prob

DeepStream = 6.3

config
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5

[tiled-display]
enable=1
rows=1
columns=1
width=1280
height=720
gpu-id=0
nvbuf-memory-type=0

[source0]

camera-id=4
uri=file:///home/ubuntu/WorkSpace/PycharmProject/DeepStream-Yolo/vedio/test.mp4
enable=1
type=3
num-sources=1
#source-id=0
gpu-id=0
cudadec-memtype=0
#uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4

[sink0]
enable=1
type=2
sync=0
gpu-id=0
nvbuf-memory-type=0

[osd]
enable=1
gpu-id=0
border-width=5
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0

[streammux]
gpu-id=0
live-source=0
batch-size=1
batched-push-timeout=40000
width=1920
height=1080
enable-padding=0
nvbuf-memory-type=0

[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
batch-size=1
nvbuf-memory-type=0
config-file=/home/ubuntu/WorkSpace/PycharmProject/DeepStream-Yolo/config_infer_primary_yoloV8_custom.txt

[tests]
file-loop=0s

I want to save the frame as a jpeg image using NV12 format. but it doesn’t work,the The saved image format is incorrect.

You can refer to our source code sources\apps\sample_apps\deepstream-image-meta-test to save the image with nvds_obj_enc_process.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.