Code Monkey home page Code Monkey logo

Comments (7)

leveychen avatar leveychen commented on June 15, 2024

补充一个,下载HLS的时候,下载速度是不正确的,大部分时候速度处于 0KB/s 但是百分比在走

from videodownloader.

JeffMony avatar JeffMony commented on June 15, 2024

好的,持续优化中。

from videodownloader.

JeffMony avatar JeffMony commented on June 15, 2024

2. m3u8任务文件内有950个ts切片,下载log显示有951个,导致任务没办法正常走onSuccess,一直处于 onProgress,没办法结束任务。没有成功保存local.m3u8

你下载的m3u8链接是什么啊?

from videodownloader.

JeffMony avatar JeffMony commented on June 15, 2024

两个问题

  1. 任何任务结束后 onSpeed 一直回调,不会结束
  2. m3u8任务文件内有950个ts切片,下载log显示有951个,导致任务没办法正常走onSuccess,一直处于 onProgress,没办法结束任务。没有成功保存local.m3u8

这个问题应该解决了。

from videodownloader.

leveychen avatar leveychen commented on June 15, 2024

filePath 拼接错了
正常应该是

abc/abc.video

而目前 filePath 和 fileName 输出均是

abc/abc/.video

多了一个 /

from videodownloader.

JeffMony avatar JeffMony commented on June 15, 2024

filePath 拼接错了
正常应该是

abc/abc.video

而目前 filePath 和 fileName 输出均是

abc/abc/.video

多了一个 /

这个没有复现。

from videodownloader.

GXSZone avatar GXSZone commented on June 15, 2024

VideoDownloadManager 里
onTaskFinished

else if (taskItem.isNonHlsType()) {
                        //    taskItem.setFilePath(taskItem.getSaveDir() + File.separator + taskItem.getFileHash() + File.separator + VideoDownloadUtils.VIDEO_SUFFIX);
                            taskItem.setFilePath(taskItem.getSaveDir() + File.separator + taskItem.getFileHash()+ VideoDownloadUtils.VIDEO_SUFFIX);
    
                            //   taskItem.setFileName(taskItem.getFileHash() + File.separator + VideoDownloadUtils.VIDEO_SUFFIX);
                            taskItem.setFileName(taskItem.getFileHash()+ VideoDownloadUtils.VIDEO_SUFFIX);
    

from videodownloader.

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.