Title: Use mplayer to play RMVB in 64-bit Ubuntu8.10. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
There are many players in Ubuntu. The default value is Totem, and more people like mplayer.
First, you can uninstall Totem. If you do not like two players in the system, you can easily use apt or synaptic.
Install mplayer:
sudo apt-get install mplayer mplayer-fonts mplayer-skin mozilla-mplayer |
Then log on to the mplayer official website to enter the download page: http://www.mplayerhq.hu/design7/dload.html
Download Decoder (Binary Codec Packages). Because I have installed a 64-bit system, I chose a 64-bit Decoder (Linux AMD64 20071007 ).
Decompress the package and release it to the/usr/lib/codecs directory. The command is as follows:
sudo mkdir /usr/lib/codecstar jxvf essential-amd64-20071007.tar.bz2sudo cp essential-amd64-20071007/* /usr/lib/codecs |
After completing these two steps, mplayer should be able to play the rmvb file normally, but after opening the rmvb file, I get the following error:
[VO_XV] It seems there is no Xvideo support for your video card available.[VO_XV] Run 'xvinfo' to verify its Xv support and read[VO_XV] DOCS/HTML/en/video.html#xv![VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.[VO_XV] Try -vo x11.Error opening/initializing the selected video_out (-vo) device. |
Use gedit or vim to open the configuration file and modify the video driver:
sudo vim /etc/mplayer/mplayer.conf |
Change vo = xv to vo = x11, save and exit.
Start mplayer, enable Preference-> Video, select X11 (XImage/Shm), save, and restart mplayer.
OK. Now, you can play rmvb normally, whether it is starting from the command line in Terminal or by double-clicking the rmvb File in File Browser.
For other settings, refer to the http://wiki.ubuntu.org.cn