Windows 10 N: Select the Start button, then select Settings > Apps > Apps & features > Optional features > Add a feature. Then locate the Media Feature Pack in the list of available optional features.
Windows 11 N: Select the Start button, then select Settings > Apps > Optional features. Select View features next to Add an optional feature, and then select the Media Feature Pack in the list of available optional features.