Catalyzes the FAD-dependent oxidative deamination of various amines and D-amino acids to yield the corresponding alpha-keto acids, ammonia/amine, and hydrogen peroxide. Oxidizes sarcosine (N-methylglycine), N-ethylglycine and glycine. Can also oxidize th