页次: 1
由于 yt-dlp 下载油管视频速度爆杀长期没更新的 youtube-dl, 我把 mpv 用的下载器改成了 yt-dlp:
script-opts-append=ytdl_hook-ytdl_path=/usr/bin/yt-dlp
这么设置之后看油管视频的速度确实变快了, 但我发现 b站视频在这个设置下无法正常播放:
% mpv "https://www.bilibili.com/video/BV1eY4y167sz"
[ffmpeg] https: HTTP error 403 Forbidden
Failed to open https://upos-sz-mirrorcoso1.bilivideo.com/upgcxcode/17/19/725361917/725361917-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1653144737&gen=playurlv2&os=coso1bv&oi=2029905963&trid=3061723c144845eebc3b35d28d15a224u&platform=pc&upsig=51f1e2193a3daa9ee2005d1dfaca5571&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&bvc=vod&nettype=0&orderid=0,3&agrr=0&bw=114837&logo=80000000.
EDL: Could not open source file 'https://upos-sz-mirrorcoso1.bilivideo.com/upgcxcode/17/19/725361917/725361917-1-30077.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1653144737&gen=playurlv2&os=coso1bv&oi=2029905963&trid=3061723c144845eebc3b35d28d15a224u&platform=pc&upsig=51f1e2193a3daa9ee2005d1dfaca5571&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,platform&mid=0&bvc=vod&nettype=0&orderid=0,3&agrr=0&bw=114837&logo=80000000'.
Subs --sid=1 --slang=danmaku 'xml' (null) (external)
No video or audio streams selected.
之后把下载器改回 youtube-dl, mpv 就能正常播放 b站视频了. (当然放油管视频慢得像蜗牛. ) 请问这个问题该怎么解决?
离线
加参数 --referrer=https://www.bilibili.com
离线
加参数 --referrer=https://www.bilibili.com
是否能通过在 conf 里设置, 让 mpv 处理 *bilibili.com/video/* 链接的时候自动加上这个 reference 参数呢?
离线
我也问下,youtube-dl能下载aqiyi,tencent视频吗?
离线
页次: 1