Removed calls to deprecated avcodec_alloc_frame and added first pass of raw generator