| commit | fb6a5eabd18266640d7ca6df588c97252460ba68 | [log] [tgz] |
|---|---|---|
| author | Fyodor Kyslov <kyslov@google.com> | Mon Mar 31 15:33:12 2025 +0000 |
| committer | Fyodor Kyslov <kyslov@google.com> | Mon Mar 31 15:33:12 2025 +0000 |
| tree | 94078ebd2c3ef3f381ddd62c62892ebc0aa112ed | |
| parent | cf6183b6b129837eedc75a077ca6bfd769f34dc3 [diff] |
APV: Local fix for OpenAPV library This will bring local OpenAPV in conformance with OpenAPV tag 0.1.11.3.1 We can not update to 0.1.11.3.1 directly because the tag is not in main branch. For further updates this commit mush be reverted first and then OpanAPV should be updated to the appropriate version of the main branch Bug: b/406782106 Bug: b/406819921 Flag: EXEMPT bugfix Test: MctsMediaV2TestCases on raven and panther Change-Id: If55f2a450b6ccf22bf029b39e353c46799a6ddea
OpenAPV provides the reference implementation of the APV codec which can be used to record professional-grade video and associated metadata without quality degradation. OpenAPV is free and open source software provided by LICENSE.
The OpenAPV supports the following features:
The APV codec is a professional video codec, which was developed in response to the need for professional level high quality video recording and post production. The primary purpose of the APV codec is for use in professional video recording and editing workflows for various types of content.
APV codec utilizes technologies known to be over 20 years to achieve a royalty free codec. APV builds a video codec using only conventional coding technologies, which consist of traditional methods published between the early 1980s and the end of the 1990s.
The APV codec standard has the following features:
Build Requirements
For ARM
For Windows (crosscompile)
Build Instructions PC (Linux)
cmake -DCMAKE_BUILD_TYPE=Release -S . -B build cmake --build build
Build Instructions ARM (Crosscompile)
cmake -S . -B build-arm -DCMAKE_TOOLCHAIN_FILE=aarch64_toolchain.cmake -DCMAKE_BUILD_TYPE=Release cmake --build build-arm
Build Instructions Windows (Crosscompile)
cmake -S . -B build-windows -DCMAKE_TOOLCHAIN_FILE=windows_x86_64_toolchain.cmake -DCMAKE_BUILD_TYPE=Release cmake --build build-windows
Output Location
Encoder as input require raw YCbCr file (422, 444), 10-bit or more.
Displaying help:
oapv_app_enc --help
Encoding:
oapv_app_enc -i input_1920x1080_yuv422_10bit.yuv -w 1920 -h 1080 -d 10 -z 30 --input-csp 2 -o encoded.apv oapv_app_enc -i input.y4m -o encoded.apv
Decoder output can be in yuv or y4m formats.
Displaying help:
oapv_app_dec --help
Decoding:
oapv_app_dec -i encoded.apv -o output.y4m
Pattern file of APV bitstream for ImHex is provided here.
In build directory run ctest
For generating package ready for distribution (default deb) execute in build directory cpack, or other formats (tgz, zip etc.) cpack -G TGZ.
See LICENSE file for details.