Have you seen them move? From the photos it looks like either some sort of planarian (harmless unless there's tons of them - indicative of poor water quality), or fish poop XD
Also be concerned if its white fish poop, indicator of internal parasite. Just had a baby koi die because I didn't catch it in time. What kind of fish?