Giter VIP home page Giter VIP logo

Comments (8)

iawia002 avatar iawia002 commented on August 26, 2024

hi @macdavis 更新一下 0.3.1,亲测有效,如果你还有问题的话 reopen 这个 issue

from lulu.

macdavis avatar macdavis commented on August 26, 2024

谢谢您的更新,确实可以调用ffmpeg了。可是速度慢的问题依旧没有解决。最严重的是ffmpeg到了00:06:07.97出出现大量类似

Non-monotonous DTS in output stream 0:0; previous: 33112564, current: 356220; changing to 33112565. This may result in incorrect timestamps in the output file.

的警告,最后timestamp似乎也有问题。不知您是否可以测试下载到00:06:07.97处及以后。

另外,不知是否可以做到自动从m3u8里获取片段下载地址并使用多线程下载,最后交由ffmpeg合并。这样效率可以提高很多。

from lulu.

iawia002 avatar iawia002 commented on August 26, 2024

爱奇艺的下载地址要特殊一些,它是全部交给 ffmpeg 来下载合并的,至于下载速度和警告的问题可以看看 ffmpeg 有没有什么参数可以增强。只要最后下载完成后的视频是正常的就行了。我试过一些小视频是完全没有问题的,完整的电影我倒是没试过

from lulu.

iawia002 avatar iawia002 commented on August 26, 2024

Non-monotonous DTS in output stream 0:0; previous: 33112564, current: 356220; changing to 33112565. This may result in incorrect timestamps in the output file.

这个可能是 ffmpeg 的问题或者我参数用错了,我先下载完来试一下视频文件有没有问题

from lulu.

iawia002 avatar iawia002 commented on August 26, 2024

@macdavis 更新一下 0.3.2,解决了出现大量警告的问题(爱奇艺的 m3u8 url 拿错了)

from lulu.

macdavis avatar macdavis commented on August 26, 2024

确实可以下载,感谢更新!

不过音频由之前的eac3变成了aac,比如这部:http://www.iqiyi.com/v_19rra8tjv0.html#vfrm=2-4-0-1,原先可以抓到5.1声道的eac3,现在只有2声道aac了。

from lulu.

iawia002 avatar iawia002 commented on August 26, 2024

你是说最开始的要报错的那个 url 是 eac3 的?那个 url 的文件确实哪里不对,它只有开头大概 6 分钟是正常的,以后都不对

from lulu.

macdavis avatar macdavis commented on August 26, 2024

是的,之前版本解析出720p的音轨是eac3,看ffmpeg 这里:
Stream #0:1: Audio: eac3 ([135][0][0][0] / 0x0087), 48000 Hz, stereo, fltp, 96 kb/s.

没记错的话,之前版本解析http://www.iqiyi.com/v_19rra8tjv0.html#vfrm=2-4-0-1得到的是256kbps的5.1声道eac3。

from lulu.

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.