TLDR: Curtail losslessly compresses photos without losing date/time metadata. What program like Curtail can do the same with video’s (preferably with MKV support)?

Curtail is FOSS Software for Linux that I’ve found extremely helpful. It’s designed to bulk losslessly compress your images and photos without losing the date & time metadata in them. I’ve found this really helpful for skimming down the overall storage-use of my photo’s.

But the thing that takes the most space on my PC is video’s. You see, I record all of my videogame gameplay and store them on a hard drive. This takes many hundreds of gigabytes of space and is ever-increasing; and compressing them without losing any quality while retaining the date & time metadata is invaluable to me.

I’d love a program that functionally acts the same as curtail, but losslessly compresses each individual frame of a video rather than a photo. Curtail doesn’t provide this, so does anybody know of any programs I can use that do this? MKV support is preferable, as that is how I store my video’s, but still tell me about it even if it doesn’t support MKV.

  • DreitonLullabyOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 month ago

    I know that lossy normally lessens the image quality in the compression process, but Curtail has two options:

    Lossless mode: Compresses the file by removing unnecesary data that does not affect image quality; thus reducing file size. Lossy mode: Compresses the file much further by lowering the visual quality of the image; thus reducing the file size but looking a bit worse.

    After using the lossless mode, I’ve personally done very thorough image comparisons to see if there was any discernible difference between the original file and the compressed file. I could not find any visual difference.

    In Curtails own words on their site “It supports both lossless and lossy compression modes with an option to whether keep or not metadata of images.”

    • progandy@feddit.org
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 month ago

      Curtail is a wrapper around tools like pngquant, jpgoptim and oxipng. In lossless mode it optimizes and reorders e.g the compression tables. I know of no tool that does that for video data and I am not even sure that is feasable. Video is not stored as a simple sequence of images.