[MPlayer-users] Broken avi streams (?)

D Richard Felker III dalias at aerifal.cx
Mon Nov 4 02:34:02 CET 2002


On Sun, Nov 03, 2002 at 08:35:38PM -0500, D Richard Felker III wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Mon, Nov 04, 2002 at 01:30:34AM +0100, Arpi wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > Hi,
> > 
> > > I had a similar experience with a broken avi file, and I did the
> > > following to fix it: First, I used ffmpeg with -acodec copy -vcodec
> > > copy to generate a working avi file. It seems more tolerant of damage
> > > to the avi structure than mplayer is... Then, since ffmpeg generates
> > > broken non-interleaved avi files when using -acodec copy, I used
> > > mencoder -oac copy -ovc copy to remux it into a working file.
> > lol :)
> > 
> > > Since ffmpeg handled it fine, presumably mplayer could be improved to
> > > do so as well. Unfortunately I think I deleted the broken source file,
> > > so I can't upload it to mplayerhq... :(
> > 
> > i need such sample...
> 
> Haha, well it wasn't too hard to make such a sample -- just a little
> work with dd and /dev/urandom. :) See mplayer-dies-ffmpeg-recovers.avi
> on mphq.

FYI, 32k of random junk was written over the movie starting at exactly
1 meg, and the file was truntacted so mplayer couldn't use the index
to recover.

Rich




More information about the MPlayer-users mailing list