Generally Xeons are designed for servers/24 hour operation. And have a few more features.
i5/i7 are designed for PC and gaming/content creation/general desktop use.
You will seldom find a xeon with higher performance to price than an i7. This is mainly because Intel can charge more money for people that need the extra features. Xeons and i7s sometimes are not cross compatible with motherboards even if they use the same socket. (make sure your motherboard says it supports whatever chip you go with). And also many xeon motherboards are server motherboards which have a weird bios/don't support windows be careful of that.
Also keep in mind Number of cores does not mean better. If you have 8 cores but they are really slow, a 4 core processor might outperform it if its cores are a lot faster.
Generally video encoding can use tons of cores, but most applications and games work better on fewer faster cores. So you might want to note this if you are using other programs on your PC. To my knowledge OBS uses as many cores as possible but I am not 100% certain of OBS efficiency with tons of cores. My advice is don't go with more than 8.
Also the clock speed doesn't always equate to the speed. [Clock*Cores=Speed] is not always 100% the case. What you should do is look up multiple benchmarks of these CPUs before deciding and see which one is faster overall since just 1 benchmark might not scale across all programs. One great site is
https://www.cpubenchmark.net/high_end_cpus.html which does use multiple benchmarks but is not 100% with the placing. (its hard to say exactly how fast CPUs are compared to each other since some CPUs are better at certain tests and others are better at others)
Long story short: You might be able to get a good xeon but generally i7s would be much better for people like you. Also more cores doesn't always equal better, and look for benchmarks.