Install mplayer 2 in source code

Source: Internet
Author: User
Mplayer executable files are all in the/opt/MPlayer-1.0pre7try2/bin directory to see what is there?

Mplayer can play media files using the command line and keyboard. Of course, gmplayer is playing media files in a graphical way!

Now go to the/opt/MPlayer-1.0pre7try2/share/mplayer folder. Check whether there is a font folder and a skin folder. If you do not open it, create one.

Unzip the decompressed folder into the font directory.

Then, extract the downloaded skin package into the skin directory. Create a default directory and copy the contents in any skin folder. After the mplayer graphical interface is started,ProgramThe skin files in the default directory will be loaded.

At last, we should not forget that we have two parameters when configuring the compilation parameters:

-- With-win32libdir =/opt/MPlayer-1.0pre7try2/Win32

-- With-codecsdir =/opt/MPlayer-1.0pre7try2/codecs

So we should create a Win32 folder under the/opt/MPlayer-1.0pre7try2 directory, copy the downloaded windows decoding library package decompressed file. Create a new codecs folder and copy the downloaded files from the unzipped mplayer library package.

During playback, there are manyArticleThe command format is "mplayer file path" and "gmplayer file path ". But not now. This is because the mplayer and gmplayer execution files are installed in the/usr/bin directory when using the default parameter compilation. The/usr/bin directory has been configured in Linux environment variables. However, our mplayer and gmplayer files are in the installation directory. Therefore, to run mplayer, you need to enter the bin folder in the installation directory. Run "./mplayer file path" and "./gmplayer file path ".

Now all the multimedia files you have enjoyed in windows can be played smoothly. Great!
Use nowSource codeThe mplayer installation method is complete.

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.