Media files on computers are usually encoded in order to reduce the size of the file (raw video/audio files are HUGE!). What does this encoding magic is something called a 'codec', or 'compressor-decompressor'. The version of MPlayer that ships with the EEE can play quite a few different types of movie and audio files thanks to the codecs that are built into it. But there's something called a 'codec pack' that the MPlayer developers put together in order to be able to play many more files. The 'codec pack' contains a bunch of different libraries, including Windows .dll files, that allow MPlayer to play many more video files than the default version that's on the EEE. There's an easy way to add this 'codec pack' to your machine…
sudo /usr/share/mplayer/scripts/binary_codecs.sh install
If the video file you play still has no video output in the Media Player application, try playing it on the command line. MPlayer is very verbose when it tries to play a file, it will tell you which codec it's missing. Then, you can either go look for the codec, or go look for help finding the codec by going to the EEE forums
mplayer /path/to/some/movie/file.avi
Yes, the h264 codec is missing from the version of MPlayer that comes with Xandros/EEE PC. There is a way to get it back, but it involves 'downgrading' MPlayer to a version that has that codec (and a lot of other missing codecs) installed.
(based on notes from this forum post)
It's recommended that you read the page on adding Xandros software package repositories so you have an idea of what's going on and what you can do to your system. Basically, you will be installing an older version of a software package that exists on your EEE, and there may be problems because of it. It's recommended that you add the 'package pinning' stuff listed on that page to /etc/apt/preferences
as well.
If you still want to do this…
sudo kwrite /etc/apt/sources.list
deb http://http.us.debian.org/debian/ etch main non-free contrib
deb http://www.debian-multimedia.org etch main
sudo aptitude update
sudo aptitude install mplayer=1.0~rc1-12etch2
(Hint: you can copy and paste this text from Firefox into the Terminal; highlight text in Firefox using the mouse, Ctrl-C, paste into a terminal by clicking on the terminal window and tapping TWO fingers on the touchpad)
You are specifying that an older version of MPlayer should be installed; the version number shown above worked as of 07Dec2007, but could change in the future.
Quelle1)