MP4Box is a MP4 multiplexer, which 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.
1) Download MP4Box Execute Following commands on Shell to Download the MP4Box Source
“gpac-0.4.5.tar.gz” is Main Source for MP4Box where as “gpac_extra_libs-0.4.5.tar.gz” contains Extra Libraries which will enhance the functionality of MP4Box.
2) Extract the Downloaded sources Extract both the downloaded files using Tar
code:
[root@server src]# tar -zxvf gpac-0.4.5.tar.gz [root@server src]# tar -zxvf gpac_extra_libs-0.4.5.tar.gz
3) Copy the Additional Libraries from “gpac_extra_libs” to “gpac” folder
code:
[root@server src]# cd gpac_extra_libs [root@server gpac_extra_libs]# cp -r * /usr/local/src/gpac/extra_lib [root@server gpac_extra_libs]# cd ..
4) Install GPac or MP4Box
Execute following Commands on the Shell of your Linux Server one after one (Make sure it doesn’t throw any Error)
code:
[root@server src]# cd gpac [root@server gpac]# ./configure [root@server gpac]# make lib [root@server gpac]# make apps [root@server gpac]# make install lib [root@server gpac]# make install
5) Once GPAC get installed Properly, copy the gpac .so file from gpac directory to System libraries
2) Error on 64 Bit OS. Following Error was thrown. This Error can be fixed by creating an symbolic link of /usr/lib64/libglut.so.3 to /usr/lib64/libglut.so
code:
ERROR:-
/usr/bin/ld: cannot find -lglut collect2: ld returned 1 exit status