Quick sync video as a encode codec in ffmpeg.