歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 在Ubuntu下讓mplayer支持中文字幕

在Ubuntu下讓mplayer支持中文字幕

日期:2017/2/28 17:18:29   编辑:Linux教程

想在Ubuntu下用Mplayer看一部日本電影,發現下載下來的字幕顯示的全是亂碼,於是搜索了一下,找到一篇解決方法。

編輯 ~/.mplayer/config文件,下面是內容:

# Write your default config options here!

font=/usr/share/fonts/zh_CN/simsun.ttc

subcp=cp936

subfont-autoscale=2

subfont-text-scale=5

# vo=xv # 給出的解決方法中有這一句,不過我用了一下不行,干脆去掉。

注意字體的路徑要正確。

Copyright © Linux教程網 All Rights Reserved