This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:vim1s:applications:hardware-encoding [2022/07/17 21:31] 127.0.0.1 external edit |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~tag> | ||
- | ====== VIM4 Hardware Encoding ====== | ||
- | ===== Introduction ===== | ||
- | |||
- | This documentation will introduce how to use hardware encoding on VIM4. | ||
- | |||
- | |||
- | <WRAP important > | ||
- | Only support Amlgoic 5.4 Kernel. | ||
- | </ | ||
- | |||
- | |||
- | ===== H264 Hardware Encoding ===== | ||
- | |||
- | ```sh | ||
- | $ aml_enc_test 1080p.nv12 dump.h264 1920 1080 30 30 6000000 100 1 0 2 4 | ||
- | ``` | ||
- | |||
- | The encoded file is '' | ||
- | |||
- | ===== H265 Hardware Encoding ===== | ||
- | |||
- | ```sh | ||
- | $ aml_enc_test 1080p.nv12 dump.h265 1920 1080 30 30 6000000 100 1 0 2 5 | ||
- | ``` | ||
- | |||
- | The encoded file is '' | ||
- | |||
- | ===== JPEG Hardware Encoding ===== | ||
- | |||
- | |||
- | ```sh | ||
- | $ jpeg_enc_test 1080p.nv12 dump.jpg 1920 1080 100 3 0 16 16 0 | ||
- | ``` | ||
- | |||
- | The encoded file is '' |