Introduction
This document describes how to install, use, and integrate the HW265Enc encoder. This document is intended for R&D and test personnel who use HW265Enc for re-engineering.
HW265Enc is a video encoder developed by Huawei based on the H.265/HEVC (High Efficiency Video Coding) standard. It encodes YUV pixel files to generate H.265/HEVC video bitstream files, and supports 8-bit color depth and 420p format. HW265Enc can run only on the AArch64 processor platform specified by Huawei. On the specified platform, the performance of the encoder is much better than that of the open source x265 encoder (benchmarked against the x265 ce8642f version).
FFmpeg is an open source multimedia framework that provides a complete solution for audio/video recording, converting, and streaming. By writing adaptation code, you can integrate the HW265 video encoding library into the FFmpeg framework.
HW265Enc can be used as a standalone binary or integrated into the FFmpeg framework to align with the mainstream encoder invocation methods. This document provides sample code for integrating the HW265 video encoding library into FFmpeg 7.0.1. You can refer to the sample code for adaptation. To fix known security vulnerabilities of FFmpeg, you can apply the patches released on the official FFmpeg website.
The FFmpeg adaptation code is for reference only, and does not support B-frames.