Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1s:applications:hardware-encoding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 encoding~~ 
-====== VIM4 Hardware Encoding ====== 
  
-===== Introduction ===== 
- 
-This documentation will introduce how to use hardware encoding on VIM4. 
- 
- 
-<WRAP important > 
-Only support Amlgoic 5.4 Kernel. 
-</WRAP> 
- 
- 
-===== 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 ''dump.h264''. 
- 
-===== 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 ''dump.h265''. 
- 
-===== JPEG Hardware Encoding ===== 
- 
- 
-```sh 
-$ jpeg_enc_test 1080p.nv12 dump.jpg 1920 1080 100 3 0 16 16 0 
-``` 
- 
-The encoded file is ''dump.jpg''. 
Last modified: 2022/07/17 21:31 by 127.0.0.1