Yes you could film in both of those situations. The law specifically lists law enforcement activities as making an arrest, questioning suspects, and dealing with emotional situations (edit: specifically emotional or disturbed person exhibiting abnormal activity).
Also, if you are part of the law enforcement activity, you are allowed to film. So yes, if a cop walks up to you yelling and you are at least 8ft from the law enforcement activity, you are legally allowed to film.