Why this helps
Codec issues are a top reason beginners think Linux is broken. Fixing this early prevents frustration.
- MP4/H.264 playback works
- Common streaming formats work
- Audio codecs load reliably
Step-by-step guide
Enable broad audio/video playback support so media works out of the box.
Codec issues are a top reason beginners think Linux is broken. Fixing this early prevents frustration.

Use your distro package manager to install multimedia codecs and FFmpeg components.
# Ubuntu / Debian
sudo apt update && sudo apt install -y ubuntu-restricted-extras ffmpeg
# Fedora (RPM Fusion enabled)
sudo dnf install -y gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 ffmpeg
# Arch
sudo pacman -S --noconfirm ffmpeg gst-plugins-good gst-plugins-bad gst-plugins-uglyInstall VLC as a fallback player. It often plays files that browser decoders reject.
Test one local MP4 file and one browser stream (for example YouTube). Validate audio and video together.
Close all browser windows and reopen. Some codec libraries are only loaded at browser start.