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
Next revision Both sides next revision
products:sbc:vim4:applications:hardware-encoding [2024/04/17 09:20]
nick [Library Source Code]
products:sbc:vim4:applications:hardware-encoding [2024/04/19 03:56]
nick
Line 85: Line 85:
  
 Here is an example to decode H264 file to NV12 and then encode to H264. Here is an example to decode H264 file to NV12 and then encode to H264.
- 
-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