PDA

View Full Version : Damaged Avi - cut last part?


shevegen
16th July 2004, 00:36
Hi, i have a damaged avi file, and want to repair it.

Actually, I only need the last 50% of this file, but i have no clue how to do it.

mplayer reports

Badly interleaved AVI file detected - switching to -ni mode..

avinfo reports that:

x.avi, 701Mb
ISFT:VirtualDubMod 1.5.10.1 (build 2366/release)

and another, empty line.

I noticed that VirtualDubMod (on my windows XP laptop) reports a missing index, and tries to reconstruct it - but it makes a 60 seconds file out of this 700 MB avi.
mplayer also reports this error:

Cannot seek in raw AVI streams. (Index required, try with the -idx switch.)


Also, mplayer soon afterwards crashes and reports:

"Successfully enabled DPMS"
--> http://en.wikipedia.org/wiki/DPMS

hmm

albertgasset
16th July 2004, 11:00
Try to reconstruct the avi index in mplayer using '-forceidx'. To save the file with the mew index:
mencoder file.avi -o output.avi -forceidx -ovc copy -oac copy

shevegen
17th July 2004, 02:58
Thanks there.