This project is based on FFmpeg and sdl2.
There are also some tutorial examples with different implementations for you to learn from. The difficulty increases in sequence, from a simple video player to a player with fully implements audio and video synchronization.