Log in

View Full Version : Broken fames easy repair maintaining audio/visual sync


craigyd
2nd February 2003, 14:19
This is my advice for broken frames but be warned your film will jump but you will keep audio/visual sync.



1.) Run Virtual dub to see if you have any errors first as there is no need to do anything if you have no errors.

2.) If you find you have errors do nothing (close virtual dub)

3.) Open nandub and play the video.

4.) When you get to the bad frame/s nandub will stop and tell you the frame was unreadable. Great you now know the frames numbers that are dead.

5.) Go to the frame before the first broken frame and set section end, save avi with direct stream copy this will make (part1.avi). Close nandub

6.) Re-open nandub and your main avi file again (NOT part1.avi). Go to the frame after the last broken frame and set section start. Save the avi direct stream copy as (part2.avi)

7.) Close nandub and re-open

8.) Join part1 and part2.



Your video is now fully playable with only a small jump you will not really notice.


Any question just ask, and dont try to tell me any problems with this method as I have tested it loads of times and had no problems. Only use this if AVIdefreezer can not help you.

Valky
3rd February 2003, 12:30
This is actually very good guide if it works. Does it really work in the situation where you have more than one broken frame too?
I just thought that since you are not cutting anything from the keyframe it might get audio out of synch.

So if I have two broken frames and they are not succesive frames or one after another (dont know how you say it) so does your method still keep the audio synch, cause you have to make part1, part2 and part3 and join them?

I have always just skipped to bad frames (normally in queue) and skipped to one keyframe after the bad frames and mark that as start position and then skipped to next keyframe after the bad frames and mark that the end selection. Then I jave just deleted the bad part and saved the file with new name. I guess this method works best if you have more than one successive bad frames and your keyframe interval is not too long cause then you lost too much of those good frames too :)



PS. vd-mp3-freeze makes a log file of broken frames, so you dont have to just play the file until it stops in nandub..just see the log file and you can directly go to the broken frames. And with this same software..you dont need nandub, since this can handle vbr-mp3 too.

craigyd
3rd February 2003, 14:47
You brought up a good point. This method works fine but sometimes you do have to cut at the keyframe. Its best to check your frames infront and behind the main broken frame to see if anything is salvagable. I have come across many that are salvegable and you do still maintain audio/visual sync.

You noted that antifreeze gives you a log to tell you the broken frames well I have noticed (divfix) also gives you a very fast indication of where the broken frames are.

PS: You can make as many parts as you like as when joined back together it will still be fine.

Hope I was some help


Cheers, Craigyd

lamer_de
3rd February 2003, 15:04
If you use direct stream copy, your stream will start with the next keyframe. So, you'll loose all the frames before resulting in a noticable skip. Most times re-encoding this portion helps. And usually there is more than 1 frame broken aswell, so you'll get skips anyway. :-(

Use ffdshow or the Freeze Filer to skip them when they are played....

CU,
lamer_de

craigyd
3rd February 2003, 15:18
The reason I use my method is for SVCD creation not for playing on a computer.

If you want to be able to put your film onto svcd and you have errors in your movie use this method.

When your using TMPGenc or CCE it will basically tells you to bugger off when it comes across a frame it can not compress, so this gets rid of the error.

Some people are keep saying you still get a noticable jump when doing this. (HELLO) how much did you pay for your movie zero thats what. Come on you get 23-25 frames per second. Yes i said (one second) even if you cut out 25 frames your so picky about 1 second you advise people not to use it, well maybe you should go and work for hollywood.
The jump is over that quick you dont even see it.

As long as your audio is still in sync with video your fine and my method keeps it that way.


Cheers, Craigyd

lamer_de
3rd February 2003, 16:57
sure, everybody each up to his own. I use TV-Out, so I never created a svcd and didn't encouter such problems.

Oh, and the movies usually cost around 20-30€/USD, as we're talking about legal backups of your own DVDs here ;-)

CU,
lamer_de