当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : mplayer播放3gp文件有图无声,如何解决?
帖子发表于 : 2008-09-24 23:03 
头像

注册: 2008-08-31 10:09
帖子: 629
送出感谢: 2
接收感谢: 1
mplayer播放3gp文件有图无声,如何解决?


页首
 用户资料  
 
2 楼 
 文章标题 : Re: mplayer播放3gp文件有图无声,如何解决?
帖子发表于 : 2008-12-02 17:27 
头像

注册: 2008-08-31 10:09
帖子: 629
送出感谢: 2
接收感谢: 1
# svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
# wget http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
# wget http://ftp.penguin.cz/pub/users/utx/amr ... .1.tar.bz2
# wget http://ftp.penguin.cz/pub/users/utx/amr ... .2.tar.bz2

* Extract the files.
# tar xvjf amrnb-7.0.0.1.tar.bz2
# tar xvjf amrwb-7.0.0.2.tar.bz2
# tar xvjf Blue-1.7.tar.bz2

* Compile and install amrnb
# cd amrnb-7.0.0.1
# ./configure --prefix=/usr
# make
# sudo make install

Note: we need to specify --prefix=/usr because: see my previous post

* Compile and install amrwb
# cd ../amrwb-7.0.0.2/
# ./configure --prefix=/usr
# make
# sudo make install

* We can now compile MPlayer.
# cd ../mplayer
If you need GMPlayer (GUI) please use --enable-gui.
For more configuration options see:
# ./configure --help

I will enable GUI this time because I want to show how we can install Skins for it.
# ./configure --enable-gui
After this you can read what will be enabled and disabled, what you will see will be enough.

Now we can compile and install it:
# make
# sudo make install

NOTE: it seems that the current Makefile is broken so the GUI wont be installed we need to execute:
# sudo make install-gui

* Install the Skin and Font.
# cd ..

This will copy the Blue directory recursively to /usr/local/share/mplayer/skins
# sudo cp -R Blue /usr/local/share/mplayer/skins

We need to create a symlink because else MPlayer won't recognize it:
# sudo ln -s /usr/local/share/mplayer/skins/Blue /usr/local/share/mplayer/skins/default

For subtitles and menus we need a font:
So, we create a symlink.
# ln -s /usr/share/fonts/truetype/freefont/FreeSans.ttf ~/.mplayer/subfont.ttf

* Remove the "working directry".
# cd ..
# rm -rf ~/build
NOTE: You can keep this time at least the mplayer directory if you want to weekly checkout the sources and rebuild it.

Now you can enjoy your movies :)

PS: if something is not clean or it fails somewhere, please leave a comment or:
- you can subscribe to MPlayer mailing lists at the MPlayer site
- you can enter #MPlayer at Freenode


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:lord007, nypi 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译