VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. I have two questions:

    1) Are there any free software packages to reliably edit H.264 Matroska files with frame accuracy? Reviewing past threads in this forum the answer would seem to be, realistically, no.

    2) Can H.264 Matroska files be converted to some other format that allows reliable frame- accuracy editing with freely available tools? For what I am interested in I don't mind if there is a loss of quality, as long as the end product quality remains reasonable. I know this is vague, but please bear with me.
    Quote Quote  
  2. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    1) Not reliably , even with retail software . The only free one that I know of is mkvcutter by selur. It doesn't work very well (no offense to selur)

    Because there are many different variations of MKV, h.264, different levels, profiles, 10bit, etc... Some MKV are VFR which are impossible to edit "normally" .

    So some streams can be edited, some can't be edited reliably

    In order for frame accuracy, you need a smart rendering editor (so only a few frames around the cutsite in the affected GOP are re-encoded)

    eg. videoredo, or solvigmm video splitter, or tmpgenc smart renderer.

    I don't know about the last one, but the 1st 2 are OK, but crash on some streams

    2) yes, you can ; and even VFR MKV's can be converted to CFR for "normal" editing. There will be some quality loss if you re-encode using a lossy format . Some of the tools you might use are avisynth , x264 . Often you don't need the intermediate conversion, or huge intermediate files (if you use a frame accurate source filter in avisynth, because avisynth is a frameserver)
    Quote Quote  
  3. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 19th Mar 2014 at 05:59.
    Quote Quote  
  4. If you don't mind a small "potential" quality loss.....

    Converting to a lossless format might be an option. Then you can cut exactly where you want to, and re-encode the lossless version when you're done.

    Or you can use Avisynth. I create a script for encoding with MeGUI (or rather MeGUI creates it for you), then I open the script with MeGUI's AVS Cutter and apply edits. Because you're working with uncompressed video, you can edit wherever you like. The AVS cutter saves the "cuts' to the script for you, and when you encode it with MeGUI, you're encoding just the bits you specified.
    Quote Quote  
  5. Member
    Join Date: Dec 2005
    Location: Canada
    Search Comp PM
    Originally Posted by poisondeathray View Post
    1) Not reliably , even with retail software . The only free one that I know of is mkvcutter by selur. It doesn't work very well (no offense to selur)
    I found that it does work well: I was having a problem with a particular video and the author steered me to a newer version of the software that worked perfectly.
    Quote Quote  
  6. Use AVC2AVI.EXE to temporarily remux to AVI where you can easily edit with Virtualdub. Enable smart rendering if you plan to edit beyond keyint restrictions.
    Quote Quote  
  7. MKV Cutter might be worth a try,...
    Quote Quote  



Similar Threads