Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:applications:hardware-encoding

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
products:sbc:vim4:applications:hardware-encoding [2024/04/19 03:56]
nick
products:sbc:vim4:applications:hardware-encoding [2024/04/19 04:15]
nick [H265 Hardware Encoding]
Line 101: Line 101:
  
 Here is an example to decode H264 file to NV12 and then encode to H265. Here is an example to decode H264 file to NV12 and then encode to H265.
- 
-As we also need to use the hardware decoder, so we need to setup parameters for it first. 
- 
-```shell 
-echo 1 | sudo tee /sys/module/amvdec_ports/parameters/multiplanar 
-echo 1 | sudo tee /sys/module/amvdec_ports/parameters/bypass_vpp 
-echo 0 | sudo tee /sys/module/amvdec_ports/parameters/enable_drm_mode 
-``` 
  
 Decoding & encoding: Decoding & encoding:
Last modified: 2024/04/21 21:36 by nick