changing name to "nut" for now, we can change it again if we agree on something else

index_flag so the demuxer knows if the index is missing and doesnt need to search for it
adding start/end_stream_id to the info packet so it can cover individual streams too


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9348 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2003-02-08 18:50:18 +00:00
parent 43edcd2801
commit 0ea31b3cb0
1 changed files with 22 additions and 4 deletions

View File

@ -1,4 +1,4 @@
MPlayer container format draft 0.01
nut format draft 0.02
@ -91,7 +91,8 @@ stream_header:
lsb_timestamp_length v
fixed_fps u(1)
codec_specific_header_flag u(1)
reserved u(6)
index_flag u(1)
reserved u(5)
video_stream_header:
stream_header
@ -155,6 +156,8 @@ info_packet: (optional)
info_startcode f(64)
start_time v
end_time v
start_stream_id v
end_stream_id v
for(;;){
type b
if(type=="") break;
@ -204,6 +207,10 @@ file_size
length_in_msec
length of the file in milli seconds (can be 0 if realtime or such)
index_flag
1 indicates that this file has an index
Note, all files MUST have an index at the end except, (realtime) streams
stream_id
Note: streams with a lower relative class MUST have a lower relative id
@ -330,14 +337,25 @@ start_time, stop_time
the time range in msecs to which the info applies
Note: can be used to mark chapters
start_stream_id / end_stream_id
the stream(s) to which the info packet applies
type
the fourcc of the type
for example: "STR " -> String or "JPEG" -> jpeg image
for example: "UTF8" -> String or "JPEG" -> jpeg image
0 length means end
name
the name of the info entry, valid names are
"Author","Description","Copyright","Encoder","Title","CDCover"
"Author"
"Description"
"Copyright"
"Encoder" the name& version of the software used for encoding
"Title"
"CDCover" an image of he cd cover (preferable PNG or JPEG)
"Source" "DVD", "VCD", "CD", "MD", "FM radio", "VHS", "PAL-TV",
"NTSC-TV", "LD"
"CaptureDevice" "BT878", "BT848", ... (more exact names are fine too)
Note: if someone needs some others, please tell us about them, so we can
add them to the official standard (if they are sane)