解决ubuntu下mplayer播放乱码问题

安装请参考 http://www.oldskoolphreak.com/tfiles/hack/ubuntu.txt

遇到的主要问题是播放中文字幕文件时会乱码.

解决思路是中文字体和调整codepage.

在安装mplayer,先安装freetype支持

wget http://download.savannah.gnu.org/releases/freetype/freetype-2.2.1.tar.bz2
tar --xjf   freetype-2.2.1.tar.bz2
cd freetype-2.2.1
./configure
make;make install

安装完毕后,重新编译mplayer

cd MPlayer-1.0pre7try2
./configure --enable-gui --enable-freetype
make;make install

之后将你喜欢的字体文件,如simhei.ttf, copy到 /usr/local/share/mplayer/fonts 下

重新运行gmplayer,在perfermences将Encoding改为simple chinese(cp936),并选中unicode subtitle,最后在Font选项卡,选中字体为simhei.ttf encoding 为默认的unicode即可,这样便大功告成了.



Mplayer

 Update ::



[2006/10/29] MPlayer-1.0rc1 可以在ubuntu 6.10上使用gcc-4.1.2编译通过,但是必须要卸载包 libgtk1.2-dev, 改装libgtk2.0-dev,否则编译的时候会提示 "undefined reference to `vo_setwindow'"

snapshot2.png

[2006/06/27] MPlayer-1.0pre8 使用gcc 4.0的编译器虽然能编译成功,但不能正常运行,会出现 *** glibc detected *** free(): 的错误之后就crash了,换成gcc 3.4编译后正常.另外编译的时候需要加上一个 --enable-png 的选项,否则可能会通不过configure.

[2006/06/06] 需要全屏播放的话,还要选中 perfermences /vedio /gl X11(OpenGL) 选项.

评论

  1. 你的Ubuntu升级到了6。10了吗?

    回复删除
  2. 偶的升级后出问题了。。!
    正在解决中。。!

    回复删除
  3. 没敢升级,只是找办公室的电脑重装了,有从5.1升级到6.06的经验后,对升级成功不抱太大希望.

    回复删除
  4. 我也重新安装6。06了!!!!

    回复删除
  5. ubuntu自己没在用 给一同学装了 还是2.4的 自己还是在用FC4
    我在FC4下 MPlayer-1.0pre8 使用gcc 4.0的编译器编译成功 也可以使用啊

    回复删除
  6. 难道我的RP问题?

    回复删除
  7. Aladdin 2-0 - Ali Babah No 2 - Aladdin 1st in the
    Aladdin 2-0. The first, to the third, in the air jordan 18 retro red suede cheap beginning, what is the best air jordan 18 retro red is how can i get air jordan 18 retro toro mens sneakers the story of King Ali Babah. This, air jordan 18 stockx for sale in a world where no one is show to get air jordan 18 retro toro mens sneakers really involved

    回复删除
  8. Below are some notable arguments attributable to the owners of the machines saying that the displayed quantities have been far bigger than the ones patrons ought to get. In 2006, the Nevada Gaming Commission began working with Las Vegas casinos on technology that might allow the casino's management to vary the game, the percentages, and the payouts remotely. The change cannot be done instantaneously, but only after the chosen machine has been idle for a minimum of|no less than} four minutes. After the change is made, the machine must be locked to new gamers for four minutes and display an on-screen message informing potential gamers that a change is 파라오카지노 도메인 being made.

    回复删除

发表评论

此博客中的热门博文