I write this audio/video player with FFMPEG and SDL.