XAVC Record Pipeline

Multimedia User Guide (UG1449)

Document ID
Release Date
1.4 English

This is the SONY proprietary new AVC profile, mainly used for video recording.

gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 num-buffers=1000 \
! video/x-raw, width=3840,height=2160, \
format=NV16_10LE32, framerate=60000/1001 \
! queue ! omxh264enc control-rate=constant target-bitrate=599545 \
xavc-max-picture-sizes-in-bits="<10002432,0,0>" gop-mode=basic \
gop-length=1 b-frames=0 entropy-mode=CAVLC num-slices=8 \
cpb-size=1000 initial-delay=500 prefetch-buffer=TRUE aspect-ratio=1 \
quant-i-frames=51 min-qp=31 max-qp=51 \
! video/x-h264 , profile=xavc-high-4:2:2-intra-cbg, level=\(string\)5.2, \
alignment=au ! queue max-size-buffers=0 ! fpsdisplaysink name=fpssink \
text-overlay=false 'video-sink=filesink \
location="/run/xavc_intra_QFHD_4k_c300_CBG.h264"' \
sync=true -v

In the preceding example, the live source device link is present under the /dev directory. The video stream resolution is UHD and framerate is 59.94fps. The video stream color format is XV20.

For more information, see H.264/H.265 Video Codec Unit LogiCORE IP Product Guide (PG252).