Skip to content

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

Description

@katamabo

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

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

Activity

  1. timerring commented on Apr 2, 2025

    @timerring
    Owner

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

  2. katamabo commented on Apr 2, 2025

    @katamabo
    Author

    感谢反馈,目前本项目已经完全采用 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倍以上速度。就是希望能指定某条线路上传,然后失败了再自动换线路上传这样。

  3. added a commit that references this issue on Apr 4, 2025
    dad366a
  4. timerring commented on Apr 4, 2025

    @timerring
    Owner

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

    • qn
    • bldsa
    • ws
    • bda2
    • tx

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

  5. added a commit that references this issue on Apr 4, 2025
    1939ffc
  6. added a commit that references this issue on Apr 4, 2025
    1cb1801
  7. Repository owner locked and limited conversation to collaborators on May 1, 2025
  8. converted this issue into a discussion #329 on May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions