This is a packaged build of MediaInfo for use in Java environments. The source is based on the JNA example contained in MediaLib (see below for MediaInfo details).
- Java jdk 8
- Maven 3
mvn clean install
To run from the command line
java -jar `ls -1 mediainfo-jna-*jar-with-dependencies.jar` [your file]
Currently tested on CentOS 7 and macOS Seirra.
Current versions included
- Linux library - Shared library that indludes MediaInfo v0.7.97, Zen version v0.4.35, and zlib builtin
- Mac library - MediaInfo v0.7.97 downloaded from mediaarea.net
- Windows -Testing and verification required prior to inclusion
Based on the project MediaInfo: This product uses MediaInfo library, Copyright (c) 2002-2017 MediaArea.net SARL https://mediaarea.net/MediaInfo
Source code https://github.com/MediaArea/MediaInfoLib
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Several audio and video files are included for test purposes. These were obtained from the web and were marked as free for commercial use and/or open source. If you feel that any of these files should be removed, please contact us via Github issue.
Video files were obtained from:
Audio files obtained from freesound.org and discovered through the test audio project:
Images devaintart.net