(HEVC/Research) Improve ffmpeg source.