On Wed, Feb 20, 2002 at 12:33:56AM -0500, Justin Piszcz wrote:
> >
> > Would this be possible?
> > To convert aviplay to just go through the data and scan through bad
> 
> And check for bad frames.
> Maybe even delete the bad ones if it finds them.
> But initially, just check for bad frames.

This is relatively simply thing - and maybe you might want to
code this yourself - just take some of sample/misc code.

Open .avi  stream and decode each frame - if it Ok than the frame
might be copyied - if you get -1 than the current broken frame
should be replace probably with zero length sized frame

(if you would be video graphics expert :) you migh want to
program some ultra super routine which will interpolate between
the previous and following correct frame - but I guess it would not
be necessary for the initial version :))

I might put this somewhere into my TODO list - but this is feature
is not that much important to me  - btw most newest Windows players
will handle broken files as well so.

-- 
  .''`.  Which fundamental human right do you want to give up today?
 : :' :      Debian GNU/Linux maintainer - www.debian.{org,cz}
 `. `'  Zdenek Kabelac  kabi@{debian.org, users.sf.net, fi.muni.cz}
   `-              When in doubt, just blame the Euro. :)

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to