Sample Application; Main State Change Application; Encode Application; File Based Encode - Advantech VEGA-3311 Quick Start Manual

4k hevc broadcast video encoding / decoding card
Table of Contents

Advertisement

4. Sample Application

4.1 Main state change Application

Make sure to execute this application to change the Main State of M30 into "Encode" or
"Decode", before Encode Application/Decode Application is executed.
The application "vega_bqb_sysctl" provides changing the Main State of M30 into "Encode" or
"Decode".
Main State changes to "Encode" state
vega_bqb_sysctl set_enc –device <dev_num>
Main State changes to "Decode" state
vega_bqb_sysctl set_dec –device <dev_num>

4.2 Encode Application

The application "vega_bqb_venc" provides two usage cases, one is file based, the video data is
transferred from host's hard disk through PCIE connection to HEVC/AVC encoder. The other is
SDI based, the video data is transferred from SDI connector on the card to the video interface of
encoder chip, and video data does not go through host system in this mode.

4.2.1 File Based Encode

This mode inputs the Video RAW data through PCIe, and encodes it to Video ES by
H.265/HEVC and H.264/AVC. When the Video RAW data is input from the file, the format which
can be input now is only the following.
Resolution: 3840x2160, 1920x1080, 1280x720, 720x576, 720x480.
Color space : YUV 4:2:0, YUV 4:2:2
Quantization bit : 8bit, 10bit
File format :
1.
YUV4:2:0 8bit (NV12 format, refer to Figure 1)
2.
YUV4:2:2 8bit (NV16 format, refer to Figure 1)
3.
YUV4:2:0 10bit(P010 format with packed data, refer to Figure 2)
4.
YUV4:2:2 10bit(P210 format with packed data, refer to Figure 2)
Copyright@2016, Advantech Co., Ltd., All Right reserved.
Page
16
of
56

Advertisement

Table of Contents
loading

Table of Contents