How to animate rotation of a movie clip in the compositor
What you are looking for is the Rotate node. Press Shift+A and go to Distort > Rotate.



You can now set the number of degrees to rotate by:



And what is more, it is fully animatable via keyframes!