Fix Ubuntu Not Playing Videos (MP4, MKV) & Crash After Installing Codecs on 22.04, 24.04

Published: 16 December 2022
on channel: Tiwo Satriatama
21,862
341

Ubuntu video player can't play videos?. Here's how to fix unable to play the file, H.264/MPEG-4 AAC decoder is required to play the file but is not installed, an error occurred the specified movie movie could not be found, black screen, or crashes forever.

Fix Opera Can't Play Twitter Videos in Linux
   • UPDATE: Fix Opera Can't Play Videos o...  

Install Google Chrome in Linux Graphically
   • Install Google Chrome Without Termina...  

Fix Native Host Connector is Not Detected
   • Fix Native Host Connector is Not Dete...  

Firefox Won't Play Any Live Streaming Videos
   • Playing Videos in Firefox Ubuntu Issu...  

Runn Epic Game Launcher (EGS) on Ubutu
   • Linux Experiment: Install Epic Games ...  

Ubuntu doesn't play videos and some audio media formats after fresh install for example is a common issue. The lack of this support is due the video files and other media formats are restricted by patent, copyright, or legal issues.

The good thing is, Canonical provides a single package to install all the essential media codecs from their repository to provide non-open source software to its users. You can use this on any Ubuntu e.g 20.04 LTS, 20.10, 22.04 LTS, 22.10.

WHAT IS UBUNTU RESTRICTED EXTRAS?
Ubuntu-restricted-extras is a software package that consists various essential software like MP3 and other audio codec software to play various audio formats, Microsoft web fonts, unrar, mp4, and codecs for Chromium browser, etc.

UBUNTU WON'T PLAY DVD MOVIES
The same problem occurs when you want to play a DVD even after you installed all the codecs. Here are all you have to do to get DVD Playback (follow on-screen instructions and reboot your computer to apply the changes) :

sudo apt install libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg

FIX LIBDVDREAD4 NOT AVAILABLE
If you're facing "libdvdread4 not available" error (I think this only happens on Ubuntu 20.04 LTS Focal Fossa and higher), libdvdread package available as libdvdread7. So run this command to install it :

sudo apt install libdvdread7

Say good bye to video not playing on Ubuntu desktop issue!.

Consider subscribing to get latest how to install, configure, tips, use Linux and Free Libre Open Source Software (FLOSS), or if you like what you see. Thanks for watching and being here!.

Music | Sweet by LiQWYD
Watch :    • LiQWYD - Sweet [Official]  
License : https://www.liqwydmusic.com/how-to-use
Download/Stream : https://hypeddit.com/link/h3acqn

Visit : https://www.linuxslaves.com
Facebook :   / linuxslaves  
Twitter :   / tiwosatriatama  


Watch video Fix Ubuntu Not Playing Videos (MP4, MKV) & Crash After Installing Codecs on 22.04, 24.04 online without registration, duration hours minute second in high quality. This video was added by user Tiwo Satriatama 16 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 21,862 once and liked it 341 people.