One Input Multiple Output - One Input Multiple Output - 6.3 English - XD056

Vitis Video Analytics SDK (VVAS) 6.3 User Guide (XD056)

Document_ID
XD056
Release_Date
2026-09-24
Version
6.3 English

The following example configures vvas_xabrscaler for one input and three outputs. The input is 1920 x 1080 resolution in a NV12 format. There are three output formats:

  • 1280 x 720 in BGR format

  • 300 x 300 in RGB format

  • 640 x 480 in NV12 format

gst-launch-1.0 videotestsrc num-buffers=100 \
! "video/x-raw, width=1920, height=1080, format=NV12, framerate=60/1" \
! vvas_xabrscaler xclbin-location=/run/media/mmcblk0p1/x_plus_ml.xclbin name=sc sc.src_0 \
! queue \
! "video/x-raw, width=1280, height=720, format=BGR" \
! filesink location=out_720p.bgr sc.src_1 \
! queue \
! "video/x-raw, width=300, height=300, format=RGB" \
! filesink location=out_300p.rgb sc.src_2 \
! queue \
! "video/x-raw, width=640, height=480, format=NV12" \
! filesink location=out_480p.nv12 -v