How to play .mp4 movies?

174,299

Solution 1

In a terminal, type in sudo apt-get install vlc, press enter, and key in your password when prompted.

VLC Player will play just about anything. If your MP3/MP4 files still do not work, you will need to download the restricted codecs pack. Search for these in Google and use the above command to install them once you find out what the file-name is. I.e., type in sudo apt-get install [filename].

DVD playback is the same as above, you will need the restricted repositories. Again, once you locate them, just type in the above.

EDIT: All of the above, and indeed many other countless codecs and programs can also be installed through the Synaptic Package Manager. To access this, click Systems > Administration > Synaptic Package Manager.

This can be a bit of a headache though, as there are many, many things available, and if you do not know the specific program name or keywords for it used through the search function, it can be difficult.

Solution 2

My solution was to go to Tools > Preferences > Video, make sure Enable video and Window decorations were checked, then set the Output drop-down menu to X11 video output (XCB).

See this answer for more information.

Solution 3

Try xine or VNC media players, My personal choice is xine because it uses very little resources. Both are in the repository. Edit, sorry, did not see comment above. Where did the file come from? Can you post a link to it? Is it a pay to view movie?

Solution 4

It's probably protected by DRM (Digital Rights Management). Quite a number of the songs and such are DRM protected if the origical source is from iTunes etc.

The answers given here possibly applies to you as well.

Share:
174,299

Related videos on Youtube

Andrew
Author by

Andrew

Hiya.

Updated on September 17, 2022

Comments

  • Andrew
    Andrew almost 2 years

    I have a .mp4 movie (it's an .mp4 file, and the "video codec" is Xvid, and the "audio codec" is mp3) that I want to play, but when I try to open it in MPlayer, it says "The steam is encrypted and decryption is not supported." I tried to apply the answer from this question and this wiki page, but neither worked.

    Any suggestions?

    The file came from an [apparently] less than reputable site, which I guess I can't link to. :(

    I've tried:

    sudo apt-get install ubuntu-restricted-extras
    sudo apt-get install libdvdread4
    sudo /usr/share/doc/libdvdread4/install-css.sh
    sudo apt-get install gstreamer0.10-ffmpeg
    sudo apt-get install w64codecs
    sudo apt-get update
    
    • Yanick Rochon
      Yanick Rochon over 13 years
      can xine or VLC play the file?
    • Andrew
      Andrew over 13 years
      xine gives a similiar error message, and VLC plays a scrambled mess of random colors for 6 seconds.
    • Andrew
      Andrew over 13 years
      Shh, don't tell anyone.
    • Marky
      Marky about 13 years
      Hi, I've had a similar experience. That file may be corrupt or not what it's "pretending" to be. Careful running that on Windows since the last time I encountered a similar video file that VLC, Mplayer, Totem, including WMP, couldnt' play, it was actually a malware of sorts. Yes, so much for downloading from sites with questionable repute.
    • Christian Vielma
      Christian Vielma almost 11 years
      running your first line solved it for me :D
  • Andrew
    Andrew over 13 years
    It's not exactly pay-to-view, and I don't think I can post a link to it.
  • Eliah Kagan
    Eliah Kagan over 11 years
    It's not necessary to start a root shell first, if you're going to run administration commands as root with sudo. You can skip sudo -s, and just use sudo apt-get install vlc. Please note that it's best to run sudo apt-get update first as this updates local information about what packages are available from where in what versions. This can prevent a variety of installation errors (including some "unmet dependencies" errors), and also ensures you get the latest version provided by your enabled software sources.
  • NoBugs
    NoBugs over 3 years
    No it will not but dragging the file into Firefox plays it.
  • Greenonline
    Greenonline over 2 years
    Do you really mean VNC media player? If so, is there a link? Or should that be VLC?