Stream to apple TV

If i try to stream Video or Pictures to the apple tv it just displays an spining circel and after 4 seconds goes to the Home Screen but wenn i try audio it just works fine