Bone Rotation in Pose Position I am trying to create Motion-Capture rig using blender, copying the rig from this video: https://www.youtube.com/watch?v=1UPZtS5LVvw

Everything is set up and supposed to be working fine, the only problem is that almost all of the bones rotate as soon as I switch the rig from rest mode to pose mode, causing the models torso to twist, the feet to be upside down and overall preventing me from using it for animation. Does anyone know why the bones rotate like this and how I can prevent it from happening?

Heres the link to the file: 



Thanks in advance and goodbye
I'm not currently using a computer that can run Blender (school), and I've only spent only a few weeks in Blender so far, but here's my two cents:

One thing that might be wrong is that the keyframes don't have rotation.  Make sure that you're doing LocRotScale instead of LocScale.  If you go to the bottom-right area of the timeline editor, you should be able to set the box to default to LocRotScale when you press I if you want.