Video Format Conversion and Scaling

Multimedia User Guide (UG1449)

Document ID
Release Date
1.7 English

Use the following pipeline to do video format conversion and scaling. The pipeline converts 1080p NV12 data to VGA BGR data.

Here, v4l2video1convert is a multi scalar GStreamer plugin that is created based on the video1 node.

gst-launch-1.0 v4l2src device=/dev/video3 io-mode=4 ! \
video/x-raw, width=1920, height=1080, format=NV12 ! \
v4l2video1convert capture-io-mode=4 output-io-mode=4 ! \
video/x-raw, width=640, height=480, format=BGR ! \
filesink location=/run/Chan_1_640X480.rgb