[MPlayer-users] Size of avi index
D Richard Felker III
dalias at aerifal.cx
Sun Jun 22 00:03:13 CEST 2003
On Sat, Jun 21, 2003 at 07:10:22PM +0200, Jeroen wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hello,
>
> I have the following question:
>
> I understand that the index of a avi file is located at the end of the file,
> but how large is it?
>
> The reason I ask is the following:
>
> I'm trying to make a 704 mb movie, into a 700 mb movie, to make it fit on a
> cdrom without overburning. I used the split program for that, like this:
An 80minute CDR holds 703 megs, so 704 is barely overburn. It should
work on any disc/drive combination.
> split -b 700m movie.avi. The result is a 700mb-movie.avi. So far so good.
>
> After that it needs a new index, so I do:
>
> mencoder -idx 700mb-movie.avi ovc copy -oac copy -o movie-fixed.avi.
>
> You don't believe it, but the movie-fixed.avi is again 704 mb :-(.
Yes I do.
> How come?
Because you only cut off the end of the index!! Index is about 10-20
megs for a feature-length movie file; 12 seems typical.
If you insist, you can cut off part or all of the credits (don't use
the split program, just mencoder -oac copy -ovc copy -endpos whatever)
but like I said, 1 meg overburn will ALWAYS work (it's only about 6
'seconds' worth of data).
Rich
More information about the MPlayer-users
mailing list