Search This Blog

Friday, July 23, 2010

How to Install MP4Box on Ubuntu 8.04

Hi Friends,
I am not a very experienced on Ubuntu server, but in past one year I have done lot of new and exciting thing on it. Here I am sharing some of my knowledge and experience with all of you.

Lets Start.

How to Install MP4Box on Ubuntu 8.04

Introduction to MP4Box

you can found a good introduction here

first download source for mp4box

root@dev-laptop:~# cd /usr/local/src/
root@dev-laptop:~#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz

and extract it

root@dev-laptop:~#tar -zxvf gpac-0.4.5.tar.gz

Download extra libraries to enhance the functionality of mp4box

root@dev-laptop:~#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC%20extra%20libs/GPAC%20extra%20libs%200.4.5/gpac_extra_libs-0.4.5.tar.gz

root@dev-laptop:~#tar -zxvf gpac_extra_libs-0.4.5.tar.gz

Copy extra libraries from “gpac_extra_libs” to “gpac” folder

root@dev-laptop:~#cp -r gpac_extra_libs /usr/local/src/gpac/extra_lib/

root@dev-laptop:~# cd /usr/local/src/gpac

change the permission of configuration file
chmod 755 configure
./configure
root@dev-laptop:~#make lib
root@dev-laptop:~#make apps
root@dev-laptop:~#make install lib
root@dev-laptop:~#install


if you are getting a error message like this
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory '/your directory'
make: *** [lib] Error 2

Install Glut first
root@dev-laptop:~#wget http://kr.archive.ubuntu.com/ubuntu/pool/main/f/freeglut/freeglut3_2.6.0-0ubuntu2_amd64.deb

root@dev-laptop:~#wget http://kr.archive.ubuntu.com/ubuntu/pool/main/f/freeglut/freeglut3-dev_2.6.0-0ubuntu2_amd64.deb

and then install these two packages one by one ...

root@dev-laptop:~#dpkg -i freeglut3_2.6.0-0ubuntu2_amd64.deb
root@dev-laptop:~#dpkg -i freeglut3-dev_2.6.0-0ubuntu2_amd64.deb

and try again .

test your instillation
root@dev-laptop:~#MP4Box -version
MP4Box - GPAC version 0.4.5 (build 33)
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
(c) ENST 2005-200X

Congratulation your MP4Box installed successfully !!!!!!!

2 comments:

  1. Thanks man! It worked

    I face issue following issue

    make[1]: *** [libgpac.so] Error 1
    make[1]: Leaving directory '/your directory'
    make: *** [lib] Error 2

    I uncomment -warn--common from configure and it worked fine.

    Thanks.

    ReplyDelete
  2. hello there
    i have the same error while running make
    make[1]: *** [libgpac.so] Error 1
    make[1]: Leaving directory '/your directory'
    make: *** [lib] Error 2
    how can i fix it please?

    ReplyDelete