
mp4
文章平均质量分 65
brightming
持续学习与实验,持续成为更好的自己
展开
-
使用mp4v2产生mp4文件
目前只用到了视频流。主要步骤: 1、创建mp4文件int wrap_create_h264_mp4_file(const char *filepath,const mp4_warp_h264_format *params,mp4_wrap_ret_handler *handler) { printf("open file :%s\n",filepath); MP4FileHand原创 2015-11-03 17:33:13 · 5292 阅读 · 1 评论 -
mp4的box信息——avcC,mdat
前面忽略了avcC的box信息和mdat的格式信息,后面遇到了问题,现在在这里补充上这两个box的信息。这2个box的信息在iso_iec-14496-15中。//————avcC——————-// 5.3.4.1 Sample description name and format 5.3.4.1.1 Definition Box Types:‘avc1’, ‘avcC’, ‘m4ds’,原创 2015-11-03 17:14:15 · 9535 阅读 · 1 评论 -
在c中使用mp4v2的库——准备工作
mp4v2的库是用c++的,我需要将其使用到我的c的代码中。1、编译出mp4v2的so 2、编写cpp的wrapper代码; 3、在原来的c代码中调用接口代码;参考: http://blog.youkuaiyun.com/sjin_1314/article/details/20958149 http://blog.youkuaiyun.com/maximuszhou/article/details/38559963原创 2015-11-03 16:43:05 · 3315 阅读 · 0 评论 -
mp4 box 信息3
//----8.7.3 Sample Size Boxes -----////8.7.3.1 DefinitionBox Type:‘stsz’, ‘stz2’Container:Sample Table Box (‘stbl’)Mandatory:YesQuantity:Exactly one variant must be present/*This box contains the原创 2015-10-30 17:28:04 · 817 阅读 · 0 评论 -
mp4 box 4
//--8.6.1.2 Decoding Time to Sample Box--////8.6.1.2.1 DefinitionBox Type: ‘stts’Container: Sample Table Box (‘stbl’)Mandatory: YesQuantity: Exactly oneThis box contains a compact version of a tab原创 2015-10-30 18:11:46 · 1011 阅读 · 0 评论 -
学习使用mp4v2-2.0.0 —— 1
本来想自己根据mp4的结构自己创建mp4文件的,但。。。还是先去找现有的解决方案看是否更好。 找到了一篇:http://www.ahlinux.com/embed/6770.html 然后到这里:https://launchpad.net/ubuntu/+source/mp4v2/2.0.0~dfsg0-3 下载了mp4v2的源码。参考上篇文章,写了如下的编译脚本:#!/bin/bashif原创 2015-10-31 15:29:28 · 3587 阅读 · 2 评论 -
mp4 box 信息 实例分析 2
//------8.5.1 Sample Table Box------////8.5.1.1 DefinitionBox Type: ‘stbl’Container:Media Information Box (‘minf’)Mandatory:YesQuantity:Exactly one/*The sample table contains all the time and dat原创 2015-10-30 15:52:51 · 1292 阅读 · 0 评论 -
mp4 box信息实例分析 1
相关文档从这里下载: http://standards.iso.org/ittf/PubliclyAvailableStandards/index.html一、BOX总体视图以下图片摘自:http://www.cnblogs.com/haibindev/archive/2011/10/17/2214518.html二、box定义摘自规范:ISO_IEC_14496-12_2012本文介绍:fty原创 2015-10-31 10:16:15 · 2190 阅读 · 0 评论