-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
是否可以使用yt-dlp对直播源进行测速,而不是通过ffmpeg获取响应时间 #563
Comments
的确很快而且不准 |
我将测试后考虑是否采用 |
经测试,可行,比ffmpeg更快与更准确,基本实现秒播,预计下版本实现 |
大佬赞赞哒 |
贴一个改用yt-dlp来实现的代码供大佬参考,望大佬不要笑话。/utils/speed.py
|
@liulei120 好的,感谢你的分享 |
提醒一下大佬,提供代码的同学抓取的信息依然是fps,而这个fps的信息貌似与链接的真实效果有出入,正常应该是抓取yt-dlp中的速率哪里,我采用的是如下代码,仅供参考,目前觉得还是有点瑕疵:
|
已实现,请更新v1.5.4 |
原因是我发现使用ffmpeg获取响应速度很快,但是实际播放体验的时候效果不佳,具体表现为每个频道的前几个都卡,而有一部分不靠前的资源反倒很快,如果通过yt-dlp获取到url的真实速度,是不是就可以避免这种情况出现?
The text was updated successfully, but these errors were encountered: