1、 KSKSKSKS KS X ISO/IEC 14496 15SKSKSKS KSKSKS SKSKS KSKS SKS KS ( MPEG4 ) 1 5: ( AVC) KS X ISO/IEC 14496 15: 2005 2005 12 26 X ISO/IEC 14496 15: 2005 e ( ) ( ) ( ) ( ) ( ) ( ) ( ) : : 2004 11 25 : 2005 12 26 2005 0947 : e : e ( ) ( 02 509 7272 4) . 7 5 , . X ISO/IEC 14496 15: 2005 e . KS X ISO/IEC 1
2、4496 “ (MPEG 4)” . 1 : (KS X ISO/IEC 14496 1) 2 : (KS X ISO/IEC 14496 2) 3 : (KS X ISO/IEC 14496 3) 4 : (KS X ISO/IEC 14496 4) 5: (KS X ISO/IEC 14496 5) 6: (DMIF)(KS X ISO/IEC 14496 6) 7: MPEG 4 (KS X ISO/IEC 14496 7) 8: IP KS X ISO/IEC 14496 (KS X ISO/IEC 14496 8) 9: (KS X ISO/IEC 14496 9) 10: (AVC
3、)(KS X ISO/IEC 14496 10) 11: (KS X ISO/IEC 14496 11) 12: ISO (KS X ISO/IEC 14496 12) 13: (IPMP) (KS X ISO/IEC 14496 13) 14: MP4 (KS X ISO/IEC 14496 14) 15: (AVC) (KS X ISO/IEC 14496 15) 16: (AFX)(KS X ISO/IEC 14496 16) 17: (KS X ISO/IEC 14496 17) 18: (KS X ISO/IEC 14496 18) 19: (KS X ISO/IEC 14496 1
4、9) . i X ISO/IEC 14496 15: 2005 1 1. 1 2. 1 3. 1 4. ISO 2 4.1 2 4.2 2 4.3 2 4.4 3 4.5 6 4.6 6 5. AVC 7 5.1 7 5.2 9 5.3 ISO 13 24 ii ICS 35.040 KS X ISO/IEC ( MPEG 4) 1 5: ( AVC) 14496 15: 2005Information technology Coding of audio-visual objects Part 15: Advanced Video Coding(AVC) file format 2004 1
5、 ISO/IEC 14496 15 Information technology Coding of audio-visual objects Part 15: Advanced Video Coding(AVC) file format . 1. AV C ( KS X ISO/IEC 14496 10 | ITU T Rec. H.264) . AV C ISO AV C . : . : ( ) : . . . 2. . . ( .) . KS X ISO/IEC 14496 1 (MPEG 4) 1 : KS X ISO/IEC 14496 10 (MPEG 4) 10: (AVC) |
6、 ITU T Rec. H.264 KS X ISO/IEC 14496 12 (MPEG 4) 12: ISO ( KS X ISO/IEC 15444 12 ) 3. 3.1 KS X ISO/IEC 14496 10 | ITU T Rec. H.264 . X ISO/IEC 14496 15: 2005 3.1.1 (parameter set) KS X ISO/IEC 14496 10 . 3.1.2 (parameter set elementary stream) NAL . 3.1.3 (video elementary stream) NAL 3.2 AVC Advanc
7、ed Video CodingKS X ISO/IEC 14496 10 HRD Hypothetical Reference Decoder IDR Instantaneous Decoding Refresh NAL Network Abstraction Layer PPS Picture Parameter Set SEI Supplementary Enhancement Information SPS Sequence Parameter Set 4. ISO 4.1 AV C ISO . . . 4.2 avc1 . avc1 . . 4.3 : sdtp : (stbl) :
8、. : 1 . a) ( I )? b) ? c) ( ) ( )? a) . I . b) . c) . “ ” . , 2 X ISO/IEC 14496 15: 2005 . . sample-is-depended-on . . sample-is-depended-on . sample_count (stsz) (stz2) sample_ count . 4.3.1.1 aligned(8) class SampleDependencyTypeBox extends FullBox(sdtp, version 0, 0) for(i 0; i sample_count; i )
9、unsigned int(2) reserved 0; unsigned int(2) sample depends on; unsigned int(2) sample is depended on; unsigned int(2) sample has redundancy; 4.3.1.2 sample-depends-on . 0: . 1: (I ). 2: (I ). 3: sample-is-depended-on . 0: . 1: ( ). 2: ( ). 3: sample-has-redundancy . 0: . 1: . 2: . 3: 4.4 4.4.1 . . .
10、 1 , . . . 3 X ISO/IEC 14496 15: 2005 2 . a) SampleToGroup . b) SampleGroupDescription . SampleToGroup SampleGroupDescription , . , . , . SampleToGroup . 6.3.12 . 4.4.2 SampleToGroup 4.4.2.1 : sbgp : (stbl) : . : 0 . . ID SampleGroupDescription , . 1 . SampleToGroup . . SampleGroupDescription . 4.4.
11、2.2 aligned(8) class SampleToGroupBox extends FullBox(sbgp, version 0, 0) unsigned int(32) grouping_type; unsigned int(32) entry_count; for(i 1; i entry_count; i ) unsigned int(32) sample_count; unsigned int(32) group_description_index; 4.4.2.3 version . grouping_type ( .) . grouping_type . 4 X ISO/
12、IEC 14496 15: 2005 entry_count . sample_count . group_description_index . 1 SampleGroupDescription , 0 . 4.4.3 SampleGroupDescription 4.4.3.1 : sgpd : (stbl) : . : 0 . SampleToGroup . . 1 . SampleGroupDescription . 1 . SampleToGroup . . . VisualSampleGroupEntry . 4.4.3.2 / abstract class SampleGroup
13、DescriptionEntry(unsigned int(32) handler_type) / abstract class VisualSampleGroupEntry(type) extends SampleGroupDescriptionEntry (type) / abstract class AudioSampleGroupEntry(type) extends SampleGroupDescriptionEntry (type) aligned(8) class SampleGroupDescriptionBox(unsigned int(32) handler_type) e
14、xtends FullBox(sgpd, 0, 0) unsigned int(32) grouping_type; unsigned int(32) entry_count; int i; 5 X ISO/IEC 14496 15: 2005 for(i 1; i entry_count; i ) switch(handler_type) case vide: /for video tracks VisualSampleGroupEntry ( ); break; case soun: /for audio tracks AudioSampleGroupEntry ( ); break; c
15、ase hint: /for hint tracks HintSampleGroupEntry ( ); break; 4.4.3.3 version . grouping_type SampleToGroup . entry_count . 4.5 . . , . . . ( ). . 4.5.1 class VisualRollRecoveryEntry( ) extends VisualSampleGroupEntry(roll) signed int(16) roll distance; 4.5.2 roll_distance , . , . , . 0 . . 4.6 Track F
16、ragment Box(traf) SampleToGroup . , , 4.4.2 . SampleToGroup , 6 X ISO/IEC 14496 15: 2005 . ID SampleGroupDescription , SampleTableBox . SampleToGroup . SampleToGroup . SampleGroupDescription . ( ) . Track Extends SampleToGroup . SampleToGroup . , SampleToGroup . . 12 KS X ISO/IEC14496 12 8.31.1 4.3 6 . 5. AVC AV C AV C . 5.1 AVC (NAL) , . AV C AV C . 2 ( 1 ). NAL (