a brutally ripped apart fork of ffmpeg to decode and analyse video on the fly