红联Linux门户
Linux帮助

在Ubuntu本机编译mpv,秒杀其他播放器

发布时间:2016-10-15 11:25:03来源:linux网站作者:chain2010
发现这个mpv-player播放器特别简洁,已经完全满足我的要求了,现在看视频用鼠标滚轮快进快退,直接不带缓冲的,太流畅了!
在Ubuntu本机编译mpv,秒杀其他播放器
 
源码地址,https://github.com/mpv-player/mpv
 
源码弄过来,应该要叫你装一堆依赖的东东,下面给出:
sudo apt-get install autoconf automake debhelper ladspa-sdk libsoundio-dev libbluray-dev libbs2b-dev libcaca-dev libcdio-paranoia-dev libdvdnav-dev libdvdread-dev libegl1-mesa-dev libenca-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libgl1-mesa-dev libgbm-dev libgme-dev libgnutls28-dev libgsm1-dev libguess-dev libharfbuzz-dev libjack-jackd2-dev libjpeg-dev liblcms2-dev liblircclient-dev liblua5.3-dev libmodplug-dev libmp3lame-dev libnetcdf-dev libopenal-dev libopus-dev libopencore-amrnb-dev libopencore-amrwb-dev libpulse-dev librtmp-dev librubberband-dev libschroedinger-dev libsmbclient-dev libssh-dev libsoxr-dev libspeex-dev libtheora-dev libtool libtwolame-dev libuchardet-dev libv4l-dev libva-dev libvdpau-dev libvorbis-dev libvo-amrwbenc-dev libvpx-dev libwavpack-dev libx264-dev libx265-dev libx11-dev libxext-dev libxinerama-dev libxrandr-dev libxss-dev libxv-dev libxvidcore-dev pkg-config python python-docutils x11proto-core-dev yasm zlib1g-dev
 
装完上面的这些也差不了多少了!这是我用的,有些不是必须的。
 
另外需要的FFmpeg也建议自己编译最新版。流畅得一塌糊涂!
 
本文永久更新地址:http://www.linuxdiyf.com/linux/25070.html