H5N1 mainly affects birds but is capable of infecting humans .