Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:vim1:applications:hardware-decoding

VIM1 Hardware Decoding

System Configuration

Please make sure you use the latest image, if not please follow Upgrade The System to upgrade your system.

For Linux with 5.15 kernel

Please check Hardware Decoding .

For Linux with 4.9 kernel

For Display

Here is a demo about how to use the decoding library to decode and display video directly. It’s just a simplest demo, if you want to develop complex player you can refer the command line player kplayer source code.

https://github.com/numbqq/aml_hardware_decode_demo

Decoded Frames

You can also use the hardware decoding library to decode and get the decoded (RGB/YUV) frames.

Here is a demo to use ionvideo to get the decoded frames with a UVC.

https://github.com/numbqq/uvc_capture_aml/tree/ionvideo

Read from file.

https://github.com/numbqq/aml_hardware_decode_demo/tree/ionvideo

Library Source Code

Here is the source code: https://github.com/numbqq/libplayer.

2022/07/06 09:59
Last modified: 2022/07/13 21:35 by frank