Menu

Install MP4Tools on Ubuntu 20.04 LTS

Shmu26
2021-09-11
2023-03-23
  • Shmu26

    Shmu26 - 2021-09-11

    Is there a .deb file or appimage or snap or flatpak or something else?
    I am trying to install by source and I don't see a list of dependencies anywhere. I have been installing them one after the other, according to the errors in build, but I am stuck on this one:

    MP4Joiner requires the wxSVG library with ffmpeg/libav support.
    

    The full output is:

    ./configure && make
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    /home/shmuel/Downloads/MP4Tools-3.8/missing: Unknown `--is-lightweight' option
    Try `/home/shmuel/Downloads/MP4Tools-3.8/missing --help' for more information
    configure: WARNING: 'missing' script is too old or missing
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for install location... /usr/local
    checking whether ln -s works... yes
    checking for ranlib... ranlib
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking whether make supports the include directive... yes (GNU style)
    checking dependency style of gcc... gcc3
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking dependency style of g++... gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for wx-config... /usr/bin/wx-config
    checking for wxWidgets version >= 2.8.7... yes (version 3.0.4)
    checking for wxWidgets static library... no
    checking for LIBAV... yes
    checking for libavformat/avformat.h... yes
    checking for wxSVG... yes
    checking for wxSVG library with ffmpeg/libav support... no
    configure: error: 
        MP4Joiner requires the wxSVG library with ffmpeg/libav support.
    
     
  • Shmu26

    Shmu26 - 2021-09-11

    I have these packages installed:

     
  • Manuel Pernas Garcia

    Maybe you don't need this today. But for everybody with this error:
    -Reinstall ffmpeg
    -Reinstall libwsvg and related
    -Install wxSVG from https://wxsvg.sourceforge.net/ and build it with
    ./autogen.sh,
    ./configure --enable-libav
    make
    sudo make install

    If you installed it previously, open a terminal and type cd wxsvg (for example) and type: make clean, sudo make clean. Then rebuild wxSVG. You'll need Pango and Cairo, Pangocairo and related.

    • Download mp4tools 3.8
    • cd mp4tools
    • ./autogen.sh
      -./configure --with-wx-config=/usr/bin/wx-config
      -make
      -sudo make install.

    That worked for me after hours with errors. I hope it helps.

     

    Last edit: Manuel Pernas Garcia 2023-03-23
  • Manuel Pernas Garcia

    You also need to install gpac, sudo apt install gpac

     

    Last edit: Manuel Pernas Garcia 2023-03-23

Log in to post a comment.