This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:applications:hardware-encoding [2024/04/17 09:19] nick [Library Source Code] |
products:sbc:vim4:applications:hardware-encoding [2024/04/21 21:36] (current) nick [Library Source Code] |
||
---|---|---|---|
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 / | ||
- | echo 1 | sudo tee / | ||
- | echo 0 | sudo tee / | ||
- | ``` | ||
Decoding & encoding: | Decoding & encoding: | ||
Line 109: | 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 / | ||
- | echo 1 | sudo tee / | ||
- | echo 0 | sudo tee / | ||
- | ``` | ||
Decoding & encoding: | Decoding & encoding: | ||
Line 141: | Line 125: | ||
===== Library Source Code ===== | ===== Library Source Code ===== | ||
- | * H264/H265 [[gh> | + | * VIM4 H264/H265 [[gh> |
- | * JPEG [[gh> | + | * VIM3/3L [[gh> |
+ | * JPEG [[gh> | ||