ffmpeg scaffolding. currently crashing on av_interleaved_write_frame