[Feelings & Sharing] mpv最新版安装方式 ,有不对的希望大家提醒更正
Tofloor
poster avatar
jiutian123
deepin
2022-03-02 02:02
Author

sudo deepin-editor /etc/apt/sources.list

写入下一行保存

deb-src https://community-packages.deepin.com/deepin/ apricot main contrib non-free

sudo apt build-dep mpv

git clone https://gitee.com/mirrors/mpv.git

cd mpv

echo --enable-libx264 >> ffmpeg_options

echo --enable-vapoursynth >> mpv_options

sudo su

echo "/usr/local/ffmpeg/lib" > /etc/ld.so.conf.d/ffmpeg.conf

ldconfig -v

./bootstrap.py
./waf configure
./waf
./waf install

完成安装!tail

Reply Favorite View the author
All Replies
1 / 2
To page
jiutian123
deepin
2022-03-02 02:04
#1
Reply View the author
lcw0268
deepin
2022-03-02 02:28
#2
It has been deleted!
Tonny
deepin
2022-03-02 03:04
#3
It has been deleted!
jiutian123
deepin
2022-03-02 03:29
#4
lcw0268 It has been deleted!

https://www.bilibili.com/video/BV1r44y1T7bi 这是后面重新录的操作视频

Reply View the author
jiutian123
deepin
2022-03-02 03:31
#5
Tonny It has been deleted!

复杂么?感觉挺简单的呀 一路复制粘贴 就完成了 主要是刚开始的编译工具 记得不太清楚了blush

Reply View the author
jiutian123
deepin
2022-03-02 03:36
#6
lcw0268 It has been deleted!

git编译安装的软件怎么卸载?我开始菜单右键卸载失败,直接删除git下载 的文件夹后,编译的软件开始菜单快捷方式打不开了 命令端 正常打开

Reply View the author
lcw0268
deepin
2022-03-02 05:04
#7
It has been deleted!
安洛
deepin
2022-03-02 07:01
#8

git下来的应该叫开发版吧,最新版一般指的是最新正式版。

Reply View the author
jiutian123
deepin
2022-03-02 09:05
#9
安洛

git下来的应该叫开发版吧,最新版一般指的是最新正式版。

好像不是 命令端显示是0.34的 用的 gitee上的 说是每天一更新,,不过看 github最新是0..34.1吧

Reply View the author
jiutian123
deepin
2022-03-02 09:11
#10
lcw0268 It has been deleted!

./bootstrap.py
./waf configure
./waf
./waf install

安装就这四条没有make install

./waf uninstall 后 快捷方式还在

nsz@nsz:/mpv$ ./waf install
bash: ./waf: 权限不够
nsz@nsz:
/mpv$
nsz@nsz:~/mpv$ sudo ./waf uninstall
请输入密码:
验证成功
Waf: Entering directory `/home/nsz/mpv/build'

  • remove /usr/local/bin/mpv
  • remove /usr/local/share/doc/mpv/mpv.conf
  • remove /usr/local/share/doc/mpv/input.conf
  • remove /usr/local/share/doc/mpv/mplayer-input.conf
  • remove /usr/local/share/doc/mpv/restore-old-bindings.conf
  • remove /usr/local/share/man/man1/mpv.1
  • remove /usr/local/share/zsh/site-functions/_mpv
  • remove /usr/local/share/bash-completion/completions/mpv
  • remove /usr/local/share/applications/mpv.desktop
  • remove /usr/local/etc/mpv/encoding-profiles.conf
  • remove /usr/local/share/icons/hicolor/16x16/apps/mpv.png
  • remove /usr/local/share/icons/hicolor/32x32/apps/mpv.png
  • remove /usr/local/share/icons/hicolor/64x64/apps/mpv.png
  • remove /usr/local/share/icons/hicolor/128x128/apps/mpv.png
  • remove /usr/local/share/icons/hicolor/scalable/apps/mpv.svg
  • remove /usr/local/share/icons/hicolor/symbolic/apps/mpv-symbolic.svg
    Waf: Leaving directory `/home/nsz/mpv/build'
    'uninstall' finished successfully (0.375s)
    nsz@nsz:~/mpv$ mpv
    bash: mpv:未找到命令
Reply View the author
lcw0268
deepin
2022-03-02 17:34
#11
It has been deleted!
depend
deepin
2022-03-02 17:44
#12
jiutian123

标准安装,我知道的,嘿嘿

Reply View the author
depend
deepin
2022-03-02 17:55
#13

你是要做mpv的相关开发吗,还挺好的,我之前的动态壁纸就是基于mpv做的

Reply View the author
jiutian123
deepin
2022-03-02 21:23
#14
lcw0268 It has been deleted!

是的 总共用了不到6分钟

Reply View the author
jiutian123
deepin
2022-03-02 21:26
#15
depend

你是要做mpv的相关开发吗,还挺好的,我之前的动态壁纸就是基于mpv做的

不是开发 不过这样安装可以修改 倍速播放等 比如1000倍速 不懂开发 不懂编程blush image.png

Reply View the author
jiutian123
deepin
2022-03-02 21:28
#16
lcw0268 It has been deleted!

ffmpeg

我用的 系统自带的 没有再弄最新的

FFmpeg version: 4.1.8-1+dde

Reply View the author
lcw0268
deepin
2022-03-02 21:49
#17
It has been deleted!
jiutian123
deepin
2022-03-02 23:31
#18
lcw0268 It has been deleted!

试了下太极拳1000 也很慢,偶尔想到的 就是想看看变快后咋样

Reply View the author
depend
deepin
2022-03-03 00:04
#19
jiutian123

不是开发 不过这样安装可以修改 倍速播放等 比如1000倍速 不懂开发 不懂编程blush image.png

tail

t挺好的

Reply View the author
gshun
deepin
2022-03-04 07:00
#20

自编译确实是完全可行的,但我基本还是停留在自己找deb包的程度,https://non-gnu.uvt.nl/,算是mpv官网友情链接吧,但很可惜最近看的时候没有debian 10 的mpv了。debian 11的倒是有,希望deepin的stable今早上debian 11的仓库。

Reply View the author
1 / 2
To page