# HG changeset patch # User michael # Date 1164372693 0 # Node ID da82711ea019980c4bfb3b553b7612bb037bf5a5 # Parent 6fb59c06ac10d97197e49f89887ccb41839afe26 codec_specific_data clarification if anyone disagrees or has suggestions to improve it then shout diff -r 6fb59c06ac10 -r da82711ea019 DOCS/tech/nut.txt --- a/DOCS/tech/nut.txt Fri Nov 24 12:33:34 2006 +0000 +++ b/DOCS/tech/nut.txt Fri Nov 24 12:51:33 2006 +0000 @@ -568,6 +568,13 @@ the exact format is specified in the codec spec for H.264 the NAL units MUST be formatted as in a bytestream (with 00 00 01 prefixes) + codec_specific_data SHOULD contain exactly the essential global packets + needed to decode a stream, more specifically it SHOULD NOT contain packets + which contain only non essential metadata like author, title, ... + it also MUST NOT contain normal packets which cause the reference decoder + to generate any specific decoded samples + the encoder name and version, shall be considered essential as it is very + usefull to workaround possible encoder bugs frame_code frame_code is an 8-bit field which exists before every frame, it can