MKV to AVI conversion - another case

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • assenort
    Junior Member
    Junior Member
    • May 2004
    • 16

    MKV to AVI conversion - another case

    Hi guys,

    I did not want to water down the thread of my colleague who also has a problem with converting an MKV file to AVI. So I post my case in a new thread.

    1. The situation:

    I have a 1.4 GB movie file in MKV format. Using MKVextractGUI, I was able to extract the following from this container:

    - Track1.avi: the movie stream, which seems to be encoded with XViD.
    - Track2.ogg, Track3.ogg, Track4.ogg, Track5.ogg, Track6.ogg, Track7.ogg: those are audio streams in different languages (English, German, French, Italian, Spanish and one other language).
    - 2 subtitles in IDX/SUB/something (I do not care much about subs, since I already got proper ones in SRT format for this movie).

    2. The problem:

    I want to have a notmal AVI file, where the video stays XViD encoded, but the audio needs to be in WAV-rapped MP3 format (so that VirtualDub can mux the audio into the AVI container).

    So I take the English OGG audio stream, and first convert it to WAV PCM format file. Than this file gets converted to WAV-wrapped MP3.

    The AVI file Track1.avi is let's say for the sake of the argument 100 minutes and 10 seconds.

    The WAV file is 100 minutes and 11 seconds.

    When I use VirtualDub to add the WAV audio to the video, muxing seems fine. However, after I play the new AVI file, there is a noticable desync between video and audio.

    Please tell me how I can rectify the desync problem. Is it because the audio file seems longer in duration then the video-only file?

    Will appreciate any suggestions.
    Last edited by assenort; 12 Nov 2007, 06:31 PM.
Working...