Monday, June 14, 2010

Playing AVI MP3 DIVX and MP4 in Meego

I recently installed Meego V1.0 on my Asus eee 1000HA and I must say I am very pleased with it. One of the most obvious omissions from this release is the ability to play divx, avi, mp3 and mp4 files. I did some googling and managed to figure out how to do it but the process is rather long and involved so I decided to combine it all into a script so you can install or your codecs with one line at the terminal.

ASUS Eee PC 1000HA 10-Inch Netbook (1.6 GHz Intel ATOM N270 Processor, 1 GB RAM, 160 GB Hard Drive, 10 GB E-Storage, XP Home, 6 Cell Battery)
One of the few bits of hardware fully supported by Meego.

Since the release of Meego 1.1 there have been some changes so there are now 2 different scripts.




*Note: because of all the compiling the script does it can take over an hour to run so I strongly advise connecting to AC power before running it.


For Meego 1.0
Download the script from here:
http://dl.dropbox.com/u/6217043/divx1-0

Now open a terminal and type:

chmod a+x ./divx1-0
sudo ./divx1-0



For Meego 1.1
Download the script from here:
Now open a terminal and type:

chmod a+x ./divx1-1
sudo ./divx1-1

*Note: you must first cd to the directory where you downloaded the file. ie. if it is in "Downloads" type "cd Downloads" first.



Now reboot(it wouldn't work for me until after a reboot)

This script is based on information found at:

Thanks to Eduardo Gonçalves for the advice on the 1.1 script.

Now you can enjoy your MP3's and AVI's on Meego.

You can also check out the thread about this on the Meego forums at:

28 comments:

  1. I'm trying it now, but one thing your directions don't say is to execute the file? If I follow directions above and allow executing file as program, open terminal, and type sudo ./divx.sh I receive the file not found error?

    D

    ReplyDelete
  2. what do you get when you type "ls" at the terminal? My guess is that you are in a different directory to where you downloaded the file. If you are using chrome it's probably in "Downloads" just cd to there before running the script. Where did you save the file when you downloaded it? that's the directory you need to be in when you try to run the file.

    ReplyDelete
  3. I had to rename the file first, because it was divx.download. Then do not forget this: You need to then give the script execute permissions by right clicking the file then Properties->Permissions and then check the "allow executing file as program".

    And then everything works... Hopefully, it is running atm...

    ReplyDelete
  4. I have problems with this :S... terminal tells me in some part that blablabla I need GLib 2.18 to compile blablabla... I have GLib 2.4, and don't works... So I don't understand the problem u.u...

    ReplyDelete
  5. Finally,I can open mp3 files, but avi, mp4 and divx are dead :S...

    ReplyDelete
  6. hi,
    thanks for the script. but its not working on my eeepc 1005ha with meego 1.0.1. the script starts, exectutes wget, and checks the compilers...
    Fowloing error appears:
    configure: No package 'gstreamer-plugins-base-0.10' found
    configure: error: no gstreamer-plugins-base-0.10 >= 0.10.22 (GStreamer Base Plug-ins Library) found

    can you help me?

    ReplyDelete
  7. Man... you are an angel for half the world!!!

    ReplyDelete
  8. Hello

    I've found success with this script on an Eeepc 1000he running Meego 2.1.

    I had to rename the original downloaded file to divx.sh

    The first time I ran the script I received the error for no package for gstreamer plugins. I see other people got this as well. I rebooted the computer and tried again and everything worked perfect. Perhaps try rebooting if things aren't working for you.

    I have no problem with .avi and mp3.

    Thanks James for the great script!

    ReplyDelete
  9. My day has just been made. thx for the srcipt, works flawlessly on acer aspire one with meego 1.01. cheers.

    ReplyDelete
  10. great thanks i did it and it worked perfectly.

    Is it safe to remove the directory that the script left?

    ReplyDelete
  11. For those whom are having troubles installing this, please check if you are using Meego 1.0 or 1.1.
    If you're using Meego 1.1, you have to do little changes because in this version the install command is zypper instead of yum, and this version needs to install wget.
    so:

    sudo zypper install wget

    then after the instalation of wget, you open divx.sh with the text editor and change "yum" to "zypper", than back to terminal and run

    sudo ./divx.sh

    ReplyDelete
  12. Hello,

    I am running the script on MeeGo 1.0 ( on VirtualBox). I am having the below errors during the compilation of ffmpeg:


    In file included from libavcodec/mpegvideo_xvmc.c:32:
    libavcodec/xvmc.h:59: error: expected specifier-qualifier-list before 'XvMCMacroBlock'
    libavcodec/mpegvideo_xvmc.c: In function 'ff_xvmc_init_block':
    libavcodec/mpegvideo_xvmc.c:47: error: 'struct xvmc_pix_fmt' has no member named 'next_free_data_block_num'
    libavcodec/mpegvideo_xvmc.c: In function 'ff_xvmc_field_start':
    libavcodec/mpegvideo_xvmc.c:81: error: 'struct xvmc_pix_fmt' has no member named 'mv_blocks'
    libavcodec/mpegvideo_xvmc.c:82: error: 'struct xvmc_pix_fmt' has no member named 'allocated_mv_blocks'
    libavcodec/mpegvideo_xvmc.c:83: error: 'struct xvmc_pix_fmt' has no member named 'allocated_data_blocks'
    libavcodec/mpegvideo_xvmc.c:84: error: 'struct xvmc_pix_fmt' has no member named 'p_surface'
    libavcodec/mpegvideo_xvmc.c:90: error: 'struct xvmc_pix_fmt' has no member named
    'filled_mv_blocks_num'
    ....

    Any idea what is going wrong here?

    ReplyDelete
  13. I'm very lame at computers but i like meego system and would like to use it, but without music and movies it sucks. Could you make a video tutorial with step by step instruction like talking to a 3 year baby please ?

    ReplyDelete
  14. 1 open terminal
    2 cd Downloads (or the place were u download it) (press enter)
    3 chmod a+x ./divx1-0 (press enter)
    4 sudo ./divx1-0 (press enter)

    then YES to every question.

    ReplyDelete
  15. same error everytime , after finishng untar the folders , I believe it happens from this line :
    "yum install gcc bison flex *glib* *diff* liboil*dev*
    "
    btw I tried the 2 versions ....
    also I've tried to write "make" command , it gives me that bash:make command isn't found , I'm using Meego 1.0 .. searched alot & found nothing
    plz reply asap , thx in adavnce


    Error:
    --------
    Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
    Loading repository data...
    Reading installed packages...
    'gcc' not found.
    'bison' not found.
    'flex' not found.
    'NetworkManager-glib' is already installed.
    zypper: /usr/include/boost/smart_ptr/intrusive_ptr.hpp:149: T* boost::intrusive_ptr::operator->() const [with T = const zypp::ResObject]: Assertion `px != 0' failed.
    ./divx1-1: line 17: 10130 Aborted zypper install gcc bison flex *glib* *diff* liboil*dev*
    Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.
    Loading repository data...
    Reading installed packages...
    'make' not found.
    Resolving package dependencies...
    ....
    ....
    configure: error: /bin/sh ./config.sub i686-pc-linux- failed

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. Same Error

    configure: error: /bin/sh ./config.sub i686-pc-linux- failed

    ReplyDelete
  18. hi..
    i have asus eeepc x101 pre loaded with linpus lite for meego .

    i'm good at using windows OS hence need to install it. i will be installing windows using external cd/dvd ROM...

    please help me in installing WINDOWS in detail .

    I'm unable to start with anything...

    thank u..

    rahul

    ReplyDelete
  19. @Rahul Kumar sorry i don't want to be harsh but i have to ask because i see questions like this all the time on blog posts.

    1. Are you seriously asking me to explain installing windows to you? Ever hear of google? There must be a million sites with instructions on that.

    2. Also why are you asking the question in such an inappropriate place, this is a Linux blog why would you be asking here about installing windows?

    3. Are you unable to search for and find things yourself? it seems weird to just go to random blogs and ask people for help about totally unrelated topics. Does this ever work?

    Sorry if it sounds harsh but i would genuinely like to know what prompts people to do this kind of thing.

    ReplyDelete
  20. This comment has been removed by the author.

    ReplyDelete
  21. This comment has been removed by the author.

    ReplyDelete
  22. I would just like to say thanks, for your instructions worked for me.

    ReplyDelete
  23. please help me i got the same problem... :(

    configure: error: /bin/sh ./config.sub i686-pc-linux- failed

    Im new with Linux and all, so simply saying i dont know anything in linux!... PLEASE HELP ME????? :(:(

    ReplyDelete
  24. I prefer to use Video Converter Assist and HandBrake.

    ReplyDelete
  25. Hi
    I have the best quality ring tone you can refer. Unique ringtone. Free ringtones. Ringtones from famous movies in the world. Many people around the world have installed ringtones for their mobile phones. How about you? Visit the home page below to get your favorite ringtone: ringtonedownload.in

    I will introduce 5 most installed ringtones:

    - Jab Koi Baat ringtone
    - Ya Lili ringtone
    - Bahut Pyar Karte Hain ringtone
    - Bonalu Song 2018 ringtone
    - Let Me Love You ringtone

    Thank you for your attention!

    ReplyDelete
  26. watch all spanish daramas here in HD quality ·doramas vip

    ReplyDelete