Are you also facing problems while playing your favorite songs and videos on mp4? As you would have also observed that the error while playing the song shown would have been telling you to install the MPEG-4 AAC DECODER or the H264 DECODER.
I know it would have been a little difficult for you to install this decoder and listen to your favorite song without any interruptions or watch your favorite videos without facing the glitches. All worries are over now because you are in the right place if these were the only problems you were facing in the past few days.
You may also like to read about ‘How to Fix “VJoy Failed to Install error” in Windows 10‘.
Ubuntu-restricted-extras package facilitates all its individuals to be able to install the ability to play their favorite and popular non-free media formats like DVD, Quicktime, MP3, and Windows Media formats. Now the question comes how to install the Ubuntu-restricted-extras package? We would let you know this in no time just read the instructions given below carefully and follow them and you are done.
Install the MPEG-4 AAC decoder
STEPS TO BE FOLLOWED ARE AS FOLLOWS:
- Tap on Ctrl+Alt+T to open the terminal.
- Run the command provided below:
Sudo apt-get install ubuntu-restricted-extras:
- You could also accomplish this through Software Centre by launching it with the Dash and search for the required package and then finally install it.
You may also like to read about ‘How To Fix ‘Avast Won’t Update Virus Definitions’ Issue?‘.
libavcodec54, ffmpeg and libav-tools can also be installed with the command below:
Sudo apt-get install libavcodec54 libav-tools ffmpeg
You can also try editing Ubuntu 20.04
In Ubuntu 20.04, you might need libavcodec58 instead of 54 for doing that run the command below:
Sudo apt-get install libavcodec58 libav-tools ffmpeg
This is the error which is commonly shown when you are unable to play some media.
Python (v2.7) requires to install plugins to play media files of the following type: H.264 decoder Ubuntu
In this case there is a requirement to install H.264 Ubuntu.
You may also like to read about ‘How to fix “Parse Error: There was a problem parsing the package”?‘.
STEPS TO BE FOLLOWED FOR INSTALLING H.264 Ubuntu ARE AS FOLLOWS:
Using the command provided below you could accomplish your task within a fraction of seconds.
Sudo apt-get install h264enc
After the run of the following command, H.264 decoder would be installed in your system and you would not receive any errors in the future.
Thank you for reading our article in ‘How to install the MPEG-4 AAC decoder and the H.264 decoder‘. If you have any queries, please comment below. We would love to help you.
You may also like to read about ‘5 Efficient Ways to Get Sound From Monitor Without Speakers‘.