comparison DOCS/tech/nut.txt @ 20775:05159ef5282e

clearer frame_code explanation
author michael
date Wed, 08 Nov 2006 18:40:08 +0000
parents b58788cc1b27
children 2581bc30a279
comparison
equal deleted inserted replaced
20774:eb2c12485aac 20775:05159ef5282e
546 the exact format is specified in the codec spec 546 the exact format is specified in the codec spec
547 for H.264 the NAL units MUST be formated as in a bytestream 547 for H.264 the NAL units MUST be formated as in a bytestream
548 (with 00 00 01 prefixes) 548 (with 00 00 01 prefixes)
549 549
550 frame_code 550 frame_code
551 the meaning of this byte is stored in the main header 551 frame_code is a 8bit field which exists before every frame, it can
552 store part of the size of the frame, the stream number, the timestamp
553 and some flags amongth other things, what is not directly stored
554 in it but is needed is stored in various fields immedeatly after it
555 the values stored in it can be found in the main header
552 the value 78 ('N') is forbidden to ensure that the byte is always 556 the value 78 ('N') is forbidden to ensure that the byte is always
553 different from the first byte of any startcode 557 different from the first byte of any startcode
554 a muxer SHOULD mark 0x00 and 0xFF as invalid to improve error 558 a muxer SHOULD mark 0x00 and 0xFF as invalid to improve error
555 detection 559 detection
556 560