Giter Site home page Giter Site logo

Comments (1)

Genteure avatar Genteure commented on May 18, 2024

已知常见问题 和 我自己的修复思路

  • 两次推流贴到了一起
    • 以 script tag 为分割点切割开
  • 两次推流贴到了一起并且第二个 script tag 后没有 video header 或 audio header
    • 切割开后,在第二个文件的开头插入第一个文件的 a/v header
  • 正常的流中间多出来一对时间戳偏离正常时间戳的 a/v header
    • 删除这对时间戳异常的 header
  • script 后出现多个时间戳接近但不同的 a/v header
    • 根据 header 内容先进行去重
    • 如果有内容不同的 header 取最后出现的一个,其他用自定义 SEI 保存起来,方便有问题时手动修复
    • 把选中的一对 a/v header 时间戳设为 0
  • 时间戳跳变
    • 通常发生在 GOP 和 GOP 之间
    • 算一下偏了多少,偏回去
      • 算法需要仔细研究一下,要考虑到可能的视频丢帧问题,音频不会丢帧所以可以以音频为主要基准
  • 从 a/v header 后第一帧开始时间戳跳变
    • 直接偏回 0

from bililiverecorder.

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.