A simple RAII based wrapper for a subset of FFMPEG functionality.