Camera Bracket
item #camerabracketfor2by4. This might need to have some screw holes drilled in it. The bottom of this would fit over a 2x4. The top might need a mounting hole drilled into it.
It is a solid bracket which would work for a camera mount.
It will pivot and