Mplayer installation, configuration, and adjustment of Chinese subtitles

Source: Internet
Author: User
Preparations:
MPlayer-1.0rc2.tar.bz2 mplayer source code compressed package
Essential-20071007.tar.bz2 decoding package
PowerPlayer-1.1.tar.bz2 graphic interface skin package (this is imitation powerdvd interface, I like)
The above three files can be downloaded from http://www.mplayerhq.hu/design7/dload.html
Zysong. TTF built-in font for Linux
/Usr/share/fonts/Chinese/TrueType directory

Compilation and Installation
First, decompress essential-20071007.tar.bz2 and install it in the default decoding directory to change the owner of the file.
Tar jxvf essential-20071007.tar.bz2
MV essentials-20071007/usr/local/lib/codecs
Chown root. Root/usr/localhost/lib/codecs-RP
Compile mplayer
Tar jxvf MPlayer-1.0rc2.tar.bz2
Chown root. Root MPlayer-1.0rc2-RP
CD MPlayer-1.0rc2
./Configure -- enable-Gui
Make
Make install
Configure skin and subtitles
Set skin
Tar jxvf PowerPlayer-1.1.tar.bz2
Chown root. Root PowerPlayer-RP
MV PowerPlayer/usr/local/share/mplayer/skins/Default
Set subtitles
CP zysong. TTF/root/. mplayer/subfont. TTF
Run gmplayer. Right-click the mplayer interface and select the preference tab.
Select Simplified Chinese charset (cp936) for encoding in Subtitle & OSD)
Select Unicode for encoding in font
In font, select/root/. mplayer/subfont. TTF through browse.

So far, the installation of mlpayer has been completed.

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.