You need a 2nd hard drive to do the recordings on that's not the hard drive you play minecraft on.
Also try capping your settings so there's more free power to spare when minecraft needs it instead of running out of power and minecraft having to slow down.