Don’t use yogurt, us a buttermilk with live cultures. Gotta let it set for a bit to thicken. Then whip it. Pasteurization is OK, ultra pasteurized is not, because ultra pasteurization changes proteins in the milk/cream. Butter will form even without culturing it.
Thanks.