[MPlayer-users] How turn-off ODML in MEncoder?
rcooley
rcooley at spamcop.net
Wed Apr 28 08:36:45 CEST 2004
On Mon, 26 Apr 2004 21:37:42 +0200
Andrzej Nikitorowicz <andyn at konto.pl> wrote:
> I use CVS versions MPlayer/MEncoder to record TVshows and
> avidemux-0.9 to cut off commercials and other TV trash but recent
> versions MEncoder every 1024MB creats ODML headers and
> avidemux 'see' only that first 1024MB of material.
avidemux-0.9 is quite old now. You should consider upgrading if you can
(I know, I know... I don't like GTK2 either).
> Can you add option to MEncoder to turn on/off creating ODML
> header?
You could change the value in aviheader.c (line 229 in
pre4) to prevent it from writing to files under a certain size.
if (demuxer->movi_end < 0x7fffffff) break;
0x7fffff is about 1GB... 2GB would probably be appropriate (can
avidemux 0.9 handle 2GB+ avi files?),
Or you could just insert "break;" on a line around there to make
sure it never writes an ODML index (even when it would make sense).
More information about the MPlayer-users
mailing list