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-decoding [2023/01/30 22:56] nick |
products:sbc:vim4:applications:hardware-decoding [2024/09/13 02:57] (current) nick |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This page introduces how to use hardware decoding | + | This page introduces how to use hardware decoding. |
| <WRAP important > | <WRAP important > | ||
| - | Only supoport Amlgoic 5.4 Kernel. | + | Only supoport Amlgoic 5.4/5.15 Kernel. |
| </ | </ | ||
| Line 20: | Line 20: | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 filesrc location=/ | + | gst-launch-1.0 filesrc location=/ |
| - | ``` | + | |
| - | + | ||
| - | Another example to decode video from USB camera and encode to H264: | + | |
| - | + | ||
| - | ```shell | + | |
| - | gst-launch-1.0 v4l2src device=/ | + | |
| ``` | ``` | ||
| ===== H265 Hardware Decoding | ===== H265 Hardware Decoding | ||
| - | Here is an example to decode | + | Here is an example to decode |
| Decoding & encoding: | Decoding & encoding: | ||
| Line 37: | Line 31: | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 filesrc location=/ | + | gst-launch-1.0 filesrc location=/ |
| ``` | ``` | ||
| - | Another | + | ===== MJPEG Hardware Decoding |
| + | |||
| + | An example to decode video from USB camera and encode to H264: | ||
| ```shell | ```shell | ||
| - | gst-launch-1.0 v4l2src device=/ | + | gst-launch-1.0 v4l2src device=/ |
| ``` | ``` | ||
| + | |||