VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Apr 2002
    Location
    Sutter County, California
    Search PM
    Downloaded VirtualDub 1.9.9 (Build 32817) today and am having trouble editing an AVI file which was originally created with CamStudio (Version 2.00). Within CamStudio the video codec is: "Xvid MPEG-4 Codec". After loading the 2.10 GB AVI(1 hour 48 min length) into VirtualDub, a box appears which says the following: "*AVI: Index not found or damaged -- reconstructing via file scan. *AVI: Invalid chunk detected at 2260759646. Enabling aggressive recovery mode. *AVI: Keyframe flag reconstruction was not specified in open options and the video stream is not a known keyframe-only type. Seeking in the video stream may be extremely slow." After I clicked OK, the beginning of the AVI could be seen.
    I selected "Direct stream copy" within the video tab at top and then began to seek the frames I wanted to cut using the slide bar below the picture. (Note: It took nearly 10 minutes to decode frame number 1245126) When the above mentioned frame had been decoded and appeared in the window, I used the Mark In arrow to select the start of the selection I want to cut out. Next, I again used the slide bar to move to the last frame of the AVI and used the Mark Out arrow and hence the selection to be cut was highlighted in light blue.
    Selecting "cut" from the edit tab at the top instantly cut out the unwanted section on the AVI. Next I chose "Save segmented AVI from the file tab and the small box appeared and began processing the edied AVI. Five seconds before the 3½ minute task was finished, an error box appeared and said the following: "Something appears to be stuck while trying to stop(thread deadlock)".
    Can someone help me know what has happened and what might be the fix, I'm relatively new to VDub.

    P.S. I'm running Xp on a pc with dual processors just installed 6 months ago. Thanks in advance!

    Phil
    (`95 4Runner,`68 Crown MS55,`69 Corona RT52,)
    Reply to Philvener@earthlink.net


    Quote Quote  
  2. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    Your source file is corrupt.
    Tip: Never use MPEG-4 for screen caps. I always opt for a lossless.
    Screen cap software tends to create unstable streams, not sure why. I've seen it on at least 3-4 programs in recent years.
    Want my help? Ask here! (not via PM!)
    FAQs: Best Blank DiscsBest TBCsBest VCRs for captureRestore VHS
    Quote Quote  
  3. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Within CamStudio the video codec is: "Xvid MPEG-4 Codec".
    As lordsmurf said, never do screen capture with a lossy codec.
    There exists a Camstudio VfW codec,
    use the version 1.0, compression-type = LZO.
    Quote Quote  
  4. Renegade gll99's Avatar
    Join Date
    May 2002
    Location
    Canadian Tundra
    Search Comp PM
    First run virtualdub then using the video file open dialog tick the checkbox at the bottom of the file selection dialog box that says "Ask for extended options after this dialog " then select your video file. A box will open with new options. Select "Re-drive keyframe flags" and click ok. It will take a bit of time but hopefully this fixes your file after you resave the output. The flag was corrupted when the capture crossed the 2gb boundary. The new output file should play fine. If you need to edit / cut sections, then use this new file as input to vdub after that.

    Good luck.
    There's not much to do but then I can't do much anyway.
    Quote Quote  
  5. Member
    Join Date
    Apr 2002
    Location
    Sutter County, California
    Search PM
    Thanks for the advice I appreciate any and all help now and in the future.

    I followed your instructions and 5 hours(50%) into the Rekeying video stream(Frame 697022 of 1394028) an error box appeared which said the following:

    VirtualDub Program Failure

    Oops -- VirtualDub has crashed. Details are listed below which may help you pinpoint the problem. If a third party driver is
    implicated, try using another driver and see if the problem goes away. For reproducible problems in VirtualDub itself, use "Save..." and email the problem report to <phaeron@virtualdub.org> along with a description of what you were doing.

    Crash details best guess as to cause)

    An integer division by zero occured in module 'xvidcore'...
    ...while decompressing video frame 1393988 (VideoSource.cpp:2141)...
    ...while using input buffer at 031cb820-031cc0e3 (VideoSource.cpp:2140)...
    ...while using output buffer at 03d20080-040ec083 (VideoSource.cpp:2139).


    Tia!
    Phil (`95 4Runner,`68 Crown MS55,`69 Corona RT52,)
    Reply to Philvener@earthlink.net
    Quote Quote  
  6. Renegade gll99's Avatar
    Join Date
    May 2002
    Location
    Canadian Tundra
    Search Comp PM
    If you have a 1/2 decent computer I didn't mean 5 hours when I said a bit of time. It should have loaded in less than 1/2 hour. There is still a chance with vdub but it means trying an older version or trying Virtualdubmod.

    There are no doubt other ways to fix your file but if that fails I have another way that works 100% for me but it's a bit more complex. It involves working with a command line app, a batch file and re-encoding the video but you may want to try a few simpler editors from the tools section first..
    Last edited by gll99; 21st Jul 2010 at 04:27.
    There's not much to do but then I can't do much anyway.
    Quote Quote  
  7. Member AlanHK's Avatar
    Join Date
    Apr 2006
    Location
    Hong Kong
    Search Comp PM
    Try Avidemux.
    Tools/rebuild I & B frames
    then save, using the default "copy" video and audio, to a new file.

    That usually fixes errors, though there may be distortions it should at least play smoothly.

    Avidemux is pretty good as an editor as well.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!