This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim1s:applications:hardware-decoding [2023/03/24 21:23] nick |
products:sbc:vim1s:applications:hardware-decoding [2024/09/13 02:30] (current) nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~tag> | ||
====== VIM1S Hardware Decoding ====== | ====== VIM1S Hardware Decoding ====== | ||
- | {{page> | + | ===== Introduction ===== |
+ | This page introduces how to use hardware decoding. | ||
+ | |||
+ | |||
+ | <WRAP important > | ||
+ | Only supoport Amlgoic 5.4/5.15 Kernel. | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== H264 Hardware Decoding | ||
+ | |||
+ | Here is an example to decode H264 file to NV12. | ||
+ | |||
+ | |||
+ | Decoding & encoding: | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 filesrc location=/ | ||
+ | ``` | ||
+ | |||
+ | ===== H265 Hardware Decoding | ||
+ | |||
+ | Here is an example to decode H265 file to NV12. | ||
+ | |||
+ | Decoding & encoding: | ||
+ | |||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 filesrc location=/ | ||
+ | ``` | ||
+ | |||
+ | ===== MJPEG Hardware Decoding | ||
+ | |||
+ | An example to decode video from USB camera: | ||
+ | |||
+ | ```shell | ||
+ | gst-launch-1.0 v4l2src device=/ | ||
+ | ``` | ||