Home  >  Article  >  Operation and Maintenance  >  centos cannot play video

centos cannot play video

王林
王林Original
2020-03-18 17:06:053853browse

centos cannot play video

1. Install epel, elrepo, nux-dextop source

epel address: wget -O /etc/yum.repos.d/epel.repo http:/ /mirrors.aliyun.com/repo/epel-7.repo

elrepo address: rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch. rpm

nux-dextop address: yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0 -5.el7.nux.noarch.rpm

(Recommended tutorial: centos usage tutorial)

2. Install the following decoder under the root account:

yum -y install gstreamer-ffmpeg
yum -y install gstreamer-plugins-ugly
yum -y install gstreamer-plugins-bad
yum -y install ffmpeg
yum -y install libvdpau
yum -y install mpg123
yum -y install mplayer
yum -y install mplayer-gui
yum -y  install gstreamer1-libav

yum -y  install vlc

3. Restart the system.

Recommended related video tutorials: linux video tutorial

The above is the detailed content of centos cannot play video. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn