Install Mplayer and corresponding code in Ubuntu

Source: Internet
Author: User
1. install the software and the corresponding decoder first open the Ubuntu terminal. Input: sudoapt-getinstallmplayermozilla-mplayertotem-xinelibxine-extracodecs decoder sudoapt-getinstallw32codecs if not, you need to manually download and install. If mp3 files cannot be played, you can enable 7.04 to automatically

1. Install software and corresponding Decoder

First open the Ubuntu terminal. Enter:

Sudo apt-get install mplayer mozilla-mplayer totem-xine libxine-extracodecs

Decoder

Sudo apt-get install w32codecs

If not, you need to download the package and install it manually.

If mp3 files cannot be played, you can ask 7.04 to find the decoder automatically.

2. How to set Chinese subtitles for Mplayer

1) Click "Browse" in Preferences-Font to select a Chinese Font and Encodeing to select Unicode.

2) Select Encoding in Preferences-Subtitle & OSD:

Simplified Chinese Charset (cp936)

3) Adjust the subtitle size (I adjusted it to 3.8) in Preferences-Font "Text scale ).

If an error is prompted during playback, set the following parameters:

Preferences-Video: select "xv X11/Xv"

Preferences-Codecs & demuxer: Select FFmpeg/libavcodec audio decoders"

3. Solution to using Firefox for online playback

1) embedded playback. you can install the MediaWrap extension.

2) if you prefer to call an external player for playing, install MediaPlayerConnectivity.

4. There is no sound in playing rmvb through Totem.

Edit ~ /. Xine/catalog. cache file

Find

[/Usr/lib/xine/plugins/1.1.4/xineplug_decode_real_audio.so]

Increase decoder_priority to 10

In my own experience, the installation of mplayer and w32codecs is normal, but it may be due to the gstreamer plug-in at the beginning, Rhythmbox cannot play mp3, and then execute

Sudo apt-get install gstreamer0.10-ffmpeg gstreamer0.10-plugins-uugly gstreamer0.10-plugins-uugly-multiverse gstreamer0.10-pitfdll gstreamer0.10-plugins-bad Plugin-plugins-bad-multiverse

OK.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.