编号
|
文件名
|
文件长度
|
时长
|
1
|
news_h263.3gp
|
1.38MB
|
01:21.90
|
2
|
zbc1217_h263.3gp
|
1.92MB
|
02:37.98
|
3
|
zbc1217_h264.3gp
|
2.44MB
|
02:37.98
|
|
|
|
|
该3GP文件结构如下:
属性
|
大小
|
值
|
说明
|
size
|
4
|
0x0000001c = 28
|
|
ftyp
|
4
|
ftyp
|
|
major_brand
|
4
|
3gp4
|
主类型
|
minor_version
|
4
|
|
最小版本号
|
compatible_brands[]
|
string
|
3gp4 | 3gp5 | 3g2a
|
兼容类型
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000041 = 65
|
|
mdat
|
4
|
|
|
|
string
|
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x0001FF28 = 130856
|
|
mdat
|
4
|
|
|
|
32*N
|
3C
打头
|
每个音频帧
32
字节
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x004946F1 = 4802289
|
|
mdat
|
4
|
|
|
|
4
|
|
H263
视频数据
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x0000006C = 108
|
|
mvhd
|
4
|
|
|
version
|
1
|
0
|
|
flag
|
3
|
0
|
|
creation_time
|
4
|
|
|
modification_time
|
4
|
|
|
timescale
|
4
|
0x000003E8 = 1000
|
时间缩放因子
|
duration
|
4
|
0x00013FEC = 81900 = 81.9s
|
持续时间
|
rate
|
4
|
0x00010000 1.0
(即全速播放)
|
播放比率
|
volume
|
2
|
0x0100 1.0
(音量)
|
音量
|
reserved
|
|
|
保留
|
reserved
|
|
|
保留
|
matrix
|
|
|
视频转换矩阵
|
pre_defined
|
|
|
预定义
(
全
0)
|
next_track_ID
|
4
|
0x000000CA = 202
|
下一个
track_id
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x0000005C = 92
|
|
tkhd
|
4
|
|
|
version
|
1
|
0
|
|
flag
|
3
|
1
|
|
creation_time
|
4
|
|
|
modification_time
|
4
|
|
|
track_id
|
4
|
0x00000065 = 101
|
|
reserved
|
4
|
全
0
|
|
duration
|
4
|
0x00013FEC = 81900 = 81.9s
|
音频播放时间
|
reserved
|
8
|
|
|
layer
|
2
|
|
|
alternate_group
|
2
|
|
|
volume
|
2
|
0x0100
|
如果
track
是音频则为
0x0100
,视频则为
0x0000
。
|
reserved
|
2
|
0
|
|
matrix
|
4 * 9
|
|
视频转换矩阵
|
width
|
4
|
0
|
音频的
w
和
h
为
0
|
height
|
4
|
0
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
32
|
|
mdhd
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
creation_time
|
4
|
|
|
modification_time
|
4
|
|
|
timescale
|
4
|
0x00001F40 = 8000
|
时间缩放因子
|
duration
|
4
|
0x0009FF60 = 655200/8000=81.9
|
音频播放时长
|
pad
|
1bit
|
|
|
language
|
15bit
|
0x15c7 ISO-639-2/T language code
|
|
pre_defined
|
2
|
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000025 = 37
|
|
hdlr
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
pre_defined
|
4
|
0
|
|
handler_type
|
4
|
soun
|
vide
:
Video track
soun
:
Audio track
|
reserved
|
4 * 3
|
0
|
|
handler_type
|
string
(
4+1
)
|
soun
|
以
’/0’
结束
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000018 = 24
|
|
stts
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
entry_count
|
4
|
1
|
|
sample_count
|
4
|
0x00000111 = 273
|
|
sample_delta
|
4
|
0x00000960 = 2400
|
|
|
|
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000045 = 69
|
|
stsd
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
entry_count
|
4
|
1
|
|
AudioSampleEntry
|
|
|
|
size
|
4
|
0x35 = 53
|
|
samr
|
4
|
|
|
reserved
|
6
|
0
|
|
data_reference_index
|
2
|
0x0001
|
|
reserved
|
4 * 2
|
0
|
|
channelcount
|
2
|
0x0002 = 2
|
(1:
单声道
2:
双声道
)
|
samplesize
|
2
|
0x0010 = 16
|
|
pre_defined
|
2
|
0
|
|
reserved
|
2
|
0
|
|
samplerate
|
4
|
0x1F400000 = (14F0)<<16
0x1F40 = 8000
|
时间因子左移
16
位。
声音采样频率(
hz
)
|
|
|
|
|
size
|
4
|
0x11 = 17
|
|
damr
|
4
|
|
|
NXTR ...
|
9
|
|
|
|
|
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000458 = 1112
|
|
stsz
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
sample_size
|
4
|
0
|
|
sample_count
|
4
|
0x00000111 = 273
|
|
|
|
|
|
entry_size
|
4
|
0x000001E0 = 480
|
每个
sample
大小
|
|
4
|
0x000001E0 = 480
|
|
|
4
|
0x000001E0 = 480
|
|
|
|
...
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x0000001C = 28
|
|
stsc
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
entry_count
|
4
|
1
|
|
first_chunk
|
4
|
1
|
|
samples_per_chunk
|
4
|
0X0111 = 273
|
|
sample_description_index
|
4
|
1
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000014 = 20
|
|
stco
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
entry_count
|
4
|
1
|
|
chunk_offset
|
4
|
0x65 = 101
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x0000005C = 92
|
|
tkhd
|
4
|
|
|
version
|
1
|
0
|
|
flag
|
3
|
1
|
|
creation_time
|
4
|
|
|
modification_time
|
4
|
|
|
track_id
|
4
|
0x000000C9 = 201
|
|
reserved
|
4
|
全
0
|
|
duration
|
4
|
0x00013F54 = 81748 = 81.7s
|
视频播放时间
|
reserved
|
8
|
|
|
layer
|
2
|
|
|
alternate_group
|
2
|
|
|
volume
|
2
|
0x0000
|
如果
track
是音频则为
0x0100
,视频则为
0x0000
。
|
reserved
|
2
|
0
|
|
matrix
|
4 * 9
|
|
视频转换矩阵
|
width
|
4
|
0x01400000<<16 = 0x0140=320
|
|
height
|
4
|
0x00F00000<<16 = 0x00F0=240
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000014 = 20
|
|
wmhd
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
graphicsmode
|
2
|
0
|
|
opcolor
|
2 * 3
|
{0,0,0}
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000018 = 24
|
|
stts
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
entry_count
|
4
|
1
|
|
sample_count
|
4
|
0x000004C9 = 1225
|
|
sample_delta
|
4
|
0x00001776 = 6006
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000075 = 117
|
|
stsd
|
4
|
stsd
|
|
version
|
1
|
0
|
|
flag
|
3
|
0
|
|
entry_count
|
4
|
1
|
|
VideoSampleEntry
|
|
|
|
|
|
|
|
size
|
4
|
0x65 = 101
|
|
s263
|
4
|
|
|
reserved
|
6
|
|
|
data_reference_index
|
2
|
0x0001
|
|
pre_defined
|
2
|
0
|
|
reserved
|
2
|
0
|
|
pre_defined
|
4 * 3
|
|
|
width
|
2
|
0xb0 = 176
|
视频宽度
|
height
|
2
|
0x90 = 144
|
视频高度
|
horizresolution
|
4
|
0x00480000; // 72 dpi
|
|
vert
resolution
|
4
|
0x00480000; // 72 dpi
|
|
reserved
|
4
|
|
|
frame_count
|
2
|
1
|
|
compressorname
|
32
|
string[32]
|
全
0
|
depth
|
2
|
0x0018
|
|
pre_defined
|
2
|
-1
|
|
size
|
4
|
15
|
|
d263
|
4
|
|
|
NXTR ...
|
7
|
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x1338
|
|
stsz
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
sample_size
|
4
|
0
|
|
sample_count
|
4
|
0x04C9 = 1225
|
|
|
|
|
|
entry_size
|
4
|
0x0000297 = 663
|
|
|
4
|
0x068C = 1676
|
|
|
4
|
0x028D = 653
|
|
|
|
...
|
|
|
大小
|
值
|
其他说明
|
size
|
4
|
0x00000014 = 20
|
|
stco
|
4
|
|
|
version
|
1
|
|
|
flag
|
3
|
|
|
entry_count
|
4
|
1
|
|
chunk_offset
|
4
|
0x0001FF8D
|
|