Giter VIP home page Giter VIP logo

ffmpegplayer's Introduction

FFmpegPlayer

FFmpeg 编解码,直播推流学习demo

此demo包含功能:

  • FFmpeg播放器:集成FFmpeg库,jni调用库函数编解码音视频,播放视频。

    注:用demo播放视频需要将mp4视频文件拷贝到手机外部存储根目录,命名为“live.mp4”,既可播放,也可自行选择文件目录,然后在demo中把路径更改该路径即可。

  • 直播:rtmp推流 & x264编解码,jni实现

    注:此功能依赖于服务器,所以需要搭建服务器环境,搭建流程可参考:https://www.jianshu.com/p/cf7f0552ffe9 , 此功能可用于学习rtmp直播推流和x264编解码的jni实现逻辑。 推流成功后,可用FFmpeg命令播放服务器视频流:ffplay -i rtmp://xxx.xxx.xxx.xxx/myapp/

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.