Perform basic temporal resampling on an ffmpeg yuv4mpeg2 stream