VirtualDub's error: different sampling rates

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

Thread Status:
Not open for further replies.
  1. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    Let's suppose that, when you try to join two AVI files, VirtualDub gives you this error: [bold] 'the video streams have different sampling rates (29.97003 vs. 29.97000)' [/bold].
    The error lies is in the fact that the audio of those AVIs, was compressed MP3 VBR instead of MP3 CBR.
    To correct this error you have to:

    1) Load CD1.AVI wth VirtualDub
    2) Set audio__full processing mode. File__Save WAV.
    3) Use HeadAC3he, load the WAV, compress to MP3, [options >>] twice, choose MP3 'alt preset CBR' . Click [start] and it will create the new MP3 CBR 128 kbps.
    If HeadAC3he gives errors, use FFMPEG GUI. Parameters: AC3, 192 kbps, 48000 Hz and 2 channels. You'll create an AC3 instead of a MP3.
    4) Load CD1.AVI with VirtualDubMod. Set Video__direct stream copy (make a 1:1 copy of the video, which won't be modified). Fix the audio: do Stream___Stream List, [bold] Disable [/bold] the old one, [bold] Add [/bold] the MP3[AC3] CBR 128 kbps you just made. Save (F7) --> CD1_new.avi.
    5) Repeat with CD2.AVI.
    6) Now the error should have disappaered and VirtualDub will be able to join the AVI files you made.

    In the case you used AC3, when you want to create a DVD simply 'demux' it from the final AVI to create a DVD using [bold]'elementary streams' [/bold] (read the 'sticky' post http://forums.afterdawn.com/thread_view.cfm/351013 ).
    You'll just have to create a 'mute MPEG-2' (M2V), since you already have the audio stream, now.
     
    Last edited: Jun 19, 2006
Thread Status:
Not open for further replies.

Share This Page