Giter Site home page Giter Site logo

abccyz / car-eye-rtmp-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from car-eye-team/car-eye-rtmp-server

0.0 1.0 0.0 31.66 MB

Car-eye-RTMP-server 是基于Nginx开发的一个开源服务器,稳定高效。可应用于安防,移动终端,医疗,教育等行业。配合car-eye-server 实现对设备的管理,配合视频后台实现直播和点播功能。流媒体服务器后台设备管理平台网站:www.liveoss.com 视频直播测试网站:http://www.car-eye.cn:8080/

C 77.57% C++ 2.21% XSLT 0.07% Shell 1.54% HTML 1.84% Perl 8.51% Vim Script 0.54% Roff 1.62% XS 0.12% Makefile 2.96% Objective-C 0.26% Batchfile 0.17% DIGITAL Command Language 0.88% Assembly 1.20% M4 0.27% eC 0.01% Emacs Lisp 0.01% Scheme 0.01% Prolog 0.07% CMake 0.12%

car-eye-rtmp-server's Introduction

Car-eye-RTMP-server

服务器功能

Car-eye-RTMP-server 是基于Nginx开发的一个开源服务器,功能特点

  1. 支持音视频直播
  2. 支持flv/mp4视频格式,输入可以是文件或者HTTP流
  3. 支持两种流的分发模式 pushand pull
  4. 可以将直播流录制成flv文件
  5. H264/AAC编码
  6. 支持在线转码 Onlinetranscoding with FFmpeg
  7. 支持HLS (HTTP LiveStreaming)需要 libavformat (>= 8. 53.31.100) from ffmpeg (ffmpeg.org)
  8. HTTPcallbacks (publish/play/record/update etc)
  9. 支持外部程序(exec)
  10. HTTPcontrol module for recording audio/video and dropping clients
  11. 先进内存控制技术,可以在使用少量内存的情况下完成流畅的直播功能。
  12. 可以和以下协同工作。FMS server(Wirecast, FMS, Wowza,)Player(JWPlayer, FlowPlayer, StrobeMediaPlayback,)外部程序(ffmpeg,avconv,rtmpdump,flvstreamer )
  13. Statistics in XML/XSL in machine- & human- readable form
  14. 支持跨平台 Linux/FreeBSD/MacOS

编译nginx

./configure --prefix=/opt/nginx --add-module=../nginx-rtmp-module --with-pcre=../pcre --with-openssl=../openssl --with-zlib=../zlib --with-http_stub_status_module

安装nginx,到/opt/nginx目录下 make && make install

启动 ./sbin/nginx

查看nginx编译选项 nginx -V

修改nginx.con,重新加载配置文件 sudo ./sbin/nginx -s reload

直播测试使用obs推流 rtmp://192.168.12.178/live/livestream

hls请求 http://192.168.12.178/live/livestream/index.m3u8

vlc请求 rtmp://192.168.12.178/live/livestream

点播测试 rtmp://192.168.12.178/vod/test.flv

访问ngixn负载状态 http://192.168.12.178/nginx_status

访问rtmp链接状态 http://192.168.12.178/stat

jwplayer 直播rtmp http://192.168.12.178/index.html

rtmp 例子 香港卫视 rtmp://live.hkstv.hk.lxdns.com/live/hks 直播rtmp file: "rtmp://192.168.12.178/live/livestream" 点播rtmp file: "rtmp://192.168.12.178/vod/test.flv"

联系我们

car-eye 开源官方网址:www.car-eye.cn   

car-eye 流媒体平台网址:www.liveoss.com 

car-eye 技术官方邮箱: [email protected]

car-eye技术交流QQ群: 590411159      

 

CopyRight©  car-eye 开源团队 2018

car-eye-rtmp-server's People

Contributors

car-eye-admin avatar mainh avatar wangyueliang avatar

Watchers

 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.