Change FFmpeg subtitles based on https://trac.ffmpeg.org/ticket/2067

@SubJunk and @SharkHunter could you test this pull request? It is the new approach to FFmpeg subtitles.