在Ubuntu下看各种格式的电影──包括RMVB
在Ubuntu下看各种格式的电影──包括RMVB
ubuntu默认有一个movie player,但是那个基本上播放不了什么东东,每次打开多媒体文件总是说寻找什么解码器,找了半天也安装了就是没用。所以还是搞了别的播放器吧。
ubuntu下有很多播放器,但是这里我只推荐两个我认为最好的:
1. MPlayer + SMPlay前端 + 解码器(如果有必要的话)1.1 首先安装一个mplayer播放器内核
如果用新立得安装的话,有时候会顺便安装gmplayer(mplayer-gui)前端,不过这个前端没有smplayer好用,所以推荐还是再安装smplayer。1.2 然后安装一个mplayer前端,这里推荐使用SMPlayer(Install Smplayer (Mplayer Front-end))Qt Mplayer front-end, with basic features like playing videos, DVDs, and VCDs to more advanced features like support for MPlayer filters and more. One of the most interesting features of SMPlayer: it remembers the settings of all files you play. So you start to watch a movie but you have to leave... don't worry, when you open that movie again it will resume at the same point you left it, and with the same settings: audio track, subtitles, volume...
package lists... DoneBuilding state information...Donelibstdc++5 is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
可见,版本很重要。
常见问题:
1. 有图像没有声音,报错:could not open/initialize audio device ->no sound
原因:声卡驱动是否选对。首先要知道你本机支持的声卡驱动,然后在MPlayer的Preference->audio中选对相应的驱动即可。
1.1. 查看本机支持的声卡驱动:
点击System-》Preferences-》Sound,弹出Sound Preferences对话框,在Devices选项卡中对所有选项逐一测试支持的声卡。注意默认是autodetect,但是你既然要确定哪个声卡,就必须逐个测速。在我的机器上是如下配置:
如果用新立得安装的话,有时候会顺便安装gmplayer(mplayer-gui)前端,不过这个前端没有smplayer好用,所以推荐还是再安装smplayer。
1.2 然后安装一个mplayer前端,这里推荐使用SMPlayer(Install Smplayer (Mplayer Front-end))
Qt Mplayer front-end, with basic features like playing videos, DVDs, and VCDs to more advanced features like support for MPlayer filters and more. One of the most interesting features of SMPlayer: it remembers the settings of all files you play. So you start to watch a movie but you have to leave... don't worry, when you open that movie again it will resume at the same point you left it, and with the same settings: audio track, subtitles, volume...
package lists... DoneBuilding state information...Donelibstdc++5 is already the newest version.0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.可见,版本很重要。
常见问题:
1. 有图像没有声音,报错:could not open/initialize audio device ->no sound
原因:声卡驱动是否选对。首先要知道你本机支持的声卡驱动,然后在MPlayer的Preference->audio中选对相应的驱动即可。
1.1. 查看本机支持的声卡驱动:
点击System-》Preferences-》Sound,弹出Sound Preferences对话框,在Devices选项卡中对所有选项逐一测试支持的声卡。注意默认是autodetect,但是你既然要确定哪个声卡,就必须逐个测速。在我的机器上是如下配置: