外挂中文字幕显示不正常

plex-media-player for mac 外挂srt中文字幕好细啊,有类似情况的同学么?

2 Likes

额,没同学回答,那我自问自答一下吧,问题已经解决了,包括ssa格式字体显示不正常的问题。
关键是需要再添加一个mpv.conf来定义字幕格式,文件位置具体请查看这个说明:
advanced-configuration
配置文件来源:
mpv-config

重点注意一下sub-font="xxx",这个需要plex media player能识别的字体,可以自行测试选择

#############
# Subtitles #
#############

sub-auto=fuzzy                          # external subs don't have to match the file name exactly to autoload
sub-file-paths-append=ass               # search for external subs in these relative subdirectories
sub-file-paths-append=srt
sub-file-paths-append=sub
sub-file-paths-append=subs
sub-file-paths-append=subtitles

demuxer-mkv-subtitle-preroll            # try to correctly show embedded subs when seeking
embeddedfonts=yes                       # use embedded fonts for SSA/ASS subs
sub-fix-timing=no                       # do not try to fix gaps (which might make it worse in some cases)
sub-ass-force-style=Kerning=yes         # allows you to override style parameters of ASS scripts
sub-use-margins=no
sub-ass-force-margins

# the following options only apply to subtitles without own styling 
sub-font="Source Han Sans"    # 需要思源字体,可以自行测试选择
sub-font-size=36
sub-color="#FFFFFFFF"
sub-border-color="#FF262626"
sub-border-size=3.2
sub-shadow-offset=1
sub-shadow-color="#33000000"
sub-spacing=0.5
2 Likes

中文乱码能解决吗?好多都乱码 看得好烦啊