Divx All Awry??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Worf19
    Junior Member
    Junior Member
    • Jun 2002
    • 25

    Divx All Awry??

    Hi,
    I have a few video files encoded in divx that were encoded incorrectly. The audio's pitch is not the same as the source audio, so everyone talking in it has a slightly higher pitch to their voice. If I try to use Virtual Dub to extract the audio and fix the pitch problem, when I finish reencoding it with the fixed audio it begins skewing off from the video as it plays. I just adjust the pitch, so I know the lenght of the audio remains the same. I know this audio skew problem is inherent to a lot of DVD video's that have been converted to Divx and, as far as I knew, when I checked a few months ago there was no good solution. Does anyone know of any program or programs now that are capable of handling this issue of trying to Fix badly encoded Divx videos?
  • setarip
    Retired
    • Dec 2001
    • 24955

    #2
    A) If the difference between audio and video is constant throughout the video:

    Load the file into VirtualDub, VirtualDubMod, or NanDub.
    Set BOTH "Video"(VirtualDub, VirtualDubMod and NanDub) and "Audio" (VirtualDub and NanDub - VirtualDubMOD>"Streams>"Stream list") to "Direct Stream Copy".
    From the "Audio" dropdown menu, select "Interleaving" (For VirtualDubMOD, rightclick on the listed audiostream and then select "Interleaving")
    Under "Audio skew correction", set an appropriate number of milleseconds (positive or negative) in the box labelled "Delay audio track by"
    Save with a new filename

    B) If the difference increases as the movie plays:

    From under the "Video" dropdown menu, select "Framerate" - and select "Change so video and audio durations match"

    Let us know of your success ;>}

    Comment

    • Worf19
      Junior Member
      Junior Member
      • Jun 2002
      • 25

      #3
      Well, for some of the files I get a message as soon as I open the video in VirtualDub saying something like : 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 compatability. This may introduce up to 6284 ms of skew from the video stream. If this is unacceptable, decompress the entire audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder. (bitrate 123.2 +/- 12.4 kbps).

      So, when I fix the audio and reencode, it doesn't really skew, it'll play on time with the video for sometimes just a few seconds or 5 minutes, but somewhere in there the audio suddenly shifts, so I can't really fix it with just adjusting the interlace setting:\

      Comment

      • setarip
        Retired
        • Dec 2001
        • 24955

        #4
        Converting .AVIs with VBR-MP3 Audio

        Simply use NanDub or VirtualDubMOD (Different than standard VirtualDub), to save the audio stream as an Uncompressed PCM (WAV) file as follows:
        1) Load your original .AVI into NanDub

        2)Set "Video" to "Direct Stream Copy"

        3) Set "Audio" to "Full Processing Mode" (NanDub only -For VirtualDubMOD>"Streams>"Stream list">>rightclick on the listed audiostream and then select "Full Processing Mode")
        From the "Audio" dropdown menu, select "Compression" and choose "No compression(PCM)" (NanDub only - For VirtualDubMOD>"Streams>"Stream list">>rightclick on the listed audiostream and then select "Compression" and choose "No compression(PCM)")

        4) From the "File" dropdown menu, select "Save WAV" (In VirtualDubMOD, "Save WAV" is located under the "Streams" drodpown menu) (Enter a new filename with a ".WAV" extender).Click on "OK"

        5) Then save the .AVI as a silent .AVI (NanDub - set "Audio" to "No audio" after you've saved the WAV file. - For VirtualDubMOD>"Streams>"Stream list">>click on the listed audiostream and then select "Disable").


        Then close NanDub and restart it
        Set "Audio" to "No audio" (Not necessary under VirtualDubMOD)
        Load your silent .AVI
        Set "Video" to "Direct Stream Copy"
        Under "Audio" click on "WAV Audio" and load your .WAV (In VirtualDubMOD, Streams>>Add)
        Set "Audio" to "Full Processing Mode" (In VirtualDubMOD, Streams>>Rightclick on the listed audiostream, click on "Direct Stream Copy")
        From the "Audio" (In VirtualDubMOD, "Streams") dropdown menu, select "Compression" (In VirtualDubMOD, rightclick on the listed audiostream, click on "Compression") and choose the appropriate .MP3 settings. Click on "OK"
        From the "File" dropdown menu, select "Save as AVI" (In VirtualDubMOD, "Save as") and save your file with a new filename.

        Comment

        Working...