TMI: BABY POOP what is this?

My sons been pooping an insane amount. He’s been constipated for awhile so I assumed he was just clearing out but what is this? Especially the sticky brown mucous looking thing?

Hes had a lot of runny poopy diapers the last few days. But nothing with something like that in it? He’s formula fed. And eats a lot of “adult” foods like scrambled eggs that he had earlier. He goes to the pediatrician on Tuesday so i took a picture to show his doctor but I thought I might as well ask here too?