In Ubuntu8.10, there are many audio and video players. The default value of the system is Totem, and it seems that 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: sudoapt-getinstallmplayermplayer-fontsmplayer-skinmozilla-mp
There are many audio and video players in Ubuntu 8.10. 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-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/codecs
Tar jxvf essential-amd64-20071007.tar.bz2
Sudo cp essential-amd64-20071007/*/usr/lib/codecs
After completing these two steps, MPlayer should be able to play the rmvb audio and video files normally. However, after opening the rmvb file, I got 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. 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.