CHG: Refactor ffmpeg MT support