Code Monkey home page Code Monkey logo

aplayer-1's Introduction

aplayer致力于将ffplay进行适当的裁剪和重构,以方便初学者快速理解ffplay的源码,入门ffmpeg。

本工程的源码基于ffmpeg-4.0.2。

裁剪主要是将主流程之外的代码,或是导致理解负担的代码移除。

重构则是将长函数按主流程、主步骤进行拆分,拆分为更容易理解的子函数,降低函数的复杂度。

注意本工程并不适合工程级别的使用,只作为入门学习用

已完成

裁剪

  • AVFILTER
  • cmd options
  • ffplay options
  • format options
  • codec options
  • config.h依赖
  • #if
  • 音频可视化代码

重构

  • 重构main函数
  • 重构读线程
  • 重构video显示
  • 重构audio输出
  • 重构subtitle显示
  • 重构解码线程

计划中

  • 暂无

不做什么

不迭代新的功能

aplayer-1's People

Watchers

 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.