This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:edge2:applications:hardware-encoding [2022/09/07 02:15] nick created |
products:sbc:edge2:applications:hardware-encoding [2022/11/07 22:24] frank |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Edge2 Hardware Encoding ====== | ====== Edge2 Hardware Encoding ====== | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | This document mainly introduces how to use hardware encoding on Edge2. | ||
+ | |||
+ | ===== Encoding ===== | ||
+ | |||
+ | 1. Check encoder. | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | rockchipmpp: | ||
+ | typefindfunctions: | ||
+ | |||
+ | ``` | ||
+ | |||
+ | 2. Encoding format '' | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | Setting pipeline to PAUSED ... | ||
+ | Pipeline is PREROLLING ... | ||
+ | Pipeline is PREROLLED ... | ||
+ | Setting pipeline to PLAYING ... | ||
+ | Redistribute latency... | ||
+ | New clock: GstSystemClock | ||
+ | 0:00:16.1 / 0:12:05.0 (2.2 %) | ||
+ | ^Chandling interrupt. (2.8 %) | ||
+ | |||
+ | ``` | ||
+ | |||
+ | 3. Get data from USB camera and encode. | ||
+ | |||
+ | ```shell | ||
+ | khadas@Khadas: | ||
+ | ``` | ||
+ | |||
+ | Other encoding formats are used similarly. Just replace the corresponding encoder. | ||