Cutting MKV files without recompression












3















I'd like to cut out clips from an .mkv video.



How can I do that, without recompressing the file?










share|improve this question

























  • related: Lossless cutting of MPEG TS files in Windows

    – phuclv
    Aug 1 '18 at 16:29
















3















I'd like to cut out clips from an .mkv video.



How can I do that, without recompressing the file?










share|improve this question

























  • related: Lossless cutting of MPEG TS files in Windows

    – phuclv
    Aug 1 '18 at 16:29














3












3








3








I'd like to cut out clips from an .mkv video.



How can I do that, without recompressing the file?










share|improve this question
















I'd like to cut out clips from an .mkv video.



How can I do that, without recompressing the file?







matroska video-editing






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 28 '12 at 10:29









slhck

160k47444466




160k47444466










asked Jan 24 '11 at 11:28









StarxStarx

93641737




93641737













  • related: Lossless cutting of MPEG TS files in Windows

    – phuclv
    Aug 1 '18 at 16:29



















  • related: Lossless cutting of MPEG TS files in Windows

    – phuclv
    Aug 1 '18 at 16:29

















related: Lossless cutting of MPEG TS files in Windows

– phuclv
Aug 1 '18 at 16:29





related: Lossless cutting of MPEG TS files in Windows

– phuclv
Aug 1 '18 at 16:29










3 Answers
3






active

oldest

votes


















2














FFmpeg supports MKV, and should let you capture a given portion of the input file without transcoding.



Remember that MKV is just a container, so you may need to set the output video and audio codecs to match the input.



For example, to cut out 20 seconds starting from 1:50 minutes, use:



ffmpeg -i input.mkv -ss 00:01:50 -c copy -t 20 output.mkv


The -ss option can be placed in front of -i, resulting in faster copying but less accuracy. If you experience out-of-sync audio or video, you're going to have to re-encode the file though:



ffmpeg -i input.mkv -ss 00:01:50 -c:v libx264 -c:a libfaac -t 20 output.mkv





share|improve this answer

































    1














    Boilsoft's MKV splitter is what you need




    Boilsoft Video Splitter is very powerful MKV Splitter and MKV Cutter, split MKV, cut MKV without re-encode, So It is very fast and without any quality loss.







    share|improve this answer



















    • 2





      I have tried this application, it does not support mkv so well, although it claims it does.

      – Starx
      Jan 24 '11 at 13:37





















    -2














    Try this tool called MVK Cutter. You can download it here. Basically you can open a MKV file and start cutting unwanted parts.






    share|improve this answer


























    • Welcome to Super User. Please read How to Recommend Software then edit your answer to include at least the minimum required information (the items in bold). Posts without this information may be subject to deletion. Thanks for contributing.

      – Twisty Impersonator
      Jan 7 at 13:48











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f237095%2fcutting-mkv-files-without-recompression%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    FFmpeg supports MKV, and should let you capture a given portion of the input file without transcoding.



    Remember that MKV is just a container, so you may need to set the output video and audio codecs to match the input.



    For example, to cut out 20 seconds starting from 1:50 minutes, use:



    ffmpeg -i input.mkv -ss 00:01:50 -c copy -t 20 output.mkv


    The -ss option can be placed in front of -i, resulting in faster copying but less accuracy. If you experience out-of-sync audio or video, you're going to have to re-encode the file though:



    ffmpeg -i input.mkv -ss 00:01:50 -c:v libx264 -c:a libfaac -t 20 output.mkv





    share|improve this answer






























      2














      FFmpeg supports MKV, and should let you capture a given portion of the input file without transcoding.



      Remember that MKV is just a container, so you may need to set the output video and audio codecs to match the input.



      For example, to cut out 20 seconds starting from 1:50 minutes, use:



      ffmpeg -i input.mkv -ss 00:01:50 -c copy -t 20 output.mkv


      The -ss option can be placed in front of -i, resulting in faster copying but less accuracy. If you experience out-of-sync audio or video, you're going to have to re-encode the file though:



      ffmpeg -i input.mkv -ss 00:01:50 -c:v libx264 -c:a libfaac -t 20 output.mkv





      share|improve this answer




























        2












        2








        2







        FFmpeg supports MKV, and should let you capture a given portion of the input file without transcoding.



        Remember that MKV is just a container, so you may need to set the output video and audio codecs to match the input.



        For example, to cut out 20 seconds starting from 1:50 minutes, use:



        ffmpeg -i input.mkv -ss 00:01:50 -c copy -t 20 output.mkv


        The -ss option can be placed in front of -i, resulting in faster copying but less accuracy. If you experience out-of-sync audio or video, you're going to have to re-encode the file though:



        ffmpeg -i input.mkv -ss 00:01:50 -c:v libx264 -c:a libfaac -t 20 output.mkv





        share|improve this answer















        FFmpeg supports MKV, and should let you capture a given portion of the input file without transcoding.



        Remember that MKV is just a container, so you may need to set the output video and audio codecs to match the input.



        For example, to cut out 20 seconds starting from 1:50 minutes, use:



        ffmpeg -i input.mkv -ss 00:01:50 -c copy -t 20 output.mkv


        The -ss option can be placed in front of -i, resulting in faster copying but less accuracy. If you experience out-of-sync audio or video, you're going to have to re-encode the file though:



        ffmpeg -i input.mkv -ss 00:01:50 -c:v libx264 -c:a libfaac -t 20 output.mkv






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 28 '12 at 10:31









        slhck

        160k47444466




        160k47444466










        answered Jan 25 '11 at 10:24









        Nick CNick C

        246410




        246410

























            1














            Boilsoft's MKV splitter is what you need




            Boilsoft Video Splitter is very powerful MKV Splitter and MKV Cutter, split MKV, cut MKV without re-encode, So It is very fast and without any quality loss.







            share|improve this answer



















            • 2





              I have tried this application, it does not support mkv so well, although it claims it does.

              – Starx
              Jan 24 '11 at 13:37


















            1














            Boilsoft's MKV splitter is what you need




            Boilsoft Video Splitter is very powerful MKV Splitter and MKV Cutter, split MKV, cut MKV without re-encode, So It is very fast and without any quality loss.







            share|improve this answer



















            • 2





              I have tried this application, it does not support mkv so well, although it claims it does.

              – Starx
              Jan 24 '11 at 13:37
















            1












            1








            1







            Boilsoft's MKV splitter is what you need




            Boilsoft Video Splitter is very powerful MKV Splitter and MKV Cutter, split MKV, cut MKV without re-encode, So It is very fast and without any quality loss.







            share|improve this answer













            Boilsoft's MKV splitter is what you need




            Boilsoft Video Splitter is very powerful MKV Splitter and MKV Cutter, split MKV, cut MKV without re-encode, So It is very fast and without any quality loss.








            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 24 '11 at 12:54









            Sathyajith BhatSathyajith Bhat

            52.7k29154252




            52.7k29154252








            • 2





              I have tried this application, it does not support mkv so well, although it claims it does.

              – Starx
              Jan 24 '11 at 13:37
















            • 2





              I have tried this application, it does not support mkv so well, although it claims it does.

              – Starx
              Jan 24 '11 at 13:37










            2




            2





            I have tried this application, it does not support mkv so well, although it claims it does.

            – Starx
            Jan 24 '11 at 13:37







            I have tried this application, it does not support mkv so well, although it claims it does.

            – Starx
            Jan 24 '11 at 13:37













            -2














            Try this tool called MVK Cutter. You can download it here. Basically you can open a MKV file and start cutting unwanted parts.






            share|improve this answer


























            • Welcome to Super User. Please read How to Recommend Software then edit your answer to include at least the minimum required information (the items in bold). Posts without this information may be subject to deletion. Thanks for contributing.

              – Twisty Impersonator
              Jan 7 at 13:48
















            -2














            Try this tool called MVK Cutter. You can download it here. Basically you can open a MKV file and start cutting unwanted parts.






            share|improve this answer


























            • Welcome to Super User. Please read How to Recommend Software then edit your answer to include at least the minimum required information (the items in bold). Posts without this information may be subject to deletion. Thanks for contributing.

              – Twisty Impersonator
              Jan 7 at 13:48














            -2












            -2








            -2







            Try this tool called MVK Cutter. You can download it here. Basically you can open a MKV file and start cutting unwanted parts.






            share|improve this answer















            Try this tool called MVK Cutter. You can download it here. Basically you can open a MKV file and start cutting unwanted parts.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 7 at 13:51

























            answered Jan 7 at 13:26









            G. L.G. L.

            7511




            7511













            • Welcome to Super User. Please read How to Recommend Software then edit your answer to include at least the minimum required information (the items in bold). Posts without this information may be subject to deletion. Thanks for contributing.

              – Twisty Impersonator
              Jan 7 at 13:48



















            • Welcome to Super User. Please read How to Recommend Software then edit your answer to include at least the minimum required information (the items in bold). Posts without this information may be subject to deletion. Thanks for contributing.

              – Twisty Impersonator
              Jan 7 at 13:48

















            Welcome to Super User. Please read How to Recommend Software then edit your answer to include at least the minimum required information (the items in bold). Posts without this information may be subject to deletion. Thanks for contributing.

            – Twisty Impersonator
            Jan 7 at 13:48





            Welcome to Super User. Please read How to Recommend Software then edit your answer to include at least the minimum required information (the items in bold). Posts without this information may be subject to deletion. Thanks for contributing.

            – Twisty Impersonator
            Jan 7 at 13:48


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f237095%2fcutting-mkv-files-without-recompression%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido