This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:vim-5:applications:hardware-encoding [2026/09/14 05:48] nick |
products:sbc:vim-5:applications:hardware-encoding [2026/09/14 06:20] (current) nick [Library Source Code] |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ==== H264 Hardware Encoding ==== | ==== H264 Hardware Encoding ==== | ||
| - | |||
| - | <tabbox VIM4> | ||
| ```shell | ```shell | ||
| - | aml_enc_test | + | tahoe_test |
| ``` | ``` | ||
| - | |||
| - | <tabbox VIM3/3L> | ||
| - | |||
| - | ```shell | ||
| - | amvenc_test 1080p.nv12 dump.h264 1920 1080 30 30 6000000 100 1 0 2 4 | ||
| - | ``` | ||
| - | </ | ||
| - | |||
| The encoded file is '' | The encoded file is '' | ||
| ==== H265 Hardware Encoding ==== | ==== H265 Hardware Encoding ==== | ||
| - | |||
| - | |||
| - | |||
| - | <tabbox VIM4> | ||
| ```shell | ```shell | ||
| - | aml_enc_test | + | tahoe_test |
| ``` | ``` | ||
| - | |||
| - | <tabbox VIM3/3L> | ||
| - | |||
| - | ```shell | ||
| - | amvenc_test 1080p.nv12 dump.h265 1920 1080 30 30 6000000 100 1 0 2 5 | ||
| - | ``` | ||
| - | </ | ||
| - | |||
| The encoded file is '' | The encoded file is '' | ||
| Line 62: | Line 40: | ||
| ===== Encoding with Gstreamer ===== | ===== Encoding with Gstreamer ===== | ||
| - | |||
| - | ==== Install Gstreamer Encoder Plugins ==== | ||
| - | |||
| - | You need to install the gstreamer encoder plugins: | ||
| - | |||
| - | ```shell | ||
| - | sudo apt update | ||
| - | sudo apt install gstreamer-aml | ||
| - | ``` | ||
| Check the gstreamer encoder plugins: | Check the gstreamer encoder plugins: | ||
| Line 89: | Line 58: | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 filesrc location=/ | + | gst-launch-1.0 filesrc location=/ |
| ``` | ``` | ||
| Line 95: | Line 64: | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
| ``` | ``` | ||
| Line 106: | Line 75: | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 filesrc location=/ | + | gst-launch-1.0 filesrc location=/ |
| ``` | ``` | ||
| Line 112: | Line 81: | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
| ``` | ``` | ||
| Line 125: | Line 94: | ||
| ===== Library Source Code ===== | ===== Library Source Code ===== | ||
| - | * VIM4 H264/H265 [[gh> | + | * VIM 5 H264/H265 [[gh> |
| - | * VIM3/3L [[gh> | + | * JPEG [[gh> |
| - | * JPEG [[gh> | + | |