mpv + you-get 是在线看视频的神器

2015-12-29 18:27:51 +08:00
 83f420984
话不多说,直接上图





国内视频网站支持比较完整,基本满足了我在线看的需求,而且看到喜欢的还能直接下载,最主要的是不发热啊.... :-)
38021 次点击
所在节点    分享发现
52 条回复
zhanglistar
2016-09-29 13:47:57 +08:00
百度云上的视频可以看吗?用 mpv 或者 you-get
dotpig
2016-10-26 10:48:38 +08:00
@Ken_Adams 我直接 Alfred 设置快捷键 workflow ,也很方便:

Mana
2016-11-30 12:16:46 +08:00
@dotpig 这个是怎么弄的
MrJiren
2016-12-13 19:33:39 +08:00
如果想看 youtube 视频需要设置一下代理吗?
exxfzc
2017-06-10 01:51:18 +08:00
@dotpig 大神,你这个是怎样弄的?
dotpig
2017-06-10 10:43:30 +08:00
@exxfzc 就是个简单的 Workflow,用终端命令开启 mpv,并把剪贴板上的的视频地址传递给 mpv。
exxfzc
2017-06-10 20:50:46 +08:00
@dotpig 求 work flow,616637506@qq.com
exxfzc
2017-06-10 20:51:35 +08:00
另外,mpv 今天突然播放视频没有声音了,是怎么回事呀!!!!昨天卸载了 mplayerx,不会跟这有关系吧!!!
exxfzc
2017-06-10 22:26:21 +08:00
Last login: Sat Jun 10 22:03:26 on ttys000
zilingdeMacBook-Pro:~ ziling$ http://v.youku.com/v_show/id_XNTE3ODIxMjQ=.html?spm=a2h0k.8191407.0.0&from=s1.8-1-1.2
[1] 1778
-bash: http://v.youku.com/v_show/id_XNTE3ODIxMjQ=.html?spm=a2h0k.8191407.0.0: No such file or directory
zilingdeMacBook-Pro:~ ziling$ mpv http://v.youku.com/v_show/id_XNTE3ODIxMjQ=.html?spm=a2h0k.8191407.0.0&from=s1.8-1-1.2
[2] 1785
[1] Exit 127 http://v.youku.com/v_show/id_XNTE3ODIxMjQ=.html?spm=a2h0k.8191407.0.0
zilingdeMacBook-Pro:~ ziling$ Resuming playback. This behavior can be disabled with --no-resume-playback.
Loading config '/Users/ziling/.config/mpv/watch_later/280E44D0459B8AE48F29A468B7F57361'
Playing: http://v.youku.com/v_show/id_XNTE3ODIxMjQ=.html?spm=a2h0k.8191407.0.0
[markfinished] Not have tag 1 nil
(+) Video --vid=1 (h264)
(+) Audio --aid=1 (aac)
[drc] libavfilter filter 'drc' not found!
Couldn't create or open audio filter 'drc'
Error at audio filter chain pre-init!
Audio: no audio
failed to init videotoolbox decoder: Hardware doesn't support accelerated decoding for this stream or Videotoolbox decoder is not available at the moment (another application is using it). (-78)
VO: [opengl] 512x288 yuv420p
[ffmpeg] NULL: missing picture in access unit with size 2760

看不懂
dotpig
2017-06-12 17:48:58 +08:00
@exxfzc 给你 Workflow 也没用啊,每个安装情况不一样啊。我用的终端是 iTerm,下面是脚本:

on alfred_script(q)
if application "iTerm" is running or application "iTerm" is running then
run script "
on run {q}
tell application \":Applications:iTerm.app\"
activate
try
select first window
set onlywindow to false
on error
create window with default profile
select first window
set onlywindow to true
end try
tell the first window
tell current session to write text \"mpv \" & q
end tell
end tell
end run
" with parameters {q}
else
run script "
on run {q}
tell application \":Applications:iTerm.app\"
activate
try
select first window
on error
create window with default profile
select first window
end try
tell the first window
tell current session to write text \"mpv \" & q
end tell
end tell
end run
" with parameters {q}
end if
end alfred_script

自己弄一个 workflow 吧,设置个快捷键,读取剪贴板内容。
exxfzc
2017-06-12 23:47:47 +08:00
@dotpig 有点深奥,得慢慢研究研究
corsair
2019-01-10 11:40:10 +08:00
为啥我的用 you-get 不能播放,默认的 youtube-dl 才可以播放

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/246998

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX