Only for linux 4.9.
Please make sure you use the latest image, if not please follow How To Upgrade The System to upgrade your system.
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.
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.
Read from file.
Here is the source code: https://github.com/numbqq/libplayer