Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

youtube已经开播,但是显示status为0 #44

Open
XavierLee-0 opened this issue Mar 28, 2021 · 5 comments
Open

youtube已经开播,但是显示status为0 #44

XavierLee-0 opened this issue Mar 28, 2021 · 5 comments
Labels
invalid This doesn't seem right

Comments

@XavierLee-0
Copy link

youtube的房间已经开播,使用默认参数进行录播时,status为0。
image

@lovezzzxxx
Copy link
Owner

刚刚开播时检测不到是正常的,一般来说会有十几秒不等的延迟
现在这边测试好像还能用,但也可能是youtube已经更新但各地不同步,只能再继续观察看看了

@Explorare
Copy link

我这边测试是已经开播 114514 秒了依然显示 status 0 就很麻
image

@lovezzzxxx lovezzzxxx added the invalid This doesn't seem right label Jun 6, 2021
@bearlittle
Copy link

我这边测试是已经开播 114514 秒了依然显示 status 0 就很麻
image

我也出现过这个问题,后来我检查了判断直播状态检测的网页,结果获取的页面是Google使用cookies的确认页面
截屏2021-08-09 15 06 21
而不是检测直播频道,所以一直无法检测到开播状态.我将代码做了小德修改,改成代码改成红色部分就可以了
截屏2021-08-09 15 15 00

@XavierLee-0
Copy link
Author

我这边测试是已经开播 114514 秒了依然显示 status 0 就很麻
image

我也出现过这个问题,后来我检查了判断直播状态检测的网页,结果获取的页面是Google使用cookies的确认页面
截屏2021-08-09 15 06 21
而不是检测直播频道,所以一直无法检测到开播状态.我将代码做了小德修改,改成代码改成红色部分就可以了
截屏2021-08-09 15 15 00

谢谢,跟据你提供的方法修改之后能录制了。但是又遇到了另一个问题,录了一次之后就停止了,也没有看到文件夹下面有录制的片段
image
image

@SekiBetu
Copy link
Contributor

SekiBetu commented Aug 9, 2021

我这边测试是已经开播 114514 秒了依然显示 status 0 就很麻
image

我也出现过这个问题,后来我检查了判断直播状态检测的网页,结果获取的页面是Google使用cookies的确认页面
截屏2021-08-09 15 06 21
而不是检测直播频道,所以一直无法检测到开播状态.我将代码做了小德修改,改成代码改成红色部分就可以了
截屏2021-08-09 15 15 00

谢谢,跟据你提供的方法修改之后能录制了。但是又遇到了另一个问题,录了一次之后就停止了,也没有看到文件夹下面有录制的片段
image
image

建议更新下这些工具,特别是ffmpeg和streamlink:

sudo apt -y install ffmpeg ; pip3 install --upgrade git+https://github.com/streamlink/streamlink.git ; pip3 install --upgrade git+https://github.com/ytdl-org/youtube-dl.git ; pip3 install --upgrade git+https://github.com/soimort/you-get.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

5 participants