It could be tapeworm segments, and usually they move about in fresh droppings. They are more rare in chickens, and are best treated with a product that contains praziquantel. Praziquantel dosage is 10 mg per kilogram (each 2.2 pounds.) Some dog and cat wormers Droncit and Drontal contain praziquantel. In the US, Equimax and Zimectrin Gold have it. In AU, Wormout Gel has it, but you would need to give the 10 mg per Kg. Your regular dog vet would probably sell you something.