VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Member
    Join Date
    Sep 2002
    Location
    Tybee Island Georgia
    Search Comp PM
    I am rather unsure how to handle this. - I downloaded "The Ring" (the original Japanese version with subtitles).
    It is an AVI file and its size is 713,395 kb.
    Media player wouldn't play it, and when opened in TMPEG only the audio stream would load (no video).

    So I opened it in VirtualDub and it immeadiatly began reconstructing the file (it did not prompt me before doing so).
    Anyway, when it finished it displayed two alerts as follows:

    First warning...

    //////////////////////
    AVI Import Filter Warning
    "Warning: VirtualDub has reconstructed the index for this file, but you have not specified rekeying in the extended open options dialog. Seeking in this file may be slow."
    //////////////////////

    I clicked "ok" and then a second alert window displayed which said...

    //////////////////////
    VBR audio stream detected
    "VirtualDub has detected an improper VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatibility. This may introduce up to 34299 ms of skew from the video stream. If this is unacceptable, decrompress the *entire* audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder. (bitrate: 127.2 +10.1 kbps)"
    //////////////////////

    After that, I press the play button (still in VirtualDub) and watched about the first ten minutes of the movie.. it appeared to be a exceptionally clear picture and sound.
    But I'm not sure what actions I should take to prepare this file..
    I did try searching the site for the solution.. but if I found the answer I was not able to grasp it..
    SO, I'm hoping someone will spell it out for me on how to properly repair this file:
    Below is the AVI info for the AVI in question...
    Thanks for any responses.

    AVI INFORMATION:
    Frame Size,fps,(us per frame) 576x386, 25.000fps (40000us)
    # of frames (time): 136549 (1:31:01)
    Decompressor: Divx Pro 5.0.2 Codec
    Number of key frames: 1
    Min/avg/max/total key frame size: 6747/6747/6747 (7k)
    Min/avg/max/total delta frame size: 0/4635/86952 (620135k)

    AUDIO STREAM:
    Sampling rate: 44100Hz
    Channels: 2 (sterio)
    Sample precision: 0-bit
    Compression: Fraunhofer 11S MPEG Layer-3 Codec
    Preload skew: 417 samples (0.01s)
    # of frames: 208455
    Min/avg/max/total frame size: 417/417/418 (85084K)
    [/b]
    Quote Quote  
  2. You don't actually say what you want to do with this file (other than fix it!) so lets start at the beginning.

    Start virtualdub.
    select File-Open. If you look just below the file type text box, you will see a tick box labeled 'Popup extended open options'. Tick this box, select your avi file and click OK. Another dialog will open with a nuber of tick boxes and radio buttons. The one you want is at the the top and is labelled 'Re-derive keyframe flags' Tick this box and select OK. Virtualdub will now open the file, reconstruct the missing header info and add the missing keyframe info. This will take a few minutes depending on the speed of your PC.

    Once vdub has completed this operation you will still get the warning about the VBR audio. Thats OK for now. Select Audio->Direct Stream copy, Video->Direct Stream copy and File->save as AVI, call the new file movie2.avi and click OK.

    You should now have fixed video with the original audio and it should play in WMP.

    If you want to encode this to mpeg with TmpGenc, then open the new file in vdub, you will sill get the VBR audio warning, just ignore it. Select Audio, full processing, Audio->Conversion, select 44.1khz for (S)VCD or 48Khz for DVD. Select Audio->Compression, PCM (NONE), then File->Save wav. Call this file movie2.wav. Then encode with TmpGenc, using the avi as the video source and the wav file as audio source. Hopefully everything will then be OK!

    Hope this helps
    Quote Quote  
  3. hey Bugster.... or anyone else that may know the answer.. I followed your instructions and about 20 seconds into it I got another error:

    Error decompressing video frame 1637:
    An unknown error occured (may be corrupt data).
    (error code -100)

    Any idea what this may be and how to get passed it??
    Thanks to all!
    Hr
    Quote Quote  
  4. HellRaiZeR, let me guess, you divx was obtained using a P2P program like Kazaa or Morpheus. Anyway, it looks like it has bad frames. There are several guides and many forum posts on how to fix this. Try using the search option.
    Quote Quote  
  5. Renegade gll99's Avatar
    Join Date
    May 2002
    Location
    Canadian Tundra
    Search Comp PM
    edited....................
    There's not much to do but then I can't do much anyway.
    Quote Quote  
  6. Member
    Join Date
    Sep 2002
    Location
    Tybee Island Georgia
    Search Comp PM
    Hi Bugster..
    Well, I followed your directions exactly as you described in your above reply to my question. It took I guess about an hour or so to reconstruct the file. I got no errors during the proccess and it seemed everything was going fine.. (Oddly enough the final file was about 4 megs less than the original)

    As a result it now plays in WMP as you said it would - although the sound is out of sync... -- Well, since my final objective is to convert it to mpeg and burn to vcd, the next thing I did was saved the audio as a seperate wave file (as you said, but I have been through this before with other files).. aNYWAY, so far so good...

    BUT next, I open TMPEG - and I have the same problem I had from the beggining,.. It will not recognize the video file..


    I had to delete the orginal download to regain some space, but the final resulting file info is quite different then what I started out with:
    (the original shown above - the new one shown below):

    AVI INFORMATION:
    Frame Size,fps,(us per frame) 576x386, 25.000fps (40000us)
    # of frames (time): 137003 (1:31:20)
    Decompressor: Divx Pro 5.0.2 Codec
    Number of key frames: 1338
    Min/avg/max/total key frame size: 0/16504/54101 (21566k)
    Min/avg/max/total delta frame size: 0/4518/86952 (598576k)

    AUDIO STREAM:
    Sampling rate: 44100Hz
    Channels: 2 (sterio)
    Sample precision: 0-bit
    Compression: Fraunhofer 11S MPEG Layer-3 Codec
    Preload skew:7999 samples (0.018s)
    # of frames: 136131
    Min/avg/max/total frame size: 568/640/7999 (85084K)



    In summary:
    WMP will play it whereas it would not do before, but the sound is out of sync about 3 seconds. But TEMPG will still not recognize the video portion of the file.

    ???
    ???
    Quote Quote  
  7. Member
    Join Date
    Sep 2002
    Location
    Tybee Island Georgia
    Search Comp PM
    Oh...

    I just relized something..

    I think used VirtualDub AC3 when I reconstructed and then exported the audio as a wav... Could this have created a problem???

    This is the first time I used VirtualDub AC3 instead of the regualor version (1.4 I think)

    Whats the difference? They appear the same?!!!

    But not to defer from my quest.. I just want to convert and burn this movie to vcd, and I have been trying to accomplish this for two days..

    I think the frustration is getting to me and making the matter worse - it just can't be this difficult!
    Quote Quote  
  8. end80, If the audio sync is consistent throughtout the movie you can fix this in virtualdub or TmpGenc, do a forum search for details coz I ca't remember exactly.

    As for it not opening in TmpGenc, try increasing the priority of the TmpGenc directshow filter, find it under environmental options.
    Quote Quote  
  9. Member
    Join Date
    Sep 2002
    Location
    Tybee Island Georgia
    Search Comp PM
    Thanks Bugster..

    Increasing priority of the directshow filter seems to have done the trick.. I dont really know what moving it up the list did - but it solved the problem.
    TMPEG now will open the vidio stream
    Quote Quote  



Similar Threads

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