My whole pc crashes when i try to export a video and i have to turn off the power from the main

Your computer is probably over-heating or perhaps there is a problem with a driver or your memory hardware. If you suspect it is over-heating, see this:

There are memory testing programs you can find and run. I usually use one included on a Linux USB install boot media. Anyone have a suggestion here for Windows users?