Code Monkey home page Code Monkey logo

androidvideoplayer's Introduction

AndroidVideoPlayer

0、说明

一个简单的视频播放器,通过ffmpeg实现核心功能,学习用。

1、播放器架构

整体功能解耦,native-lib只负责jni相关操作,而音视频的解码分别抽出一层,中间通过控制层传递、分发。

image

2、音视频解码层

通过自己管理队列的方式,可以给队列加限制,当队列大于一定数量时,则停止生产,避免出现内存消耗过大的情况。

管理packet、frame两个队列,可避免出现死锁的情况。

image

image

androidvideoplayer's People

Contributors

jyau9527 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.