Install the video player mplayer in centos

Source: Internet
Author: User
Tags gstreamer

Watch the video when installing mplayer on centos Desktop
Today, we installed the centos 6.3 desktop environment to work with the Java development environment.
After the event, I found that the TV player in the centos6.3 desktop application could not play videos such as AVI (it was originally a command line)
In itself, centos is a server system that implicitly integrates audio and video software. Then we should use the common mplayer player as our video player.
Because the system I installed is 64-bit, the link is 64-bit.

First:

Rpm-IVH [url = small... 2. el6.rf. x86_64.rpm [/url]

Second:

Rpm-UHV [url = small... 64-1.0-1.noarch.rpm [/url]

Third:

Yum install unzip libdvdread libdvdplay libdvdna v lsdvd Plugin-In mplayer-Gui compat-libstdc ++-33 flash-plugin gstreamer-plugins-bad gstreamer-plugins-uugly gstreamer-FFMPEG libquicktime

Fourth:
Wget [url = large... 061022-1.x86_64.rpm [/url]
Rpm-IVH mplayer-codecs-20061022-1.x86_64.rpm
Wget [url = large... 061022-1.x86_64.rpm [/url]
Rpm-IVH mplayer-codecs-extra-20061022-1.x86_64.rpm
Fifth:

If you can play the audio but cannot play the video, the following error is prompted:
Error opening/initializing the selected video_out (-vo) Device
In fact, the solution is very simple:
Open mplayer. Right-click --> select "Preferences" --> "video" tab --> select "X11" in "availabe drivers". --> Click "OK" to disable the settings. Restart mplayer. Open a video to check and solve the problem.

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.