vitualdub audio problem

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by 360dude, Feb 13, 2006.

  1. 360dude

    360dude Regular member

    Joined:
    Feb 6, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    26
    im trying to join to avi file together but when i open the first file it cums up with a warning sayin virtualdub has detected an improper vbr audio encoding in the source avi file and will rewrite the audio header with starndard cbr values durin processin for better compatilbilty.this may introduce up to 39452 ms of skew from the video stream.if this is unacceptable.decompress the entire audio stream to an uncompressed wav and recompress with constant bitrate encoder.
    so then i go to join the second avi file and it cums up with a second warning saying cannot append segment the audio streams have a different sampling rates(17862.00000 vs 17892.00000)
    can anyone help me with this as its doing my head in i need help plz
     
  2. philraz

    philraz Regular member

    Joined:
    Jan 29, 2006
    Messages:
    1,337
    Likes Received:
    0
    Trophy Points:
    46
    extract the audio in virtual dub setting under the audio tab sould be full processing mode and compression set to uncompressed then goto file and save wav reload your avi goto audio and under sound sorce select wav point it to your new wav file goto file and save avi
     
  3. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    First VirtualDub's error is simple. The audio of that AVI file was compressed MP3 VBR instead MP3 CBR. I still haven't understood what is the 'rewrite audio header' point, but what philraz suggested you is correct. Selecting Audio__Full processing mode withount specifyng anything else will create an audio stream uncompressed WAV, that it without any 'improper audio encoding' problem.

    The second error is more subtile, and I haven't understood how some AVI could have strange framerates (i.e. NOT 23.976, 25.000, 29.970).
    The error:
    different sampling rates(17862.00000 vs 17892.00000) [please note that 'sampling rate' is in ms, 'framerate' is in seconds, and therfore the 1000 factor] means that the sampling rates are different from a very little amount (which VirtualDub's cannot show, because the approximation is a ms), but exist, since VirtualDub detects them.
    How to correct it? I really don't know, since I never found this error. You could try this way. Let's say your movies are named CD1.AVI and CD2.AVI.

    1) open the CD1.AVI
    2) select Video__File__File Information and write down the number (let's say 17.892 fps).
    3) Open the 2nd AVI.
    4) Select Video__Frame Rate
    5) click on 'Change to [XXX] frames per second' and set XXX to the value you saw when you made File__File Information on the 1st movie.
    Let's go assuming you set 17.892, as in your example.
    6) set Video__Direct Stream Copy and save (F7) CD2_new.AVI.
    If tha framerates is changed of a very small amount you won't advert any A/V desynchronization.
    Now CD2.avi has a framerate of EXACTLY 17.892 fps (withount any decimal part).
    7) Open CD1.AVI , select File___Append new segment and load CD2_new.AVI. It won't accept it only if the framerate wasn't exactly 17.892 (and therefore you have to create a new CD1_new.AVI as you made before whrn you transformed CD2.avi --> CD2_new.avi.
    8) Once CD1.avi (or CD1_new.avi if the exact framerate wasn't 17.892)and CD2_new.avi have been loaded, set Video__Direct Stream Copy and Save (F7).

    I hope it works.
     
    Last edited: Feb 14, 2006

Share This Page