This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:vim3:applications:hardware-encoding [2022/07/06 10:08] 127.0.0.1 external edit |
products:sbc:vim3:applications:hardware-encoding [2023/11/03 02:39] (current) nick |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Hardware Encoding ====== | + | ====== |
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | This document mainly introduces Hardware Encoding. You will learn how to use **h264** encoding and **h265** encoding. | ||
| + | |||
| + | ===== System Configuration ===== | ||
| + | |||
| + | Please make sure you use the latest image, if not please follow [[/ | ||
| + | |||
| + | ===== For Linux with 5.15 kernel ===== | ||
| + | |||
| + | Please check [[products: | ||
| + | |||
| + | ===== For Linux with 4.9 kernel ===== | ||
| + | |||
| + | ==== H264 Hardware Encoding ==== | ||
| + | |||
| + | ```shell | ||
| + | $ h264EncoderDemo | ||
| + | ``` | ||
| + | The encoded file is '' | ||
| + | |||
| + | <WRAP info > | ||
| + | Get help information | ||
| + | ```shell | ||
| + | $ h264EncoderDemo | ||
| + | Amlogic AVC Encode API | ||
| + | | ||
| + | options | ||
| + | srcfile | ||
| + | outfile | ||
| + | width : width | ||
| + | height | ||
| + | gop : I frame refresh interval | ||
| + | framerate: framerate | ||
| + | | ||
| + | | ||
| + | | ||
| + | ``` | ||
| + | </ | ||
| + | |||
| + | ==== H265 Hardware Encoding ==== | ||
| + | |||
| + | ```shell | ||
| + | $ h265EncoderDemo | ||
| + | ``` | ||
| + | The encoded file is '' | ||
| + | |||
| + | <WRAP info > | ||
| + | Get help information | ||
| + | ```shell | ||
| + | $ h265EncoderDemo | ||
| + | Amlogic AVC Encode API | ||
| + | | ||
| + | options | ||
| + | srcfile | ||
| + | outfile | ||
| + | width : width | ||
| + | height | ||
| + | gop : I frame refresh interval | ||
| + | framerate: framerate | ||
| + | | ||
| + | | ||
| + | | ||
| + | ``` | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Library Source Code ==== | ||
| + | |||
| + | [[gh> | ||