The following example configures vvas_xabrscaler in one input and one output mode. The input to the library is 1280 x 720, NV12 frames that are resized to 640 x 360 resolution, and the color format is changed from NV12 to BGR. For using the pre-built scaler implementation, the default property values for properties “library-name”, “library-config” etc suffies. Change these properties only if you are using a custom implementation.
gst-launch-1.0 videotestsrc num-buffers=100 \
! "video/x-raw, width=1280, height=720, format=NV12" \
! vvas_xabrscaler xclbin-location=/run/media/mmcblk0p1/x_plus_ml.xclbin \
! "video/x-raw, width=640, height=360, format=BGR" ! filesink location=out_360p.bgr -v