Note
The following JSON examples are only samples. Ensure
model-pathis set to point to your available model before running.Ensure
label-file-pathin the YOLOv5n JSON points to the correct label file for your model.In branched pipelines (using tee), metadata and ROI buffers are shared by default. If attach-ppe-outbuf is enabled in one branch, its ROI buffers may be reused by other branches, which can cause classification results from different branches to appear together. To avoid cross-branch mixing, keep attach-ppe-outbuf=false for secondary stages in branched pipelines, or add a buffer/meta copy in each branch before running the second-stage vvas_xinfer.
gst-launch-1.0 \
filesrc location=<INPUT>.bgr ! \
rawvideoparse format=bgr height=<INPUT_HEIGHT> width=<INPUT_WIDTH> ! \
vvas_xinfer config-file=/etc/vvas/configs/infer/yolov5n_vart.json ! \
vvas_xinfer config-file=/etc/vvas/configs/infer/resnet50_l2.json ! \
vvas_xinfer config-file=/etc/vvas/configs/infer/resnet50_l2.json ! \
vvas_xmetaconvert config-location=/etc/vvas/configs/metaconvert/metaconvert_config.json ! \
vvas_xoverlay ! \
fpsdisplaysink sync=false text-overlay=false video-sink='filesink location=./output_yolo_r50_r18_640x640.bgr' -v