What if CentOS uses MPlayer without sound?

  
                

After installing MPlayer in CentOS, some people have images without sound, and most of the online solutions are Linux systems. How to solve CentOS system? The following small series will introduce you to the Linux no sound solution using MPlayer player.

Step:

related packages 1. Install alsa, because rhel6 and above centos6 version uses the sound card configurations are alsa, so the sound may lack the relevant package related .

yum install -y *alsa*

2. Under the decoding package all-xxxxx.tar.bz2

http://www.mplayerhq.hu/MPlayer/Releases/codecs/

3. Extract all-xxxxx.tar.bz2

tar -xf all-xxxxx.tar.bz2

4.Create a folder
>

mkdir /usr/local/lib/codecs

5.Go to all-xxxx

cd all-xxxxxx

6. Move all the files inside to In the folder created in Part 4

mv -f /all-xxx/* /usr/local/lib/codecs

7. Re-. /configure. This time add the parameter --codecsdir=/usr/local/lib/codecs

. /configure --codecsdir=/usr/local/lib/codecs

8.make

9.make install

The above is the solution that CentOS uses MPlayer without sound. Introduced, MPlayer no sound is probably caused by the lack of alsa package, download the decoding package decompression, according to the method described in this article for related processing.

Copyright © Windows knowledge All Rights Reserved