1.概述现在很多智能手机都支持多媒体功能,特别是音频和视频播放功能,而3GP文件格式是手机端普遍支持的视频文件格式。目前很多手机都支持h263视频编码格式的视频文件播放,还有些手机支持h264。音频文件格式普遍支持amr,有些手机还支持AAC音频格式。鉴于凤凰卫视节目主要以新闻类为主,音频压缩采用AMR标准,视频压缩采用H263和H264标准。编号文件名文件长度时长1news_h263.3gp1.38MB01:21.902zbc1217_h263.3gp1.92MB02:37.983zbc1217_h264.3gp2.44MB02:37.982.3GP文件结构分析示例AtomicParsley是一个开源的多媒体文件结构分析器。下面是用该程序分析的两个3GP文件结构:news_h263.3gpAtomftyp@0ofsize:28,ends@28Atommdat@28ofsize:65,ends@93Atommdat@93ofsize:130856,ends@130949Atommdat@130949ofsize:1312119,ends@1443068Atommoov@1443068ofsize:7136,ends@1450204Atommvhd@1443076ofsize:108,ends@1443184Atomtrak@1443184ofsize:1546,ends@1444730Atomtkhd@1443192ofsize:92,ends@1443284Atomudta@1443284ofsize:48,ends@1443332Atomuuid=484d496e-6354-7261-636b-496e666f2020@1443292ofsize:40,ends@1443332Atommdia@1443332ofsize:1398,ends@1444730Atommdhd@1443340ofsize:32,ends@1443372Atomhdlr@1443372ofsize:37,ends@1443409Atomminf@1443409ofsize:1321,ends@1444730Atomsmhd@1443417ofsize:16,ends@1443433Atomdinf@1443433ofsize:36,ends@1443469Atomdref@1443441ofsize:28,ends@1443469Atomstbl@1443469ofsize:1261,ends@1444730Atomstts@1443477ofsize:24,ends@1443501Atomstsd@1443501ofsize:69,ends@1443570Atomsamr@1443517ofsize:53,ends@1443570Atomdamr@1443553ofsize:17,ends@1443570Atomstsz@1443570ofsize:1112,ends@1444682Atomstsc@1444682ofsize:28,ends@1444710Atomstco@1444710ofsize:20,ends@1444730Atomtrak@1444730ofsize:5474,ends@1450204Atomtkhd@1444738ofsize:92,ends@1444830Atomtref@1444830ofsize:20,ends@1444850Atomsync@1444838ofsize:12,ends@1444850Atomudta@1444850ofsize:48,ends@1444898Atomuuid=484d496e-6354-7261-636b-496e666f2020@1444858ofsize:40,ends@1444898Atommdia@1444898ofsize:5306,ends@1450204Atommdhd@1444906ofsize:32,ends@1444938Atomhdlr@1444938ofsize:37,ends@1444975Atomminf@1444975ofsize:5229,ends@1450204Atomvmhd@1444983ofsize:20,ends@1445003Atomdinf@1445003ofsize:36,ends@1445039Atomdref@1445011ofsize:28,ends@1445039Atomstbl@1445039ofsize:5165,ends@1450204Atomstts@1445047ofsize:24,ends@1445071Atomstsd@1445071ofsize:117,ends@1445188Atoms263@1445087ofsize:101,ends@1445188Atomd263@1445173ofsize:15,ends@1445188Atomstsz@1445188ofsize:4920,ends@1450108Atomstss@1450108ofsize:48,ends@1450156Atomstsc@1450156ofsize:28,ends@1450184Atomstco@1450184ofsize:20,ends@1450204------------------------------------------------------Totalsize:1450204bytes;46atomstotal.AtomicParsleyversion:0.9.0(utf16)Mediadata:1442975bytes;7229bytesallotheratoms(0.498%atomoverhead).Totalfreeatomspace:0bytes;0.000%waste.------------------------------------------------------Movieduration:81.900seconds(01:21.90)-140.95*kbp/secbitrate(*=approximate)Low-leveldetails.Totaltracks:2TrkTypeHandlerKindLangBytes1sounsounsamreng130848Encoder:NXTR12.78*kbp/s81.900secAMRNarrow-Band.Modes:0,1,2,3,4,5,6,7,8.Encodervendorcode:NXTR2videvides263eng1312111Encoder:NXTR128.41*kbp/s81.748secH.263BaselineProfile,Level10.Encodervendorcode:NXTR该3GP文件结构如下:zbc1217_h263.3gpAtomftyp@0ofsize:24,ends@24Atommdat@24ofsize:1989236,ends@1989260Atommoov@1989260ofsize:14951,ends@2004211Atommvhd@1989268ofsize:108,ends@1989376Atomiods@1989376ofsize:33,ends@1989409Atomudta@1989409ofsize:1069,ends@1990478Atomrtng[eng]@1989417ofsize:29,ends@1989446Atomuuid=f78caa0c-36be-4ce9-88d2-03c256dabeb2@1989446ofsize:1032,ends@1990478Atomtrak@1990478ofsize:9978,ends@2000456Atomtkhd@1990486ofsize:92,ends@1990578Atommdia@1990578ofsize:9842,ends@2000420Atommdhd@1990586ofsize:32,ends@1990618Atomhdlr@1990618ofsize:33,ends@1990651Atomminf@1990651ofsize:9769,ends@2000420Atomvmhd@1990659ofsize:20,ends@1990679Atomdinf@1990679ofsize:36,ends@1990715Atomdref@1990687ofsize:28,ends@1990715Atomstbl@1990715ofsize:9705,ends@2000420Atomstsd@1990723ofsize:117,ends@1990840Atoms263@1990739ofsize:101,ends@1990840Atomd263@1990825ofsize:15,ends@1990840Atomstts@1990840ofsize:32,ends@1990872Atomstsc@1990872ofsize:1900,ends@1992772Atomstsz@1992772ofsize:6300,ends@1999072Atomstco@1999072ofsize:644,ends@1999716Atomstss@1999716ofsize:704,ends@2000420Atomudta@2000420ofsize:36,ends@2000456Atomuuid=f78caa0c-36be-4ce9-87d2-03c256dabeb2@2000428ofsize:28,ends@2000456Atomtrak@2000456ofsize:2934,ends@2003390Atomtkhd@2000464ofsize:92,ends@2000556Atommdia@2000556ofsize:2798,ends@2003354Atommdhd@2000564ofsize:32,ends@2000596Atomhdlr@2000596ofsize:33,ends@2000629Atomminf@2000629ofsize:2725,ends@2003354Atomsmhd@2000637ofsize:16,ends@2000653Atomdinf@2000653ofsize:36,ends@2000689Atomdref@2000661ofsize:28,ends@2000689Atomstbl@2000689ofsize:2665,ends@2003354Atomstsd@2000697ofsize:69,ends@2000766Atomsamr@2000713ofsize:53,ends@2000766Atomdamr@2000749ofsize:17,ends@2000766Atomstts@2000766ofsize:24,ends@2000790Atomstsc@2000790ofsize:1900,ends@2002690Atomstsz@2002690ofsize:20,ends@2002710Atomstco@2002710ofsize:644,ends@2003354Atomudta@2003354ofsize:36,ends@2003390Atomuuid=f78caa0c-36be-4ce9-87d2-03c256dabeb2@2003362ofsize:28,ends@2003390Atomtrak@2003390ofsize:420,ends@2003810Atomtkhd@2003398ofsize:92,ends@2003490Atommdia@2003490ofsize:296,ends@2003786Atommdhd@2003498ofsize:32,ends@2003530Atomhdlr@2003530ofsize:33,ends@2003563Atomm