How can I play mp4 and avi files in a Movie Player?

27,713

Solution 1

VLC Media Player - available from the Software Centre!

VLC in Software Centre

Solution 2

In order to watch videos or play audio files you need the appropriate codec to decode these files. Some of them are non-free and are therefore not included in a standard Ubuntu installation.

Non-free codecs are provided by the package libavcodec-extra-52 that you will be able to install after adding multiverse to your sources:

sudo apt-get install libavcodec-extra-52

After doing so all players that are based on ffmpeg are able to play audio or video files encoded with one of the supported codecs. This also includes players that come with a standard Ubuntu installation.

Share:
27,713

Related videos on Youtube

dv3500ea
Author by

dv3500ea

I am an Ubuntu user (since Jaunty) and also a programmer (by hobby - no formal education). I found the community on Ubuntu Forums extremely helpful and so started to return the favour and never stopped :) I am currently involved with the development of the following FOSS projects: DMedia - a distributed media library, to be used by the Novacut video editor. (IRC: #novacut) QR Tools - tools for creating and reading QR codes. Both of these projects actively welcome new contributors so feel free to help out. If you are interested but don't know where to start feel free to contact me. If you find my answers helpful, and you have money to waste spare, you may donate to me via: flattr Bitcoin - 14wAQSJT4F1QsUUdUVvZS5TXmgvCyNr1ET youtipit

Updated on September 17, 2022

Comments

  • dv3500ea
    dv3500ea over 1 year

    I have installed Ubuntu on my emachines. It works well, so far, although I am unable to play movie files which I have saved from my old Windows installation.

    I am using the default movie player that comes with the Ubuntu. I have seen other movie players in the Software Centre.

    Should I install a new movie player (if so, which) or can I get the default movie player to play these files?