Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2007
    Posts
    332

    Default How to install MP4Box

    Install MP4Box

    MP4Box is a MP4 multiplexer and used for conversion, splitting, hinting, dumping and to import MPEG-4 video, DivX, h264, XviD, 3ivx or FFmpeg and audio streams into the .MP4 container. The end result is a compliant MP4 stream.
    MP4Box is part of the GPAC Project framework. It is a command line tool, but can be used with graphical user interfaces such as YAMB or my MP4box GUI.

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

    Download and Install latest version of gpac from above URL.

    #cd /usr/local/src/

    # 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

    # tar -zxvf gpac-0.4.5.tar.gz
    # tar -zxvf gpac_extra_libs-0.4.5.tar.gz
    # cd gpac_extra_libs
    # cp -r * /usr/local/src/gpac/extra_lib
    # cd gpac
    # chmod 755 configure
    # ./configure
    # make lib
    # make apps
    # make install lib
    # make install
    # cp bin/gcc/libgpac.so /usr/lib
    mp4box installed successfully, you can verify it as follows
    root@ffmpeg [~]# which MP4Box
    /usr/local/bin/MP4Box
    root@ffmpeg [~]#
    Getting following error while running make.
    /usr/bin/ld: cannot find -lglut
    collect2: ld returned 1 exit status
    Apply following fix
    Check
    # ls /usr/lib64 |grep glut
    libglut.so.3

    #ln -s /usr/lib64/libglut.so.3 /usr/lib64/libglut.so
    Enjoy
    RsyNc.
    VPS Support Team

    VPS Hosting ||Cloud Hosting 100% UPTIME!
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook
    MSN: johnr @ eukhost.com
    SKYPE: john_rodricks

  2. #2
    Join Date
    Mar 2007
    Posts
    332

    Default

    Hello,

    Getting following error after installation of MP4Box.

    MP4Box did not find libgpac.so

    ERROR :-
    root@ffmpeg [/usr/local/src/gpac]# /usr/local/bin/MP4Box
    /usr/local/bin/MP4Box: error while loading shared libraries: libgpac.so: cannot open shared object file: No such file or directory
    try following

    Solution :-
    The shared libary was compiled, but is not installed to /usr/local/lib. This can be fixed as,
    root@ffmpeg [/usr/local/src/gpac]# install -m644 bin/gcc/libgpac.so /usr/local/lib/libgpac.so
    root@ffmpeg [/usr/local/src/gpac]# chmod +x /usr/local/lib/libgpac.so
    root@ffmpeg [/usr/local/src/gpac]# ldconfig
    You can verify
    root@ffmpeg [/usr/local/src/gpac]# /usr/local/bin/MP4Box
    MP4Box [option] input [option]
    -h general: general options help
    -h hint: hinting options help
    -h import: import options help
    -h encode: encode options help
    -h meta: meta handling options help
    -h extract: extraction options help
    -h dump: dump options help
    -h swf: Flash (SWF) options help
    -h crypt: ISMA E&A options help
    -h format: supported formats help

    -nodes: lists supported MPEG4 nodes
    -node NodeName: gets MPEG4 node syntax and QP info
    -xnodes: lists supported X3D nodes
    -xnode NodeName: gets X3D node syntax
    -snodes: lists supported SVG nodes
    -snode NodeName: gets SVG node syntax
    -languages: lists supported ISO 639 languages

    -quiet: quiet mode
    -v: verbose mode
    -version: gets build version
    root@ffmpeg [/usr/local/src/gpac]#
    Enjoy
    RsyNc.
    VPS Support Team

    VPS Hosting ||Cloud Hosting 100% UPTIME!
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook
    MSN: johnr @ eukhost.com
    SKYPE: john_rodricks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •