[MPlayer-users] Very Bad avi file

D Richard Felker III dalias at aerifal.cx
Sat Jan 25 00:07:07 CET 2003


On Fri, Jan 24, 2003 at 10:30:52PM +0100, Horváth István wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > > hy guys!
> > >
> > > i have a very bad avi file, which is a movie (the man in the iron mask),
> > > it's length is: 691462474, the file is unplayable under winblows, but of
> > > course is playeable with mplayer under linux!
> > >
> > > but unfortunately mplayer says that it is a raw avi stream therefore i
> > > used the -idx tag to rebuild the index, and it stops after 40% :((
> > >
> > > with:
> > > mencoder -oac copy -ovc copy infile.avi -o outfile.avi
> > > stops at the same position :((
> >
> > Try mencoder with -noidx.
> >
> > Rich
> 
> did not helped :((( it stops at the same position!

The file is probably seriously damaged there, then. Try ffmpeg
instead:

ffmpeg -i infile.avi -acodec copy -vcodec copy -o outfile.avi

It seems ffmpeg is much more fault tolerant. The resulting file will
be a noninterleaved (broken!) avi, s you should subsequently run
mencoder -oac copy -ovc copy to interleave and regenerate index. Good
luck!

Rich



More information about the MPlayer-users mailing list