Any gameplay recorder that can Cancel Recording?

i wanted to know if theres a gameplay recorder that can cancel recording, that can create can record like a temporary video and then u can choose if u wnna save it or discard it?. I already tried Mirillis Action recorder but it can only record directx gameplay. was looking for some other. please if someone could help me out. i want to record gameplay and also cancel recordings i don’t like, at that moment.