Update FFmpeg subtitles logic