Recently I wanted to cut a video (just export few seconds of a long video).

When everything still was AVI it was easy for me and I used VirtualDub. There I could decide if I just do a keyframe cut without having to encode it again, or a frame cut with having to encode this.

Nowadays having MKV, MP4 etc. I tried Lossless Cut which just gave me a black video. Open Shots Video Editor which is too complicated for this task and where I struggle to maintain the aspect ratio of the original video. Handbrake is a bit better, but also offers too many options for that purpose.

So I ended up using Online Video Cutter. But I wonder that there isn’t any open source that just works as easily as that.

  • FrederikNJS@sopuli.xyz
    link
    fedilink
    arrow-up
    5
    ·
    2 days ago

    AVIDemux can cut video pretty easily. It’s not just for AVI files, it happily works with MKV, MP4 and many other formats.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      I used it a few times and it seems like a good choice for keyframe cuts.
      For when you are re-encoding anyway, might as well go with ffmpeg.

      • FrederikNJS@sopuli.xyz
        link
        fedilink
        arrow-up
        5
        ·
        2 days ago

        AVIDemux happily does keyframe cuts (lossless), and also non-keyframe cuts (with a reencode). But you probably get a lot more control over the actual reencode with ffmpeg, so it all depends on whether you want the ease of use or the control.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Yeah.
          My point was, that if you are re-encoding anyway, might as well choose all the options yourself, properly.