nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqsr92xvmaxdmqac64d9exptc2qw9wd2pwd593jhrak0raqt4njnhqgwwfye Really, the only reason it doesn't already exist as an OBS plugin is that the simplest way to implement it is to get in between the rendered scene and the RTMP transmitter, and just store uncompressed video in a circular buffer.
The problem is, that comes out to sth like 21GB of RAM usage for 60 seconds of 1080p60 RGP video. YUV 4:2:0 (blaze it) would be like 10.4GB.
If one wanted to be extra fancy, maybe you could get it after it's compressed, and line everything up to I frames.