Using Mplayer in Linux to play movies of various formats

Source: Internet
Author: User
Article Title: Use Mplayer to play movies of various formats in Linux. Linux is a technology channel of the IT lab in China. Linux system management, kernel research, embedded systems, open source, and other basic classification steps require the use of the linva repository.
 
Use root to execute the command.
 
Yum install mplayer-gui mplayerplug-in mplayer-doc mplayer-fonts
 
After the installation, mplayer is successfully installed.
 
When you use a common user to execute mplayer, the following information is displayed:
 
  
     
      [jzhenyon@dhcp-0-151 scsi]$ mplayerMPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer TeamCPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1Compiled with runtime CPU detection.Usage: mplayer [options] [url|path/]filename.......
     

 
You can also execute gmplayer to display a graphic dialog box.
 
Next, you need to install the decoder.
 
Download the latest decoder from the following webpage.
 
Http://www1.mplayerhq.hu/MPlayer/releases/codecs/
 
Decompress the files and put them in the/usr/lib/codecs directory.
 
Tar xvjf all-20061022.tar.bz2-C/tmp
 
Cp/tmp/all-20061022/*/usr/lib/codecs
 
Find an rmvb file for testing.
 
Run the following command:
 
Mplayer test. rmvb
 
Or
 
Gmplaer test. rmvb
 
You can play this movie.
 
Firefox can use mplayerplug-in as a plug-in to play videos on webpages.
 

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.