Record into memory, only write to disk when hotkey pressed

Makakra

New Member
I play a lot and most of the time OBS records the gameplay onto the SSD. What about allocating space inside RAM, record into that in 15-30 minute chunks (akin to what PS5 does), and whenever you press a key the last 15-30 minutes of that gets copied onto the SSD. So in RAM only the specified amount of last X minutes are accessible and whenever something exciting happens the user presses a hotkey, it gets copied into the given destination.

This helps with SSDs deteriorating quite fast due to lots of unnecessary writing. If the record into RAM cannot be easily achieved a record the last X minutes feature would also be nice, so ppl just mount a ramdrive, let OBS write there, and the rest is the same.
 

AaronD

Active Member
SSD's are not that bad anymore. Especially if you keep a TON of free space. Then each cell barely gets touched as the drive's internal wear leveler spreads what little you do use across the entire device.

Manage it like that, and just record directly to it. It's fine.
 

Makakra

New Member
Writing to the cells wears them down, period. Anyway, if not for the ssd, it's easier to save only the parts you need, rather than launch a video editor and cut out parts. It would help a lot finding/creating relevant bits of recordings.
 

AaronD

Active Member
Writing to the cells wears them down, period.
Yes, technically it does, but if you're fixated on that, you're off by a factor of several thousand. It's really not a problem!

The early ones had some spectacular early failures, so depending on your history, you might remember that. But the only failure that you're likely to see now, from a new modern one, is after it's been hacked and repackaged to sell as something bigger than it really is for a correspondingly higher price. Depending on the details of how that particular hack was done, it might fail immediately, or it might keep the first X amount that it actually has cells for, and quietly lose the rest. A genuine reputable brand won't do that.

You'll replace the entire machine long before a new, modern, genuine, reputable brand even *hints* at failing on you. So don't worry about it. Just use it.
 

Makakra

New Member
You don't know my use case, so arguing about this is fruitless. This is supposed to be a feature request, not a discussion about how ssds wear down :D.
 

AaronD

Active Member
Insisting on this feature is probably fruitless, for the reasons I gave. :-)

Even if you had detailed specifics of a *very* non-standard use case that would tip that scale, you're probably the only one that has that use case. So still not really worth it. How good are you at coding? OBS *is* open-source, after all...
 

AaronD

Active Member
All of that being said though, the Replay Buffer can be set as high as 21600 seconds, which is 6 hours. So maybe the feature you want *does* already exist, for a different reason, and it's configurable enough that you can adapt it to suit your purpose too.

Settings -> Output -> Advanced -> Replay Buffer
 

Makakra

New Member
Finally, a worthwhile answer from the gatekeeper. Next time being all so important, just cut to the chase. Thanks.
 

AaronD

Active Member
Finally, a worthwhile answer from the gatekeeper. Next time being all so important, just cut to the chase. Thanks.
The reason I went that direction was because your sole entire reason was misguided and unnecessary. If you had a different reason that did make sense, I might have gone the "correct" direction to start with.

The vast majority of posts on here are from new users, and at least half of them - probably more - have XY problems.
The immediate solution as asked doesn't really solve anything for them, but only further entrenches them in a dead-end that doesn't actually go where they want to go. So it's greatly helpful if they post the reason, which you did, and so I answered the reason instead of the question, as the XY solution that most people actually need.

There's a surprising art to asking for help. Differing levels of expertise are good, but the misunderstanding that comes from that difference, and assigning to you the average of all previous askers, can send it straight into left-field sometimes. So it's good to read a bunch of new posts for a while, so you get an idea of what that average is, and can differentiate yourself from it. And when it happens to you anyway, don't argue with it. Don't berate it. Just understand that that's probably what happened. "Read between the lines," if you will, to figure out where the expert might be coming from, and provide more and more and more context to finally bring it around to what you're actually asking.

And with a live-media-related thing, we're especially weird. Same as live theater. :-)
 

Makakra

New Member
User was warned for this post. Please be kind and do not make personal insults because you don't agree with someone.
Jesus, just stop with the bullshit, already. Get a life.
 
Top