mpv作为十分好用的视频播放器,一直想体验,今天就折腾了一下
安装十分简单
sudo pacman -Sy mpv
静待一会就安装成功
成功以后正常是能够打开的,不过我的mpv的图标死活打不开,视频也就播放不了
于是查找原因,输入命令行mpv:
mpv: error while loading shared libraries: libglslang.so.11: cannot open shared object file: No such file or director
说明我们缺少一个libglslang.so.11库,这玩意不知道是什么,不过还是得安装啊,度娘上这个库没有任何信息,操蛋,还是尝试这安装:
sudo pacman -S glslang
运行成功后就能使用mpv了,输入命令mpv就能得到:
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
ffmpeg library versions:
libavutil 56.51.100
libavcodec 58.91.100
libavformat 58.45.100
libswscale 5.7.100
libavfilter 7.85.100
libswresample 3.7.100
ffmpeg version: n4.3.1
Usage: mpv [options] [url|path/]filename
Basic options:
--start=<time> seek to given (percent, seconds, or hh:mm:ss) position
--no-audio do not play sound
--no-video do not play video
--fs fullscreen playback
--sub-file=<file> specify subtitle file to use
--playlist=<file> specify playlist file
--list-options list all mpv options
--h=<string> print options which contain the given string in their name
视频也能愉快的播放了