Giter Club home page Giter Club logo

Comments (3)

HFrost0 avatar HFrost0 commented on May 14, 2024 2

版本0.6.5已支持ASS格式的弹幕,基于biliass,并使用进程池在下载的同时进行转换

为什么需要进程池

考虑到弹幕文件较大时,转换属于CPU瓶颈任务,M1芯片转换5MB的一个弹幕文件需要数十秒的时间,因此使用了进程池配合协程,在下载的同时进行转换,充分利用多核cpu资源

还有什么问题

在用户中断的情形下,未完成转换的弹幕需要重新进行转换,可能出现视频下载完成了也没转换好的情况,在这种情况下进度条卡在100%并等待转换完成后才开始下一个视频的下载(收到了设置的最大并发数的限制),未来可能对biliass进行一定的修改,支持中断后的继续转换

from bilix.

HFrost0 avatar HFrost0 commented on May 14, 2024

biliass项目或许已经提供了支持👍

不过经过我测试,解析时间长的问题仍然存在

from bilix.

 avatar commented on May 14, 2024

感谢作者的项目,比用浏览器扩展或脚本下载快好多了,弹幕个人还是喜欢转成ass后外挂字幕

from bilix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.