summaryrefslogtreecommitdiffstats
path: root/DOCS/tech/mpcf.txt
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-20 23:00:28 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-20 23:00:28 +0000
commita70a1c3a37d632ada97a78ff25dff026cfecd6f1 (patch)
tree70a0d4f8dcb1e9540b60360bd9edbbf2052d7aef /DOCS/tech/mpcf.txt
parent12354fa032baf94ae32ed40fb1299eb355262b2b (diff)
downloadmpv-a70a1c3a37d632ada97a78ff25dff026cfecd6f1.tar.bz2
mpv-a70a1c3a37d632ada97a78ff25dff026cfecd6f1.tar.xz
file_id_string (idea by ivan)
remove 0byte skiped frames (idea by rich) file structure git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12243 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/mpcf.txt')
-rw-r--r--DOCS/tech/mpcf.txt22
1 files changed, 21 insertions, 1 deletions
diff --git a/DOCS/tech/mpcf.txt b/DOCS/tech/mpcf.txt
index c5f8f72057..b82ee79349 100644
--- a/DOCS/tech/mpcf.txt
+++ b/DOCS/tech/mpcf.txt
@@ -201,11 +201,31 @@ info_packet: (optional)
reserved_bytes
checksum u(32)
+file
+ file_id_string
+ while(!eof){
+ main_header
+ for(i=0; i<stream_count; i++){
+ if(next_packet==video_stream_header)
+ video_stream_header
+ else
+ audio_stream_header
+ }
+ while(next_packet != main_header){
+ if(next_packet == info_packet)
+ info_packet
+ else
+ frame
+ }
+//FIXME index
+ }
forward_ptr
size of the packet (exactly the distance from the first byte of the
startcode of the current packet to the first byte of the following packet
- Note: a frame with 0 bytes means that its skiped
+
+file_id_string
+ "nut/multimedia container\0"
*_startcode
all startcodes start with 'N'