The defendant filmed the entire attack on his mobile phone, Westminster Magistrates' Court was told.