Coder Social home page Coder Social logo

opencvffmpegrtmp's Introduction

QT5 + Opencv + FFMpeg 采集视频后RTMP推流可视化应用

一. 方案

Opencv采集RTSP或者系统相机视频帧RGB => 通过FFMPEG转换成YUV格式 => YUV数据编码成H264 => 编码后的数据推流到RTMP服务器

二. 架构

1. opencv

2. FFmepg

3. QT5

三. 测试

1. 搭建本地RTMP服务器(ubuntu nginx+rtmp)

git clone https://github.com/arut/nginx-rtmp-module.git
wget http://nginx.org/download/nginx-1.13.3.tar.gz
tar -zxvf nginx-1.13.3.tar.gz
cd nginx*
./configure --add-module=/root/rtmp/nginx-rtmp-module 
make
sudo make install

pkill nginx
sudo /usr/local/nginx/sbin/nginx

ps -ef | grep nginx

2. 使用ffplay拉流测试

ffplay rtmp://10.88.7.193/live -fflags nobuffer

opencvffmpegrtmp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opencvffmpegrtmp's Issues

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.