MPSOC VCU Control Software Sample Applications

                                                                  MPSOC VCU Control Software Sample Applications

                                                                                                                                             alvin.lu@avnet.com

                                                                                                                                             2020.09.12

软件平台:
Vivado 2019.1
PetaLinux 2019.1
Ubuntu16.04.6真机

硬件平台:
ZCU106 (ZynqMP)

VCU Control Software  Compile

source ~/petalinux/2019.1/settings.sh
export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
make clean
make 

Source code of git
https://github.com/Xilinx/vcu-ctrl-sw      (change branch to 2019.1)

 

VCU Control Software Sample Applications
Ctrlsw_encoder and ctrlsw_decoder are complete sample applications that encode
and decode video respectively. These applications are intended as a learning aid for the
VCU Control Software API and for troubleshooting. The source code for the
ctrlsw_encoder and ctrlsw_decoder applications are at https://github.com/Xilinx/vcu-ctrl-sw

H.264 Decoding File to File
ctrlsw_decoder -avc -in input-avc-file.h264 -out ouput.yuv
H.265 Decoding File to File
ctrlsw_decoder -hevc -in input-hevc-file.h265 -out ouput.yuv
Encoding File to File
ctrlsw_encoder –cfg encode_simple.cfg
Note: For a complete list parameters, type the following in the command line:
ctrlsw_decoder --help
ctrlsw_encoder –help
All cfg  option   PG252 P165
https://github.com/Xilinx/vcu-ctrl-sw/blob/master/test/config/encode_example.cfg

 

 

VCU Control Software
The VCU Control Software operates on the frame or slice levels. Its responsibilities are:
• Generating NAL (Network Abstraction Layer) units for encoder.
• Parsing NAL units for decoder.
• Composing and queuing commands for each frame to the MCU Firmware.
• Retrieves status of each frame.
• Concatenates video bit stream generated by hardware and software.

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值