GithubHelp home page GithubHelp logo

dw9 / cpp_streamer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from runner365/cpp_streamer

0.0 0.0 0.0 25.34 MB

cpp streamer work in dynamic modules for media develop. It include flv/mpegts/rtmp/webrtc modules, and go on developing more modules

Shell 0.02% C++ 98.91% CMake 1.07%

cpp_streamer's Introduction

README_中文

cpp_streamer

cpp streamer is an audio and video component developed based on C++11. Users can connect the components together to implement their own streaming media functionality.

Supports various media formats, streaming live/RTC protocols.

  • flv mux/demux
  • mpegts mux/demux
  • rtmp publish/play
  • srs whip
  • srs whip bench(srs webrtc bench)
  • mediasoup whip(mediaoup webrtc bench)

For network development, it utilizes the high-performance, cross-platform libuv network asynchronous library.

Usage Instructions.

cpp streamer is an audio-video component that offers streaming development mode.

For example:The implementation of converting FLV files to MPEG-TS is as shown in the following diagram.

cpp_stream flv2mpegts

  • First, read the FLV file;
  • Using the flvdemux component: import the file binary stream through the source interface, parse it, and then output the video + audio media stream through the sinker interface;
  • Using the mpegtsmux component: import the parsed media stream from the upstream through the source interface, encapsulate it into MPEG-TS format internally in the component, and then output it in MPEG-TS format through the sinker interface;
  • Output through the sinker interface of the mpegtsmux component, write to a file, and obtain an MPEG-TS file;

application examples

cpp_streamer's People

Contributors

runner365 avatar sweibd 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.