VCU Control Software Sample Applications - 2023.1 English

H.264/H.265 Video Codec Unit v1.2 Solutions LogiCORE IP Product Guide (PG252)

Document ID
Release Date
2023.1 English

The 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

Sample configuration files and input .yuv file mentioned in examples below can be found in the VCU Control Software source tree test/cfg folder. The parameters are described after the examples below.

  • 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