8000 [Feature] 希望出个选择固定线路上传的功能 · Issue #249 · timerring/bilive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

[Feature] 希望出个选择固定线路上传的功能 #249

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

Closed
katamabo opened this issue Apr 1, 2025 · 3 comments · Fixed by #257
Closed

[Feature] 希望出个选择固定线路上传的功能 #249

katamabo opened this issue Apr 1, 2025 · 3 comments · Fixed by #257

Comments

@katamabo
Copy link
katamabo commented Apr 1, 2025

我发现用美国小鸡上传,线路里qn速度最快能达到80mb/s
txa线路上传也比较稳定20m/s左右
bda2最差,3-20mb/s,持续低速上传几分钟就会失败

然后我根据#223 的回复里,修改/app/src/upload/generate_yaml.py里的bda2改成qn后,比对日志发现上传线路还是随机的,上传时这几种线路都有,所以希望能选择固定一种线路上传不知能否实现(能在web页面实现切换就更好了)。

@timerring
Copy link
Owner

感谢反馈,目前本项目已经完全采用 bilitool 作为上传工具,我也写了最佳线路探测的功能,你可以直接 pip install bilitool 上传一个视频尝试一下。线路和测速结果都在日志里,看看有没有改善。🤔

@katamabo
Copy link
Author
katamabo commented Apr 2, 2025

感谢反馈,目前本项目已经完全采用 bilitool 作为上传工具,我也写了最佳线路探测的功能,你可以直接 pip install bilitool 上传一个视频尝试一下。线路和测速结果都在日志里,看看有没有改善。🤔

刚终于部署上源码了,确实只用bilitool就能实现上传了,但刚传了下视频发现还是没走最快的qn线路

[INFO] - [2025-04-02 05:37:49,116 bilive upload] - deal with /root/blive/bilive/Videos/47867/47867_2025-04-02-05-16-.mp4
[INFO] - [2025-04-02 05:37:49,661 bilive upload] - First upload this live
probe_version=20221109&upcdn=alia&zone=cs 1.4300340720001259
probe_version=20221109&upcdn=txa&zone=cs 0.996412022000186

速度大概10mb/s左右,qn线路是5倍以上速度。就是希望能指定某条线路上传,然后失败了再自动换线路上传这样。

timerring added a commit that referenced this issue Apr 4, 2025
@timerring timerring mentioned this issue Apr 4, 2025
7 tasks
@timerring
Copy link
Owner
timerring commented Apr 4, 2025

已经添加,目前支持指定的线路有:

  • qn
  • bldsa
  • ws
  • bda2
  • tx

如果有更多需要指定的线路,欢迎直接在我的 bilitool 里 issue。

timerring added a commit that referenced this issue Apr 4, 2025
Repository owner locked and limited conversation to collaborators May 1, 2025
@timerring timerring converted this issue into discussion #329 May 1, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0