How to play .mp4 movies?
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.
Related videos on Youtube
Comments
-
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 over 13 yearscan xine or VLC play the file?
-
Andrew over 13 yearsxine gives a similiar error message, and VLC plays a scrambled mess of random colors for 6 seconds.
-
Andrew over 13 yearsShh, don't tell anyone.
-
Marky about 13 yearsHi, 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 almost 11 yearsrunning your first line solved it for me :D
-
-
Andrew over 13 yearsIt's not exactly pay-to-view, and I don't think I can post a link to it.
-
Eliah Kagan over 11 yearsIt's not necessary to start a root shell first, if you're going to run administration commands as root with
sudo
. You can skipsudo -s
, and just usesudo apt-get install vlc
. Please note that it's best to runsudo 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 over 3 yearsNo it will not but dragging the file into Firefox plays it.
-
Greenonline over 2 yearsDo you really mean VNC media player? If so, is there a link? Or should that be VLC?