Search

User login

Poll

What is your favorite DB Server ?:
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
6 + 14 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

My YM

Author Information

sentono
Offline
Last seen: 6 days 17 hours ago
Joined: 09/21/2007

Alexa Rank

Who's online

There are currently 0 users and 9 guests online.
Home
  • warning: Invalid argument supplied for foreach() in /usr/home/wowtutorial/public_html/sites/all/modules/adsense_injector/adsense_injector.module on line 352.
  • warning: Invalid argument supplied for foreach() in /usr/home/wowtutorial/public_html/sites/all/modules/adsense_injector/adsense_injector.module on line 35.

How To Install MP4Box in Linux x86_64

What is Mp4Box ?

MP4Box is a MP4 multiplexer. It can import MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container. The end result is a compliant MP4 stream. It can also extract streams from a .mp4. MP4Box is a command line tool, but can be used with graphical user interfaces such as YAMB or my MP4box GUI.

What is zlib ?

zlib is a software library used for data compression. zlib was written by Jean-Loup Gailly and Mark Adler and is an abstraction of the DEFLATE compression algorithm used in their gzip file compression program.

Source: http://sourceforge.net/projects/gpac/files/

Download MP4Box and Libraries

#cd /root
#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5...
#wget http://nchc.dl.sourceforge.net/project/gpac/GPAC%20extra%20libs/GPAC%20e...

Installing Zlib

#yast install zlib*
or
#yum install zlib*

Extract and Compiling MP4Box

#tar -zxf gpac-0.4.5.tar.gz
#tar -zxf gpac_extra_libs-0.4.5.tar.gz
#cd gpac_extra_libs
#cp -r * ../gpac/extra_lib
#cd ../gpac
#chmod +x configure
#./configure
#make lib
#make apps
#make install lib
#make install
#cp bin/gcc/libgpac.so /usr/lib

If everything goes smoothly.
You can verify it with the command below :

#/usr/bin/MP4Box -version
MP4Box - GPAC version 0.4.5 (build 33)
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
                (c) ENST 2005-200X

IMPORTANT

This tutorial is working with any 64 bit O/s but not working in 32 bit O/s
So please make sure you install MP4Box in 64 bit O/s

Comments

Help

Hi,

 

Nice tutorial. Do you think you can help me with a tutorial on a 34-bit OS?

read all previous comment, it

read all previous comment,

it seems there is an answered on those comment for 32 bit o/s
sorry i don't have any 32 bit o/s anymore so i can't test it out

this is indeed a useful,

this is indeed a useful, helpful and informative tutorial very well described as well.

Wordpress seo

Good Tutorial

Thank you very much for such a nice and short tutorial,  Works like4 a charm.

make install lib

I think it should be "#make install-lib" instead of "#make install lib", according to doc/INSTALL.gcc

I actually had better luck

I actually had better luck compiling this on a 32 bit platform!!!

I used a SUSE 32 bit AMI on Amazon's EC2 service.

The only thing I did differently was to run the ./run_configure.sh shell script instead of running ./configure, I'm not sure if that made a difference or not.

Now I have a perfectly working MP4Box app, and I am very happy after hours of trial and error.

compile error, help

I ended up with the following at the end of #make lib

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/usr/local/download/gpac/src'
make: *** [lib] Error 2

Any ideas what I would do to fix that? Otherwise, thanks for the instructions. This is the closest I've gotten yet, lol.

I end up with the following

I end up with the following errors at the end of #make lib

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /usr/local/lib/libz.a(gzio.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/usr/local/download/gpac/src'
make: *** [lib] Error 2

Any idea what I do to fix that?

Got it installed

Thanks for the instrucitons.  I got MP4Box compiled and installed on a 64-BIT CentOS 5.3 machine (actually it is a VMware machine).

I encountered the same error as PsySc0rpi0n with glut library and had to install freeglut-devel package via Package Manager GUI.  Instead of copying the libgpac.so to /usr/lib, I had to copy it to /usr/local/lib. Otherwise, running MP4Box produced an error "libgpac.so: cannot open shared object file: No such file or directory".

 

I am using a 64-bit Fedora 13

I am using a 64-bit Fedora 13 and I used yum to install gpac which it installed from rpmfusion and its dependencies a53dec, freeglut, gpac-libs, js and libmad and MP4Box was part of the install.

hei lamsao,, glad to hear you

hei lamsao,, glad to hear you success installed mp4box :)
anyway you don't need to copied libgpac.so.to to /usr/lib or to /usr/local/lib

you can just modify ld symlink.

#vi /etc/ld.so.conf

### add this lines below ###
/usr/lib
/usr/local/lib

After that reload ld so cache updated

#ldconfig.

done :)

So you don't need to manually copy the files into the directory
hope this also can help

 

 

Compiling mp4box

Compilation returns the following error at the end of command "sudo make lib":

 

/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/home/********/Desktop/Downloads/gpac/src'
make: *** [lib] Error 2

 

 

Can you help me?

 

You must install glut-devel

You must install glut-devel package

i believe mp4box is not

i believe mp4box is not working in 32 bit o/s.
I also personally have a problem with mp4box in 32 bit o/s so i go with 64 bit o/s which is installed smoothly :)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Recent comments

Facebook Fans

Sponsors

Online Store

Tag Cloud