Giter VIP home page Giter VIP logo

eaglexmw-gmail / mediainfo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mediaarea/mediainfo

0.0 1.0 0.0 19.43 MB

Convenient unified display of the most relevant technical and tag data for video and audio files.

Home Page: https://MediaArea.net/MediaInfo

License: BSD 2-Clause "Simplified" License

C++ 27.50% Shell 2.25% QMake 0.32% C 0.14% Pascal 55.44% NSIS 0.93% Perl 0.23% Python 0.46% Objective-C 4.40% Objective-C++ 0.24% Batchfile 1.30% Makefile 0.24% M4 1.39% CMake 0.03% Kotlin 2.58% Swift 2.53% Ruby 0.01%

mediainfo's Introduction

MediaInfo README

MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files.

Build Status Build status

How to build MediaInfo

Build under macOS and Linux

First, you must create a directory which will receive the MediaInfo directory, and ZenLib and MediaInfoLib if you decide to compile them yourself.

In this document, this directory will be referred as $BUILD_DIR.

Dependencies under macOS

MacPorts

Some dependencies are available with MacPorts. To install MacPorts: https://guide.macports.org/#installing

port install autoconf automake libtool pkgconfig zlib wxWidgets-3.0

MediaArea tools

Dependencies under Linux

Listing

Build tools

  • git
  • automake
  • autoconf
  • libtool
  • pkgconfig
  • make
  • g++

MediaArea tools

  • libzen0
  • libmediainfo0

CLI and GUI dependencies

  • zlib

GUI only dependencies

  • wxwidgets

Ubuntu

Build tools and CLI/GUI dependencies

apt-get install git automake autoconf libtool pkg-config make g++ zlib1g-dev

MediaArea tools

Go to https://mediaarea.net/fr/MediaInfo/Download/Ubuntu and download the libmediainfo0, libmediainfo-dev, libzen0 and libzen-dev packages corresponding to your Ubuntu version. Then install them with :

dpkg -i libmediainfo* libzen*

GUI only dependencies

apt-get install libwxgtk3.0-dev

Fedora

Build tools and CLI/GUI dependencies

sudo yum install git automake autoconf libtool pkgconfig make gcc-c++ zlib-devel

MediaArea tools

Go to https://mediaarea.net/fr/MediaInfo/Download/Fedora and download the libmediainfo0, libmediainfo-devel, libzen0 and libzen-devel packages corresponding to your Fedora version and CPU architecture. Then install them with :

sudo yum install libmediainfo*.rpm libzen*.rpm

GUI only dependencies

sudo yum install wxGTK-devel desktop-file-utils

Debian

Build tools and CLI/GUI dependencies

apt-get install git automake autoconf libtool pkg-config make g++ zlib1g-dev

MediaArea tools

Go to https://mediaarea.net/fr/MediaInfo/Download/Debian and download the libmediainfo0, libmediainfo-dev, libzen0 and libzen-dev packages corresponding to your Debian version. Then install them with :

dpkg -i libmediainfo* libzen*

GUI only dependencies

apt-get install libwxgtk3.0-dev

OpenSUSE

Build tools and CLI/GUI dependencies

zypper install git automake autoconf libtool pkgconfig make gcc-c++ zlib-devel

MediaArea tools

Go to https://mediaarea.net/fr/MediaInfo/Download/openSUSE and download the libmediainfo0, libmediainfo-devel, libzen0 and libzen-devel packages corresponding to your OpenSuse version. Then install them with :

rpm -i libmediainfo* libzen*

GUI only dependencies

zypper install libqt4-devel libQtWebKit-devel update-desktop-files

Build MediaInfo CLI

When you have done all the prerequisite for your configuration, then build MediaInfo. We start with the CLI.

cd $BUILD_DIR
git clone https://github.com/MediaArea/MediaInfo.git
cd MediaInfo/Project/GNU/CLI
./autogen.sh
Then, under macOS:
./configure --enable-staticlibs
make
Under Linux:
./configure --enable-shared
make

Or for statically linked executable, if you also build ZenLib and MediaInfoLib:

./configure --enable-staticlibs
make

Launch the CLI

./mediainfo

Build MediaInfo GUI

If you have already build the CLI, no need to run git twice. In fact, if you re-run git with an existing MediaInfo directory, git will complain and exit.

To compile MediaInfo GUI under macOS and Linux:

cd $BUILD_DIR
git clone https://github.com/MediaArea/MediaInfo.git
cd MediaInfo/Project/GNU/GUI
./autogen.sh
Then, under macOS:
export PATH=$PATH:/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3/0/bin
./configure --enable-staticlibs
make
Under Linux:
./configure --enable-shared
make

Or for statically linked executable, if you also build ZenLib and MediaInfoLib:

./configure --enable-staticlibs
make

Launch the GUI

./mediainfo-gui

Optional : build ZenLib and MediaInfoLib

ZenLib

To compile ZenLib under macOS and Linux:

cd $BUILD_DIR
git clone https://github.com/MediaArea/ZenLib.git
cd ZenLib/Project/GNU/Library
./autogen.sh
./configure --enable-static
make

MediaInfoLib

To compile MediaInfoLib under macOS and Linux:

cd $BUILD_DIR
git clone https://github.com/MediaArea/MediaInfoLib.git
cd MediaInfoLib/Project/GNU/Library
./autogen.sh
./configure --enable-static
make

MediaInfo - https://github.com/MediaArea/MediaInfo Copyright (c) MediaArea.net SARL. All Rights Reserved.

This program is freeware under BSD-2-Clause license conditions. See the License for more information

mediainfo's People

Contributors

jeromemartinez avatar g-maxime avatar guillaumeroques avatar almic-stardust avatar maxpozdeev avatar mediaareaci avatar sami32 avatar kiyolee avatar xhmikosr avatar the-j0k3r avatar kieranjol avatar pavel-pimenov avatar stevenlele avatar kodawah avatar retokromer avatar xuchilbara avatar amattn avatar anonymouscommitter avatar 1480c1 avatar dericed avatar tribouille avatar fredoh9 avatar wiiaboo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.