Giter VIP home page Giter VIP logo

Comments (7)

wellttllew avatar wellttllew commented on August 22, 2024 2

@hougang2013 我发现可以用 ngx-ts-module ,不过目前官方的没有切在 gop 边界上:

  • ksffmpeg -i rtmp://xxxx/live/xxx -c copy -f mpegts http://nginx-with-ts-module/publish/hls/xxxx
    • ksffmpeg 指金山的 ffmpeg 哈。
  • 我发现官方没有判断是否为HEVC,我在我的 patch 里面添加了支持
  • 另外官方使用的 Meta 里面的 Random Access Indicator 来判断是否为 IDR 帧,有的 ts 打包器(额,比如我们公司的)里面不会有 meta,所以 IDR 帧没法准确判断 (这个我没有做,感觉要去通过 ES 数据来判断)

Check This

from blss.

gnolizuh avatar gnolizuh commented on August 22, 2024

flv tag 里的 hevc codec_id 设置的对吗?

from blss.

hougang2013 avatar hougang2013 commented on August 22, 2024

我按照金山云提供的rtmp/flv协议扩展方式,对ffmpeg进行了扩展,其codec_id=12。扩展方法:https://github.com/ksvc/FFmpeg

from blss.

hougang2013 avatar hougang2013 commented on August 22, 2024

image

from blss.

gnolizuh avatar gnolizuh commented on August 22, 2024

HLS 支持 hevc 的代码暂未合入。

from blss.

hougang2013 avatar hougang2013 commented on August 22, 2024

期待合入! 我现在都是直接用ffmpeg进行hls切片的,性能不行! 执行的exec_push ffmpeg

from blss.

wellttllew avatar wellttllew commented on August 22, 2024

@hougang2013

from blss.

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.