VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Dec 2005
    Location
    Australia
    Search Comp PM
    Hi there

    I am fairly new to all this stuff and I have two avi files of equal length etc and when I used VirtualDub to merge the avi's I received a message that the audio streams were a different bitrate. I would imagine this is a common problem?

    Again using VirtualDub I loaded avi 1 into VirtualDUB, set video to Direct Stream Copy and Audio to Full Processing Mode and set audio compression to "No Compression (PCM)", then hit Save AVI. Did the same to 2nd avi then merged them and it all seemed OK.

    I use ConvertX to DVD because it suits my needs and seems to work OK. Loaded the merged avi and it started OK but I noticed audio errors of 26.00ms occuring now and again.

    How do I fix this? Is there another way to "equalise" the audio bitrates that works better?

    Any help appreciated.

    Cheers
    Quote Quote  
  2. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    I'd try to join video streams (no audio mode), join saved wavs in a sound editor (taking into account video length for each part, inserting silence between audio parts may be necessary), encode audio and mux it back.
    Quote Quote  
  3. Member
    Join Date
    Dec 2005
    Location
    Australia
    Search Comp PM
    Originally Posted by Alex_ander
    I'd try to join video streams (no audio mode), join saved wavs in a sound editor (taking into account video length for each part, inserting silence between audio parts may be necessary), encode audio and mux it back.

    Hi there

    Thanks for your reply, but I would need a more detailed explanation of this process and the tools required to complete it, in order to make a start.

    Cheers
    Quote Quote  
  4. Member Alex_ander's Avatar
    Join Date
    Oct 2006
    Location
    Russian Federation
    Search Comp PM
    Write down audio/video durations for each part from file/information. Save audio to wavs from both parts separately (set full processing mode for audio), file/'save wav'. Open the first video, set audio to 'no audio', video to 'direct stream copy', file/append segment => browse for the second part => file/save old format avi. If videos were encoded with the same parameters, no problem should occur at joining.
    For joining audio you'll need a sound editor (free Audacity or commercial Goldwave, SoundForge, CoolEdit etc.). Open the first one, then the second one in another page, select and copy it to clipboard, then go to the page with the first opened, set marker in the end of the track and paste the second part here for joining. If you know that audio/video durations were slightly different (e.g. the first video was some ms longer than its soundtrack, use that value for inserting silence at marker position between the joined tracks. That is how it would look like in SoundForge (I don't use Audacity). You can avoid this step by previously adjusting each video in direct stream copy mode of VDub to ensure that audio/video are of the same length, but you'll have to cut some frames in the beginning/end. After joining audio you can encode it to mp3 using e.g. WinLame (free). Then mux audio/video with e.g. AviMux GUI.
    Quote Quote  



Similar Threads

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