VideoHelp Forum




+ Reply to Thread
Results 1 to 13 of 13
  1. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Step 1 Take your MKV file run it throught mkv2vfr (command line mkv2vr name.mkv name.avi)

    Step 2 Take the MKV file again and run through mkvguiextract (load the mkv file, and just extract the audio)

    Step 3 Take the AVI file and the AC3 and run though avi-mux gui (output settings - AVI ; make rec lists ticked, mp3 and add junk off)
    ?
    Quote Quote  
  2. Originally Posted by Baldrick
    Step 1 Take your MKV file run it throught mkv2vfr (command line mkv2vr name.mkv name.avi)

    Step 2 Take the MKV file again and run through mkvguiextract (load the mkv file, and just extract the audio)

    Step 3 Take the AVI file and the AC3 and run though avi-mux gui (output settings - AVI ; make rec lists ticked, mp3 and add junk off)
    ?
    Yeah I know, but it was not meant to be a complete guide....I will write one, but anyone who knows about these apps will know what to do.

    mkv2vfr is part of Haali's MatroskaSplitter, and you will find the command line app in the install directory of Haali\MatroskaSplitter
    Quote Quote  
  3. I have updated pages 9 & 10 on the AVS thread so they are a bit more complete.

    Don't forget to post your findings.

    Kevin
    Quote Quote  
  4. Bump...not cus I want fame and glory....but I know folks have been pulling hair out on this one (I know!, I've lost a fair bit LOL)...

    IF it works for you....to me a favor; refer to it as the oldpainless method...lol

    Kevin
    Quote Quote  
  5. Ok...so far everyone is reporting that this method works and report no AV sync issues at all!!....and for those that haven't looked yet....no reencoding involved at all!!

    See the AVS thread for full details.

    Kevin
    Quote Quote  
  6. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    mkv2vfr extracts the video to an avi file along with a text file containing the framerates. If the source file is VFR, then you have a problem since avi can't handle VFR. If you are getting files in sync, then that is because the sources files weren't VFR. Still I guess mkv2vfr is easier than mkvextract-->avc2avi, well other than the fact that you are running mkvextract anyway.
    Quote Quote  
  7. Originally Posted by celtic_druid
    mkv2vfr extracts the video to an avi file along with a text file containing the framerates. If the source file is VFR, then you have a problem since avi can't handle VFR. If you are getting files in sync, then that is because the sources files weren't VFR. Still I guess mkv2vfr is easier than mkvextract-->avc2avi, well other than the fact that you are running mkvextract anyway.
    MMm..according to Haali's website, MKV2VFR outputs a CFR AVI with a timecode file.

    Kevin
    Quote Quote  
  8. Quote from Haali's website

    "As there are no tools to process/reencode VFR Matroska files, I've written a small utility to ease such processing. mkv2vfr extracts all video frames from Matroska to a CFR AVI file and a timecode file"
    Quote Quote  
  9. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    "mkv2vfr extracts the video to an avi file along with a text file containing the framerates."

    As I said avi files are always CBR. So the above translates to

    "mkv2vfr extracts all video frames from Matroska to a CFR AVI file and a text file containing the framerates."

    A timecode file is a text file containing framerates.

    So the above translates to
    "mkv2vfr extracts all video frames from Matroska to a CFR AVI file and a timecode file"

    So in other words you are just repeating what I already said.
    Quote Quote  
  10. Originally Posted by celtic_druid
    "mkv2vfr extracts the video to an avi file along with a text file containing the framerates."

    As I said avi files are always CBR. So the above translates to

    "mkv2vfr extracts all video frames from Matroska to a CFR AVI file and a text file containing the framerates."

    A timecode file is a text file containing framerates.

    So the above translates to
    "mkv2vfr extracts all video frames from Matroska to a CFR AVI file and a timecode file"

    So in other words you are just repeating what I already said.
    Sorry, I thought the point you were making that if the resulting AVI plays in sync, it was because the original MKV was CFR and not VFR? What MKV2VFR does is change an VFR MKV into CFR AVI and that's why it stays in sync....unless I have missed the point (wouldn't be the 1st time LOL)

    Kevin
    Quote Quote  
  11. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    You were right; the point I was making is that the mkv must be CFR.

    MKV2VFR outputs a CFR avi, because it has to, not to stay in sync. Basically if you have a source that has say 23.976fps and 29.97fps sections, then how do you maintain sync just by converting to CFR? If you go 23.976fps, then the 29.97fps sections will run longer, if you go with 29.97fps, then it will be too short for the audio. If you average, then at best only part will be in sync. What you would have to do is look at the time code file, then convert to a single framerate or you could use directshowsource() and get a ~120fps avi, then convert down to 23.976fps or whatever makes most sense. Problem then though is that you end up with poor motion and or duplicate frames. But then that is the problem with avi. Check out some old anime encodes, vs. newer mkv ones.

    Still the fact is that in this day and age mkv is often used simply because it can handle AVC natively together with AC3 audio, which would from my brief look at the thread be the case here. Such sources would normally be CFR anyway which is why you wouldn't have run into problems. Check your extracted time code files and see if there is only one framerate or not.
    Quote Quote  
  12. Originally Posted by celtic_druid
    You were right; the point I was making is that the mkv must be CFR.

    MKV2VFR outputs a CFR avi, because it has to, not to stay in sync. Basically if you have a source that has say 23.976fps and 29.97fps sections, then how do you maintain sync just by converting to CFR? If you go 23.976fps, then the 29.97fps sections will run longer, if you go with 29.97fps, then it will be too short for the audio. If you average, then at best only part will be in sync. What you would have to do is look at the time code file, then convert to a single framerate or you could use directshowsource() and get a ~120fps avi, then convert down to 23.976fps or whatever makes most sense. Problem then though is that you end up with poor motion and or duplicate frames. But then that is the problem with avi. Check out some old anime encodes, vs. newer mkv ones.

    Still the fact is that in this day and age mkv is often used simply because it can handle AVC natively together with AC3 audio, which would from my brief look at the thread be the case here. Such sources would normally be CFR anyway which is why you wouldn't have run into problems. Check your extracted time code files and see if there is only one framerate or not.
    Ok, I see what your saying. Anyhows, its the only method so far that works (AVI in sync), all the other methods either produce files that don't play or play but are out of sync.

    However, I have found this method only seems to work (so far) on 720p files, and not 1080p (prehaps they are VFR?)

    Kevin
    Quote Quote  



Similar Threads

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