VCDHelp
WHAT IS
VCD
Video CD, XVCD
SVCD
Super VCD, CVD
DVDR
DVD Recordable
GLOSSARY
Video terms
HOW TO
GUIDES
Guides list, search
by tools, author...
ARTICLES
Articles, Newbie
all-in-one guides
AUTHOR
Burn (S)VCD,DVD
menu,photo album
CAPTURE
VCR,TV,Cam,DV
CONVERT
AVI,DV,DivX... to
VCD,SVCD,DVD...
DVD RIP
DVD-Video to
VCD,SVCD,DVD...
EDIT
Cut,join,edit video
PLAY
VCD,DVD,DivX on
Computer,TV,DVD
OTHER
Capture Cards
Features &
user comments
DVD Media
DVD Recordable
Media list
DVD Players
Compatibility &
user comments
DVD Hacks
DVD Player
regionfree hacks
DVD Writers
& recorders feature
& user comments
Forum
Message board
F.A.Q
Common questions
Links
Other useful sites
Search
Search on this site
Tools
Useful software
Comparisons
Video comparisons
CD Writers
Comparison list
Webchat
IRC webchat
Webshopping
Price comparison
Fixing bad frames without losing any audio.
| User comments | Printer-friendly version of this page | Guide made by DigiToast |

Fixing bad frames without losing any audio.

Fixing bad frames without losing any audio.

It's always a pain trying to work with a video that has bad frames. The video 'freeze' caused by bad frames during playback or encoder program crashes are very annoying. The most commonly used fix for bad frames involves completely cutting out the bad frame timeline from your video file - including the sound.

This comprehensive step-by-step guide will show you how to remove these bad frames without losing any audio! As a result, you'll have a file that won't have random audio and video gaps everywhere. Here's an example of why you would want to keep the audio:
Let's say you have a movie with two people talking and bad frames have damaged the conversation. You could remove the bad frames but still keep the flow of the conversation going by using this guide. If you were to simply cut out the frames, the conversation would seem awkward due to having various non-matching sentences joined together..

Tools & files required ( all free ):
VirtualDub 1.4.8 or newer (for frame masking)
VDub-MP3 (vdub_mp3_freeze)
The correct codec needed to view/open your file.

Guide:
Section 1
VDub-MP3 will be used in this section.
Step 1: Open VDub-MP3
Step 2: Open the file you'd like to fix using VDub-MP3.
Step 3: Click on "Video" and then "Check Video for Freezes…"

Step 4: The status bar at the bottom-left of VDub-MP3 will now say Examining #x-#y. Wait for the scan to finish and the "Scan Complete" dialog box to appear. Once the box appears, you may click "OK" and close VDub-MP3.



Section 2
VirtualDub 1.4.8 or newer will be used in this section.
Step 5: Browse to the contents of your C: drive with windows and open up the badframes.txt file.

Step 6: Find each set of non-consecutive numbers (ie: 1, 2, 3 are consecutive but 1, 3 are not) and put a carriage return everywhere the numbers are not consecutive. If there is more than one place in the file with bad frames, this procedure will split each set of bad frames into "chunks" that makes things easier to deal with later.

Step 7: With the badframes file open (do not close it), open VirtualDub.
Step 8: Open the file that you'd like to fix using VirtualDub.
Step 9: Click on "Video" and then "Direct stream copy"

Step 10: Make sure that "Direct "Direct stream copy" is selected under "Audio"
Step 11: Push CTRL+G or click on "Edit" and "Go to…"

Step 12: Type in the first number of a "bad frame chunk" that you made during Step 6 in "Jump to frame number" and push "OK"

Step 13: Push the "Start offset" button (bolded left arrow button).

Step 14: Push CTRL+G or click on "Edit" and "Go to…"
Step 15: Type in the last number of the "bad frame chunk" that you're dealing with in "Jump to frame number" and push "OK"
Step 16: Push the "Next Keyframe Button" (Yellow Key Button) and then the "End offset" button (bolded right arrow button).


Step 17: Click "Edit" and then "Mask selected frames."

Step 18: Repeat Steps 11-18 for each "bad frame chunk" that you made in Step 6.
Step 19: Push F7 or click on "File" and "Save as AVI…"
Step 20: Type in a name for a new file that your fixed output will be stored in.
Step 21: Click "Save" and wait for the process to finish. Once this is done, you can close everything and watch your fixed file!



View user comments or post your own comments/issues about this guide here.