Wednesday, December 24, 2008

Play RMVB in ubuntu 2

http://hi.baidu.com/rogertu/blog/item/eeeb2013aeec7c26dc54017d.html
一、使用自带的Totem Movie Player播放
1、安装ubuntu-restricted-extras
直接通过 Synaptic Package Manager 安装
2、安装w32codecs
下载安装文件w32codecs_xxx_i386.deb(http://debian-multimedia.org/pool/main/w/w32codecs/)来安装

之后,自带的"Totem Movie Player"即可播放rmvb格式文件。
但在测试时发现不能播放Audio Codec为“Real Aduio 10 (ACC)”格式的rmvb文件,error log(通过consolei启动时可看到)如下:

GStreamer encountered a general stream error
** Message: Error: GStreamer encountered a general stream error.
rmdemux.c(943): gst_rmdemux_loop (): /play/decodebin0/rmdemux0:
stream stopped, reason not-negotiated
(totem:11550): GStreamer-CRITICAL **: gst_object_unref: assertion `object != NULL' failed

目前还不知如何解决。

二、使用MPlayer播放
1. 如“一、使用自带的Totem Movie Player播放”中描述,安装ubuntu-restricted-extras和w32codecs
2. 安装MPlayer
直接通过 Synaptic Package Manager 安装
3. 修改"/etc/mplayer/mplayer.conf"文件(解决不能全屏播放问题)
去掉配置行"#zoom=yes"中的注释符"#"

目前还没有发现不能播放的rmvb文件。

三、使用RealPlayer播放(from: http://www.ubuntux.org/how-to-install-the-realplayer-multimedia-player)
1. Download the RealPlayer11GOLD from http://www.real.com/linux to your home directory.
2. Open Terminal (from this point on, you must have admin rights).
3. Type sudo chmod +x RealPlayer11GOLD.bin
4. Type sudo "./RealPlayer11GOLD.bin"
5. Follow prompts. It'll start the installer. Do as it instructs and hit Enter.
6. It'll ask for the install path. Default is fine and hit enter.
7. It'll ask for a confirmation of install path. Press F to Finish the install.
8. It copies files, installs icons, etc. When you get the prompt, it's done.
9. To launch the app, go to Applications > Sound & Video > RealPlayer 11.

目前还没有发现不能播放的rmvb文件。

No comments: