Giter Site home page Giter Site logo

mp4parser's Introduction

###项目介绍

这个项目fork自Jackarain,感谢。主要功能是解析MP4文件,获取各个box内容,在其上做了一些修改,兼容标准的MP4文件格式

  1. 使能够运行在linux平台下,修改了输出日志代码
  2. 增加mmpu,hint,mmth,muli box解析
  3. 增加box搜索功能(这个地方运行会有内存错误,待完善)

###使用说明

#####编译:

我测试的环境是在ubuntu下用eclipse开发,语音是c,编译的时候可能需要添加math库,即加上 -lm #####添加box: 如果里面没有添加你需要的box,你可以自行添加,,添加的方法,修改mp4.c和mp4.h文件,找一个类比参考(如ftyp,mmpu)修改相应的部分,stream.c里面有你需要的获取流数据的函数

获取box:

使用函数root = MP4_BoxGetRoot(s),会获取整个MP4结构,通过first和next指针找到你所需要的box或container,root是一个二叉树,正在准备完善搜索

mp4parser's People

Contributors

timosys avatar tangxuguo avatar

Watchers

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