-
Notifications
You must be signed in to change notification settings - Fork 371
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
关于视频码率问题 #133
Comments
你可以自己修改提交 PR ,问题已经定位到了。 我测试了下。 下载视频: 清晰度选择: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
大佬你好,感谢你的项目。目前下载视频遇到一点问题,希望可以解决一下。
问题描述:
单个视频情况下,选择指定视频清晰度后,下载下来的视频的码率不正确。
我查看了源码,其中获取视频下载地址的方法似乎不会获取最大码率的一项,如下:
videoUrl
以下方数据为例
按照代码的功能,会获取列表中第一个视频,但是第一个视频的码率是最低的,应该是
codecid:7
的那一项才是正确的。所以应该是
dash.video.find((item: any) => item.id === quality && item.codecid === cid)
。希望大佬抽时间修复一个这个 bug,再次感谢。
The text was updated successfully, but these errors were encountered: