Giter Site home page Giter Site logo

rtmp_media's Introduction

rtmp

基于librtmp和ffmpeg实现rtmp推流和拉流

开发环境的搭建参考

  1. 开发环境的搭建参考:《3-QT+FFmpeg4.2.1 Windows开发环境搭建.docx》 需要需要dll的拷贝。 如果不安装命令行,则需要自己将对应的dll拷贝到build-rtmp_publish-Desktop_Qt_5_10_1_MSVC2015_32bit-Debug的目录。

最新源码

  1. 最新源码: http://gitlab.0voice.com/liaoqingfu/rtmp

需要注意的工作

  1. 需要注意的工作 (1)从文件提取pcm数据 ffmpeg -i buweishui.mp3 -ar 48000 -ac 2 -f s16le 48000_2_s16le.pcm

(2)从文件提取yuv数据 ffmpeg -i 720x480_25fps.mp4 -an -c:v rawvideo -pix_fmt yuv420p 720x480_25fps_420p.yuv

将他们都放到 build-rtmp_publish-Desktop_Qt_5_10_1_MSVC2015_32bit-Debug 目录下面供读取。

工程名

rtmp_publish.pro 推流工程

rtmp_play.pro 拉流工程

rtmp_media's People

Contributors

ktyskr avatar

Stargazers

 avatar

Watchers

James Cloos 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.