Merge audio from one file with video from another file

Discussion in 'Other video questions' started by seyss, Jul 7, 2011.

  1. seyss

    seyss Member

    Joined:
    Jul 7, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Hello,

    I have an HD movie with bad sound in one file.
    And I have a low-res movie with good sound in another file.

    Id like to merge these two, using the HD video and good sound, into one file.

    One file is .MKV (video codec h264) and the other is .AVI (video codec MPEG4 MP50).

    I tried Virtualdub but it doesnt support .MKV files.

    Any help is really appreciated. Thanks.

    Edit: I was able to extract the good sound from the .AVI file in .WAV format.
    Now I need to replace the bad sound in the .MKV file with the .WAV file...
     
    Last edited: Jul 7, 2011
  2. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    MKVMergeGui (part of MKVToolnix).

    Load/drag the mkv file in and deselect the audio.
    Load/drag the wav in and 'Start Muxing' to merge.
    (optionally, drag the AVI in instead of the wav and deselect it's video)
    http://www.videohelp.com/tools/MKVtoolnix
     
    Last edited: Jul 7, 2011
  3. seyss

    seyss Member

    Joined:
    Jul 7, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Thanks very much.

    Audio ended up half a second early than the video, but I'll figure out how to sync it.

    :)
     
  4. attar

    attar Senior member

    Joined:
    Jun 17, 2005
    Messages:
    11,147
    Likes Received:
    41
    Trophy Points:
    128
    Highlight video, then select tab for 'Format specific options' then insert a value in the box labeled 'Delay(in ms)'

    FYI if you playback the video in 'Media Player Classic', you can adjust the delay using the + or - keys and the value will be displayed.
    You can insert that value in the box.
     
  5. seyss

    seyss Member

    Joined:
    Jul 7, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Thanks again.
     

Share This Page