I'm at least 15 years out of date, so this may be a much less serious issue nowadays (although also codec issues seem less serious, windows will just open most formats I try).
Most players will not even touch an mkv file, whatever the codec.
Software patents aren't valid in europe.
The ffmpeg project does not distribute binaries with unlicensed or illegal code. E.g. if you want ffmpeg to use libdvdcss for decrypting DVDs or use libfdk-aac to encode aac/m4a without paying license royalties to Fraunhofer, the end user has to download those components and build a custom ffmpeg on their own. No legitimate website will host ffmpeg built with the "illegal/unlicensed" libraries. E.g. When the popular Zeranoe website hosted ffmpeg executables for download, it was only built with the free GNU components.
The vlc project says they can include libdvdcss because they are a French company instead of American. E.g. Microsoft removes DVD playback from Windows 8 but VLC does not: https://www.zdnet.com/article/if-vlc-can-ship-a-free-dvd-pla...
I don't think many people will pay $0.80 for a HEVC codec just to play the video they just recorded on their phone. There used to be so many codecs out there in use that you'd probably need to raise the price of the OS by between $5 and $10 if you wanted decent codec support.
You'd also be stuck paying for those codecs, or convince customers to pay the codecs on demand later, giving their "free upgrade" a price, even if it's a small price to pay.
VLC and other players exist because the jurisdictions they are made in or are hosted in aren't as strict as, for example, the American patent system, which is silly enough to actually allow patents on algorithms. Microsoft could never distribute a free player with Windows in many markets without paying for those patents. If you use or resell ffmpeg to places that enforce software patents, you actually need to check if you've paid off your patent bribe or you're opening yourself to potential lawsuits.
thats why tech ppl use vlc (or mpv nowadays)