diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-15 21:49:47 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-15 21:49:47 +0000 |
commit | fb43816ece25201fa74d5f4b878d287c3e44341d (patch) | |
tree | 220fc5b08283627dda203a226f974c00adb21018 /DOCS | |
parent | 58ed2c3fe035313bfc7feca7fd18abb84fa4fad1 (diff) | |
download | mpv-fb43816ece25201fa74d5f4b878d287c3e44341d.tar.bz2 mpv-fb43816ece25201fa74d5f4b878d287c3e44341d.tar.xz |
clarify "extradata"
comments welcome!
if anyone disagrees ill reverse this and we can disscuss it, i just thought there wont be any disagreement and was too lazy to send a patch ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19110 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/tech/nut.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/DOCS/tech/nut.txt b/DOCS/tech/nut.txt index 50112d5e5b..ecfccc4cc4 100644 --- a/DOCS/tech/nut.txt +++ b/DOCS/tech/nut.txt @@ -512,6 +512,19 @@ stream_flags codec_specific_data private global data for a codec (could be huffman tables or ...) + if a codec has a global header it SHOULD be placed in here instead of + at the start of every keyframe + the exact format is specified in the codec spec + codecs which dont specify it in their spec are specified below + for ogg based codecs (vorbis, theora) the following format shall be used + number_of_headers_minus_1 u(8) + for(i=0; i<number_of_headers; i++){ + -1 u(8*(size[i]/255)) + size[i] % 255 u(8) + } + for(i=0; i<number_of_headers; i++) + header[i] + Note, this is the same format these codecs use in matroska frame_code the meaning of this byte is stored in the main header |