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 [2023/11/07 07:04] sravan [H265 Hardware Encoding] |
products:sbc:vim4:applications:hardware-encoding [2024/04/21 21:36] (current) nick [Library Source Code] |
||
---|---|---|---|
Line 56: | Line 56: | ||
```shell | ```shell | ||
- | jpeg_enc_test 1080p.nv12 dump.jpg 1920 1080 100 3 0 16 16 0 | + | jpeg_enc_test 1080p.nv12 dump.jpg 1920 1080 100 3 0 8 8 0 |
``` | ``` | ||
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 [[https://github.com/ | + | * VIM4 H264/H265 [[gh> |
- | * JPEG [[https:// | + | * VIM3/3L [[gh>numbqq/ |
+ | * JPEG [[gh>numbqq/ | ||