Log in

View Full Version : Recovering data from a crash?


aberforthsgoat
13th October 2005, 22:38
Aaaaaargh!

I've been in the process of deinterlacing and upscaling the DVD of a football game into XVid - I was going up to 50fps and using some neat AVIsynth stuff. (I opened the AVS file directly in VirtualDubMod.) My machine had been running for over 24 hours, and by tomorrow morning I was going to have it bagged ...

And then the computer crashed. (Specifically, I used process.exe to suspend encoding to watch a DVD with my wife. When I tried to resume, an AVISynth filter that uses my GPU crashed.)

I have a whopping big avi file (over 5gig - which is about what it should be) - and I thought I could open it up in VirtualDubMod, clean up a little and pick up where I left off - but, although it was able to reconstruct the avi, it said something about keyframe data, and hung up as soon as I tried to move through the file.

Any ideas about what I do next? Is there some way of reconstructing the thing correctly, saving it in a usable form andthen picking up the encoding where I left off? (BTW, I was using single pass XVid.)

BTW, I wish to heck there were some way of saving to a series of smaller, concatenated files of a specific size rather than to one whopper. In fact, I'll bet there is - I just don't know how ...

Ah well ... thanks for any tips!

Mike

setarip_old
13th October 2005, 23:08
In VirtualDub, try the following:

File>>Open - Put a checkmark in the box labeled "Popup extended Open options"

Select your crashed .AVI

Click on "Re-derive keyframe flags"

Click on "OK"

Then be prepared for a long, slow process...

Let us know of your success ;>}

aberforthsgoat
14th October 2005, 07:33
Weeell ...

The thing is chugging along, so I suppose it'll be done at some point!

While I wait, a couple questions:

1) One I've got the thing open, can I save directly?? I mean, I don't have to re-encode do I??

2) I *really* don't want this to happen again. Is there a simple way of having VD chop the whole file into, say, 40 segments, each encoded individually, then pasting them all together at the end? I get a DVD with a football game every week, and it would be nice to have a set way of doing this, then leave the computer to chug along - but be able to pause at a safe point and resume work afterwards. (Just lowering the priority level isn't enough, unfortunately - fft3dgpu doesn't like it when I run DVDs over the secondary monitor.)

Best,

Mike

setarip_old
14th October 2005, 07:37
One I've got the thing open, can I save directly?? I mean, I don't have to re-encode do I??
No, I don't believe you'll have to re-encode. Set both "Video" and "Audio" to "Direct Stream Copy" and save with a full name...

stephanV
14th October 2005, 07:43
Weeell ...
2) I *really* don't want this to happen again. Is there a simple way of having VD chop the whole file into, say, 40 segments, each encoded individually, then pasting them all together at the end? I get a DVD with a football game every week, and it would be nice to have a set way of doing this, then leave the computer to chug along - but be able to pause at a safe point and resume work afterwards. (Just lowering the priority level isn't enough, unfortunately - fft3dgpu doesn't like it when I run DVDs over the secondary monitor.)

In vanilla VirtualDub "save as segmented AVI", in VirtualDUbMod, select "segment output file" in the "save as" dialog.

:p

aberforthsgoat
14th October 2005, 11:56
Thanks guys!

After getting a crash trying to rekey, I've started from scratch, using the segmented AVI thing.

Say - now that I'm saving into numbered segments, would you guys have some tips about how to restart encoding after I've done an abort? I had hoped the segments would appear in the Job Control window and that I could simply hit postpone - but that doesn't seem to be the case.

Thanks for you patience!

Mike

stephanV
14th October 2005, 13:20
if you are doing a one pass, adjust your avisynth script with Trim() and resume encoding.

If you are doing a two pass, you will have to start over again if the 1st pass wasn't finished or redo the first pass on the part that hasnt completed the second pass yet.

(either that or you will have to do some creative statsfile editing)

The problem is that aborting an encoding and resuming it afterwards is not as easy as it seems. This has to be supported on both codec side and host app site (VirtualDub in this case), currently it is neither.

tsp
3rd November 2005, 00:00
aberforthsgoat: try this (http://www.avisynth.org/tsp/fft3dgpu_47.zip) version of fft3dgpu. It should handle other fullscreen application much better (basicly it suspend avisynth until the fullscreen application has exited) .