mp4的box信息——avcC,mdat
来源:互联网 发布:雅思资料 知乎 编辑:程序博客网 时间:2024/05/16 10:35
前面忽略了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’,’btrt’
Container:Sample Table Box (‘stbl’)
Mandatory:The avc1 box is mandatory
Quantity:One or more sample entries may be present
5.3.4.1.2 Syntax
// Visual Sequencesclass AVCConfigurationBox extends Box(‘avcC’) { AVCDecoderConfigurationRecord() AVCConfig;}class MPEG4BitRateBox extends Box(‘btrt’){ unsigned int(32) bufferSizeDB; unsigned int(32) maxBitrate; unsigned int(32) avgBitrate;}class MPEG4ExtensionDescriptorsBox extends Box(‘m4ds’) { Descriptor Descr[0 .. 255];}class AVCSampleEntry() extends VisualSampleEntry (‘avc1’){ AVCConfigurationBox config; MPEG4BitRateBox (); // optional MPEG4ExtensionDescriptorsBox (); // optional}
关于这个:AVCDecoderConfigurationRecord的说明:
aligned(8) class AVCDecoderConfigurationRecord { unsigned int(8) configurationVersion = 1; unsigned int(8) AVCProfileIndication; unsigned int(8) profile_compatibility; unsigned int(8) AVCLevelIndication; bit(6) reserved = ‘111111’b; unsigned int(2) lengthSizeMinusOne; bit(3) reserved = ‘111’b; unsigned int(5) numOfSequenceParameterSets; for (i=0; i< numOfSequenceParameterSets; i++) { unsigned int(16) sequenceParameterSetLength ; bit(8*sequenceParameterSetLength) sequenceParameterSetNALUnit; } unsigned int(8) numOfPictureParameterSets; for (i=0; i< numOfPictureParameterSets; i++) { unsigned int(16) pictureParameterSetLength; bit(8*pictureParameterSetLength) pictureParameterSetNALUnit; }}
分析一段avcC的数据:
回到mdat那里看:
00 20 FA 68 6D 64 61 74 00 00 00 17 67 4D 00 1F
95 A8 14 01 6E 9B 80 80 80 A0 00 00 7D 00 00 0E
A6 10 80 00 00 00 04 68 EE 3C 80 00 00 00 05 06
0 0
- mp4的box信息——avcC,mdat
- 软编码Flv 到Mp4 容器(外传一)avcc box
- mp4 box 信息3
- 软编码Flv 到Mp4 容器(十二) fmp4 mdat box详解
- mp4 box信息实例分析 1
- mp4 box 信息 实例分析 2
- mp4 box
- mp4: stsd/mp4a/esds stsd/avc1/avcc
- mp4 stsd/mp4a/esds 和 mp4 stsd/avc1/avcc
- 区分mp4格式里面mdat中的音频和视频数据
- the analysis of some mp4 container boxes(stsd/avcC/stco...)
- H264码流的两种形式:Annex B和AVCC——非常详细的翻译
- MP4文件格式详解——元数据moov(一)mvhd box
- MP4文件格式详解——元数据moov(二)tkhd box
- MP4文件格式详解——元数据moov(三)tref box
- 多媒体 MP4文件格式详解——元数据moov(一)mvhd box
- 多媒体 MP4文件格式详解——元数据moov(二)tkhd box
- 多媒体 MP4文件格式详解——元数据moov(三)tref box
- Android 双u盘方案
- 解析DATASTAGE导出文件dsx和congnos的mdl文件
- 安卓学习总结第六讲:学习Android.mk的一些语法
- Binder中的代理模式
- String相关知识点总结
- mp4的box信息——avcC,mdat
- Java web Dao层的作用简介
- Android设计模式源码解析之迭代器(Iterator)模式
- json list
- Android(2)——Intents and Intent Filters
- 如何找出Linux系统中内置模块的信息
- Android NDK:在Android Studio下的基本开发步骤和基础知识点总结
- 五.Servlet的十大方法
- Leveldb