Birdstrike???
Looks more like a bit of rubber seal, starting to come adrift, has beaten itself to death in the airflow, at some lesser flap setting.
Birdstrikes are usually on the underside of the flaps, so we pilots, with our feet firmly on the ground, can see 'em! They also leave a spanwise (with sideways movement) bloodstain.