I'm not advocating that there is not police brutality nor abusive usage of force when dealing with situations. There definitely is and is unlikely to change in the perceivable future.
It seems to me that the best course of action when being approached by law enforcement is to immediately go into SUPER compliant state and SUPER static state. Meaning, don't do any action unless told so by the law officer. Don't move around like you normally would, anything you assume to be benign might not be as far as they are concerned, be patient, let it unfold as fast and as slow as they so choose. If their actions were wrong then courts are the route, but LATER, once you are out of the predicament.