Is there an available screen recorder for Linux that can continuously record everything, but only keep the last, for example, 10 minutes in a buffer, and anything older will be discarded?

Sometimes something interesting happens in whatever I’m doing, but replicating it after starting a recorder is hard. I also don’t want to deal with terabytes of video backlog.

Ideally, when something share-worthy has happened, I’d push a button or a magic key combo, and the buffer will be saved to a file.

SOLVED:
ReplaySorcery as suggested by @[email protected] does the job perfectly and just runs unobtrusively in the background after boot.

  • @takeheart
    link
    616 hours ago

    OBS Studio should be able to to handle that. You can set up hot keys for saving the buffer too.

    • @[email protected]
      link
      fedilink
      616 hours ago

      They call it the replay buffer, it works well. I use it sometimes when gaming so I can capture a cool clip to share with friends.

    • @[email protected]OP
      link
      fedilink
      English
      4
      edit-2
      10 hours ago

      Thanks!

      Works perfectly even with proprietary nvidia driver: I now have a test clip of me dicking around in the terminal, followed by launching factorio and war thunder, and then setting up a cronjob to cleanup old recording that I saved but never used.

      NICE!

      • Trigg
        link
        115 hours ago

        Great stuff!

  • @[email protected]
    link
    fedilink
    115 hours ago

    I think wl-screenrec can do that, it has a “shadowcopy” like function with the ‘–history’ flag. Wayland only and not sure if it works on GNOME or KDE though as I was using it with hyprland.