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.tar.gz
# 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
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
Try :)
------
Note : I got following error message during executing ./configure
-----
./configure: line 1286: /tmp/gpac-conf-14648-9347-16837.o: Permission denied
-----
I had setup another tmp directory for this installation. Just do following :
TEMP_DIR=/home/tmp or any other tmp directory.
O/P :
====
root@starslite [~/gpac]# which MP4Box
/usr/local/bin/MP4Box
root@starslite [~/gpac]# /usr/local/bin/MP4Box -version
MP4Box - GPAC version 0.4.5 (build 33)
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
(c) ENST 2005-200X
root@starslite [~/gpac]#
====
Wednesday, 4 August 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment