[Mplayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.17,1.18
Alex Beregszaszi
alex at mplayer.dev.hu
Mon Oct 29 22:01:26 CET 2001
Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv29650
Modified Files:
demux_mov.c
Log Message:
extended udta record
Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- demux_mov.c 29 Oct 2001 16:56:36 -0000 1.17
+++ demux_mov.c 29 Oct 2001 21:01:00 -0000 1.18
@@ -2,6 +2,7 @@
// based on TOOLS/movinfo.c by me & Al3x
// compressed header support from moov.c of the openquicktime lib.
// References: http://openquicktime.sf.net/, http://www.heroinewarrior.com/
+// http://www.geocities.com/SiliconValley/Lakes/2160/fformats/files/mov.pdf
#include <stdio.h>
#include <stdlib.h>
@@ -372,7 +373,7 @@
int flags = (temp << 16)|(temp<<8)|temp;
int i;
- mp_msg(MSGT_DEMUX, MSGL_V,"MOV: %*sSample syncing table! (%d entries) (ver:%d,flags:%ld)\n",
+ mp_msg(MSGT_DEMUX, MSGL_V,"MOV: %*sSyncing samples (keyframes) table! (%d entries) (ver:%d,flags:%ld)\n",
level, "",entries, ver, flags);
#if 0
for (i=0;i<entries;i++)
@@ -566,12 +567,19 @@
switch (udta_id)
{
case MOV_FOURCC(0xa9,'c','p','y'):
+ case MOV_FOURCC(0xa9,'d','a','y'):
+ case MOV_FOURCC(0xa9,'d','i','r'):
+ /* 0xa9,'e','d','1' - '9' : edit timestamps */
+ case MOV_FOURCC(0xa9,'f','m','t'):
case MOV_FOURCC(0xa9,'i','n','f'):
+ case MOV_FOURCC(0xa9,'p','r','d'):
+ case MOV_FOURCC(0xa9,'p','r','f'):
+ case MOV_FOURCC(0xa9,'r','e','q'):
+ case MOV_FOURCC(0xa9,'s','r','c'):
+ case MOV_FOURCC('n','a','m','e'):
case MOV_FOURCC(0xa9,'n','a','m'):
case MOV_FOURCC(0xa9,'A','R','T'):
- case MOV_FOURCC(0xa9,'d','i','r'):
case MOV_FOURCC(0xa9,'c','m','t'):
- case MOV_FOURCC(0xa9,'r','e','q'):
case MOV_FOURCC(0xa9,'a','u','t'):
case MOV_FOURCC(0xa9,'s','w','r'):
{
@@ -590,6 +598,7 @@
case MOV_FOURCC(0xa9,'i','n','f'):
mp_msg(MSGT_DEMUX, MSGL_INFO, " Info: %s\n", &text[2]);
break;
+ case MOV_FOURCC('n','a','m','e'):
case MOV_FOURCC(0xa9,'n','a','m'):
mp_msg(MSGT_DEMUX, MSGL_INFO, " Name: %s\n", &text[2]);
break;
@@ -603,15 +612,39 @@
mp_msg(MSGT_DEMUX, MSGL_INFO, " Comment: %s\n", &text[2]);
break;
case MOV_FOURCC(0xa9,'r','e','q'):
- mp_msg(MSGT_DEMUX, MSGL_INFO, " Requests(codec): %s\n", &text[2]);
+ mp_msg(MSGT_DEMUX, MSGL_INFO, " Requirements: %s\n", &text[2]);
break;
case MOV_FOURCC(0xa9,'s','w','r'):
mp_msg(MSGT_DEMUX, MSGL_INFO, " Software: %s\n", &text[2]);
break;
+ case MOV_FOURCC(0xa9,'d','a','y'):
+ mp_msg(MSGT_DEMUX, MSGL_INFO, " Creation timestamp: %s\n", &text[2]);
+ break;
+ case MOV_FOURCC(0xa9,'f','m','t'):
+ mp_msg(MSGT_DEMUX, MSGL_INFO, " Format: %s\n", &text[2]);
+ break;
+ case MOV_FOURCC(0xa9,'p','r','d'):
+ mp_msg(MSGT_DEMUX, MSGL_INFO, " Producer: %s\n", &text[2]);
+ break;
+ case MOV_FOURCC(0xa9,'p','r','f'):
+ mp_msg(MSGT_DEMUX, MSGL_INFO, " Performer(s): %s\n", &text[2]);
+ break;
+ case MOV_FOURCC(0xa9,'s','r','c'):
+ mp_msg(MSGT_DEMUX, MSGL_INFO, " Source providers: %s\n", &text[2]);
+ break;
}
udta_size -= 4+text_len;
break;
}
+ /* some other shits: WLOC - window location,
+ LOOP - looping style,
+ SelO - play only selected frames
+ AllF - play all frames
+ */
+ case MOV_FOURCC('W','L','O','C'):
+ case MOV_FOURCC('L','O','O','P'):
+ case MOV_FOURCC('S','e','l','O'):
+ case MOV_FOURCC('A','l','l','F'):
default:
{
char dump[udta_len-4];
More information about the MPlayer-cvslog
mailing list