This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:edge2:applications:hardware-decoding [2022/09/07 02:15] nick created |
products:sbc:edge2:applications:hardware-decoding [2024/01/17 03:54] (current) jacobe [Decoding] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Edge2 Hardware Decoding ====== | ====== Edge2 Hardware Decoding ====== | ||
+ | ===== Introduction ===== | ||
+ | |||
+ | This document mainly introduces how to use hardware decoding on Edge2. | ||
+ | |||
+ | ===== Decoding ===== | ||
+ | |||
+ | <WRAP important > | ||
+ | If encounter error, please add sudo and try again. | ||
+ | </ | ||
+ | |||
+ | 1. Check decoder. | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | typefindfunctions: | ||
+ | |||
+ | ``` | ||
+ | |||
+ | 2. Decoding with H264 file. | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | Setting pipeline to PAUSED ... | ||
+ | Pipeline is PREROLLING ... | ||
+ | Pipeline is PREROLLED ... | ||
+ | Setting pipeline to PLAYING ... | ||
+ | Redistribute latency... | ||
+ | New clock: GstSystemClock | ||
+ | 0:00:01.2 / 1:04:25.7 (0.0 %) | ||
+ | 0:00:02.2 / 1:33:57.6 (0.0 %) | ||
+ | ``` | ||
+ | |||
+ | 3. Decoding with MP4 file. | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | Setting pipeline to PAUSED ... | ||
+ | Pipeline is PREROLLING ... | ||
+ | Pipeline is PREROLLED ... | ||
+ | Setting pipeline to PLAYING ... | ||
+ | Redistribute latency... | ||
+ | New clock: GstSystemClock | ||
+ | 0:00:01.8 / 0:10:34.5 (0.3 %) | ||
+ | ``` | ||
+ | |||
+ | If you want to play your decoded fileļ¼ you can play with '' |