Two sample applications built using OpenMax Integration Layer are available. The source code for the OpenMax sample applications omx_encoder and omx_decoder are at https://github.com/Xilinx/vcu-omx-il/tree/master/exe_omx.
- H.265 Decoding File to File
- The
omx_decoder –help
command shows all the options.omx_decoder input-file.h265 -hevc -o out.yuv
- H.265 Encoding File to File
- The
omx_encoder –help
command shows all the options.omx_encoder inputfile.yuv -w 352 -h 288 -r 30 -avc -o out.h264
Note: Input YUV file should be in NV12
or NV16 format for 8-bit input sources.