Giter Site home page Giter Site logo

hks-http-flv-live's Introduction

hks-http-flv-live

基于 ffmpegLivego ,将香港卫视 RTMP 直播流转为 HTTP-FLV 直播流的 Docker 镜像。Docker hub

长期使用发现,香港卫视的实时流不稳定,默认视频流地址替换为[香港财经]推流:rtmp://202.69.69.180:443/webcast/bshdlive-pc

Update

支持自定义流

Why ?

在进行 RTMP 开发时,常常会用到 香港卫视所提供的 RTMP 直播流 rtmp://live.hkstv.hk.lxdns.com/live/hks 香港财经所提供的 RTMP 直播流 rtmp://202.69.69.180:443/webcast/bshdlive-pc进行测试 。但是 http-flv 却并没有一个可以随时访问到的直播流,通过 hks-http-flv-live 镜像可以将香港卫视 RTMP 直播流转为 HTTP-FLV 直播流,方便进行开发与测试

在 Flash 时代,RTMP 是非常常用的 Web 直播技术。而现在,Flash 已处于被抛弃的边缘,新的 Web 直播技术 HLS、WebRTC 等,则多少有着使用复杂(对服务端改造较大)、兼容性、延迟较大等问题。http-flv + flv.js 方案成为了一个好的选择,关于 flv.js 的具体使用请见其主页

Usage

默认值(香港财经)启动

docker pull aute/hks-http-flv-live

docker run --rm -p 7001:7001 docker.io/aute/hks-http-flv-live

启动后 http-flv 直播地址为:http://localhost:7001/http/flv.flv

自定义流启动

docker pull aute/hks-http-flv-live

docker run --rm -p 7001:7001 --env url=yourStream docker.io/aute/hks-http-flv-live

启动后 http-flv 直播地址为:http://localhost:7001/http/flv.flv

hks-http-flv-live's People

Contributors

aute avatar

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.