VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Member Sakuya's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    I have an MKV that's 25 minutes and 1 second long. I used MKVExtract to extract the video. The AVI is 30 minutes and 39 seconds. Why is this?

    My audio is AC3 and it's 25 minutes and 1 second. Because of that, my audio is never synced correctly from the start. I've checked the M2V thoroughly and there are no repeated scenes. So how come there are extra minutes added to it?
    Quote Quote  
  2. Member Sakuya's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    Could this be VFR MKV? I've been given a heads-up on this but that person does not know how to fix it so that it can become a normal AVI. Is there a tool somewhere to confirms that it's a VFR MKV? I'm also illiterate in command line programs and nobody seems to have an easy step-by-step guide for newbies. Any help is appreciated!
    Quote Quote  
  3. Member
    Join Date
    May 2005
    Location
    England
    Search Comp PM
    Yep that sounds like a VFR MKV. The audio is probably synced with a timecode file, which you can confirm by using mkvextract to open your MKV and it will appear as a text file under 'Attachments'.

    I wish I knew the answer, but unfortunately I too don't have a solution. I hope someone makes an easy to use conversion tool soon.

    Good luck.
    Quote Quote  
  4. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    No real easy way to fix it as the avi container doesn't support VFR. This means that you have to convert to a constant framerate, by say converting to ~120fps so the 30fps stuff gets frames duped 4 times and the 24fps stuff 5 times, etc. and the whole thing syncs with the audio.
    Quote Quote  
  5. Member
    Join Date
    May 2005
    Location
    England
    Search Comp PM
    Ok I tracked down a program called Avi60 (which is a Japanese tool) that converts your avi files to 60/120 fps. It didn't solve the problem for me, but I guess its still worth a shot.
    Quote Quote  
  6. Member Sakuya's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    Just to update, I found a very nice tool that can handle VFR MKVs easily. It's in the latest version of Avisynth beta. And here's the AVS code:

    Code:
    DirectshowSource("file.mkv",fps=119.88,convertfps=true)
    FDecimate(23.976)
    And then you simply recompress in Vdub. Now, if anybody can help me with my new problem, it concerns joining VFR MKV with HE-AAC 5.1 audio and getting that all onto DVD.

    This MKV is split into 2 segments. What I did was I used mkvtoolnix to join them together. I forgot what I used to extract but I created an AVI using the old convert-fps method.

    If my AVI filename and the audio filename is the same and in the same directory, then Vobsub can play them together. Well, I played my AVI with the AAC and everything was in sync. The length is 1:39:52.

    But I've checked and my AAC is really 1:39:45. After I turned that AAC into AC3, it won't sync to the video no matter what I do because of this length. Why is this happening? Did I join wrong?
    Quote Quote  
  7. Member
    Join Date
    Jun 2005
    Location
    United States
    Search Comp PM
    Sakuya,

    Where do you put this code ^?
    Quote Quote  
  8. Member Sakuya's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    In an Avisynth script. Install Avisynth 2.5 (the latest version). Open Notepad, paste that code and change your filename path and whatever else yuo need to change, save it as ALL FILES (not TXT file), then name it: "script.AVS". Open the AVS in Virtualdubmod and make sure it runs ok, quit that. And instead of opening your AVI for conversion in TMPGEnc, open your AVS file.
    Quote Quote  
  9. Member
    Join Date
    Jun 2005
    Location
    United States
    Search Comp PM
    Sakuya,

    I did what you said, and when I open the script.avs file in VirtualDubMod, I get this error message:

    Avisynth open failure:
    Script error: DirectShowSource does not have a named argument "convertfps"
    (Cocuments and Settings\MyName\My Documents\script.avs, line 1)

    What am I doing wrong here?
    Quote Quote  
  10. Member Sakuya's Avatar
    Join Date
    Dec 2002
    Location
    United States
    Search Comp PM
    That's weird. My version of Avisynth is beta May 5, 2005. Maybe try that.
    Quote Quote  



Similar Threads

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