很强,很神奇。
用这个
# 安装 MPLYER 和相应解码器
sudo apt-get install mplayer mozilla-mplayer totem-xine libxine1-ffmpeg w32codecs audacious
sudo apt-get install mplayer-fonts
sudo apt-get install w32codecs #没有源就以下地址下载,下载后双击直接运行。
###(最新版地址,下载i386版本的deb即可)
http://ftp.sunet.se/pub/os/Linux/distri ... w32codecs/
http://ftp.sunet.se/pub/os/Linux/distri ... 0_i386.deb
http://ubuntu.cn99.com/ubuntu-cn/dists/ ... 1_i386.deb
sudo ln -s /usr/lib/codecs/ /usr/local/lib/
sudo apt-get install libstdc++5
#firefox-----编辑-----首选项-----内容-----文件类型------管理-----更换动作(将需要用MPLAYER播放的进行替换)
=====================================
Mplayer 的中文字幕设置方法
1) 在 Preferences-Font 里面点击 ”Browse” 选择一个中文字体,Encodeing 选择 Unicode。
2) 在 Preferences-Subtitle&OSD 里面的 Encoding 选择:
Simplified Chinese Charset(cp936)
3) 在 Preferences-Font “Text scale” 这里调整字幕大小(我调整为 3.8 )。
如果播放时提示错误,设置一下:
Preferences-Video 选择 “xv X11/Xv”
Preferences-Codecs&demuxer 选择 “FFmpeg/libavcodec audio decoders”
=====================================
#Mplyer 播放长中文文件出错
sudo gedit /usr/share/applications/mplayer.desktop
#将 exec=gmplayer %U 改为 exec=gmplayer %f 即可。
#解析:%U是URL,%f文件名,估计是url解析库的问题,期待修正。
#下载SMPLYER
sudo apt-get install smplayer