MPEG file format
Abbreviation Full-name Length Content Program layer Shcsequence Header Code32 Program layer Start HSHORIZONTAL SIZE12 screen The horizontal pixel VsVertical Size12 pixel longitudinal scanning strip PARPEL Aspect Ratio4 pixel length than pristure rates displayed Period BRbit Rate18 Limit Bit Generation the number of the bit rate into 400bps MBMarker Bit1 VBSVBV (Video BuFrameering Verifer BuFrameer size) 10 made of quantity of coded virtual buffer size parameters. VBV = 16x1024xBS CPFConstrained parameters Flag1 parameters within the control amount LIQM IQMLoad Intra Quantize Matrix Intra Quantize Matrix1 8x64 inside the MB quantization matrix data exists Intra MB using the quantization matrix LNIQM NIQMLoad non Intra Quantize matrix non Intra Quantize Matrix1 8x64 non-intra-MB presence of a non Intra MB by quantization with quantization matrix data matrix ESC SEDExtension Start Code Sequence extension Data32 8xn start code UDSC UDUser expansion data data start code User Data32 8xnUser data start code User data SECSequence End Code32 program end code for the GOP layer GSCGroup start Code32GOP start code TCTime Code25 time code CGClose GOP1GOP the screen may be independent from other GOP Bofang BLBroken Link1 edit previous GOP data can not be used ESC GEDExtension start code Group Extension Data32 8xn UDSC UDUser data start code User Data32 8xnUser start code data PSCPicture start Code32Picture layer TRTemporal Reference10 to Pictu RE continuous serial number Do 0124 residual value screen layer PCTPICTURE CODING TYPE3 Represents Picture VDVBV DALAY16 Random Access When BUFrameer Initial Status The decimal number of fpvefull Pel Forward Vector1 in an integer or half pixel unit Dynamic vector the technical scope of the unit FRAMEForward f code3 forward motion vector description range C FPBVFull Pel Backward1 integer or half-pixel precision motion vector unit to do BFCVector backward code3 backward motion vector of the other screen information EBPExtra Bit Picture1xn EIPExtra information Picture8xn future EBPExtra Bit Picture1 without EIP to '0' indicates ESCExtra start Code32 future PEDPicture Extension Code8xnUser Data UDSCUser Data start Code32 UDUser Data8xn slice layer SSC QSStart Code Quantizer Scale32 5 slices when the slice layer is started to quantization EBS EISExtra Bit Extra Information1xn 8xn showing another slice Layer Information EBS 16 When 0 indicates that the MB StuffMacroblock stuffing11 encoding amount is insufficient when it is insufficient, the DummyCode MBMACROBLOCK ESCAPE 11 is equivalent to 33 MB Space MbaimaCroblock Address Increment1-11 SCAPE MB Number
1 From the VLC screen, the MB 1 SSCStart Code1-8MB encoding mode VLC Qsquantizer scale5 is quantified after MB quantization step value MHF MHVMotion Horzontal Forward Code Motion Vertical Backward1-11 1-6 1- 11 1-6 Dynamic vector Horizontal components with MB with the top of the VLC in the opposite direction, VLC, indicated by the VLC, doing the MHB of the vertical component of the way to dynamic vector, the same MHB MVBMotion Horzontal Backward Code Motion Backward Motion Vertical Backward Motion1- 11 1-6 1-14 1-6 MB moving vector Horizontal components with the top of the previous components VLC indicated in the reverse direction MHB with reverse dynamic vector vertical components of the same CPBCODED block Pattem3-9 table Whether there are 6 block coefficients of MB, only b fRAM has a table MB, MB, the end of the block, DDSL DDSC DDCDDCT DC Size Luminance DCT DC Size Chrominance DCT DC DIFFERENTIAL2-7 2-8 1-8 indicates the next DCT DC Differential Number The DC component of the block with the component of the component of the front block CDFDCT COEFFCIENT COEFFICET NEXT End Of Block3-28 2 sequentially sent the DCT coefficient according to the DC component sequentially The amount of VLC combined with the coefficient of which is 0 is all the coefficients after the block in 0.
GOP layer: There are details here
Screen layer:
Sliced layer:
Memorial block layer:
Block layer: