MP4Box is a MP4 multiplexer. It can import MPEG-4 video, DivX, XviD, 3ivx, h264 etc, audio streams and subtitles into the .mp4 container.
MP4Box is a binary software coming with GPAC software collection like MPEG-4 video, DivX, XviD, 3ivx, h264 etc.
This package useful for audio streams and subtitles into the .mp4 container. It need some dependencies resolved.
Install all FFmpeg dependency:
You need to download the latest ffmpeginstaller from ffmpeg-installer, Also discussed on FFMPEG installtion previous post, after the installation make sure that the ffmpeg,mplayer,flvtool2 etc,. are working fine.
Install other dependencies using yum
# yum -y install freetype-devel SDL-devel freeglut-devel
Download and install gpac:
# tar -xzf gpac-full-0.4.5.tar.gz
# cd gpac/
# ./configure --prefix=/usr/local/cpffmpeg/ \
--extra-cflags=-I/usr/local/cpffmpeg/include/ \
--extra-ldflags=-L/usr/local/cpffmpeg/lib --disable-wx --strip
# make
# make install
Error :
MP4Box: error while loading shared libraries: libgpac.so: cannot open shared object file: No such file or directory
Solution :
Create soft link for MP4Box,
# ln -s /usr/local/cpffmpeg/bin/MP4Box /usr/bin/MP4Box
Comments (0)