Mediainfo Library

admin

MediaInfo is a utility used for retrieving technical information and othermetadata about audio or video files.

  1. Mediainfo Writing Library
  2. Mediainfo Java Library

The MediaInfo data display includes:

  • Container: format, profile, commercial name of the format, duration, overall bit rate, writing application and library, title, author, director, album, track number, date, duration...
  • Video: format, codec id, aspect, frame rate, bit rate, color space, chroma subsampling, bit depth, scan type, scan order...
  • Audio: format, codec id, sample rate, channels, bit depth, language, bit rate...
  • Text: format, codec id, language of subtitle...
  • Chapters: count of chapters, list of chapters...

MediaInfo (GUI or Cmd) is an user interface and a proof of concept for MediaInfo library (Lib or Dll). MediaInfo can be used in your own program without any difficulties, with a static or dynamic library interface. An object containing information about a media file. MediaInfo objects can be created by directly calling code from libmediainfo (in this case, the library must be present on the system): pymediainfo.MediaInfo.parse('/path/to/file.mp4') Alternatively, objects may be created from MediaInfo’s. MediaINFO Digital Library is currently serving clients with varied needs and organizational profiles such as National Libraries, University Libraries, Specialized Libraries, Publishers, Archives. Here's how I get the media info via code (Python). Save this to a file with a py extension (e.g. Mediainfo.py) then run it with the name of a video file as a parameter. Import os import re import subprocess def execCmd(cmd='): return subprocess.checkoutput(cmd, shell=True).decode.splitlines class MediaInfo(object): ' Runs MediaInfo.exe and arranges the output in a more code-friendly way. Home Browse Browse. Explainer video about MediaINFO Digital Library Arabic, 26. 2016; Challenges of Digital Libraries - Part 1: Browsing, Filtering and Searching Explained Arabic, 26.

MediaInfo analyticals include:

  • Container: MPEG-4, QuickTime, Matroska, AVI, MPEG-PS (including unprotected DVD), MPEG-TS (including unprotected Blu-ray), MXF, GXF, LXF, WMV, FLV, Real...
  • Tags: Id3v1, Id3v2, Vorbis comments, APE tags...
  • Video: MPEG-1/2 Video, H.263, MPEG-4 Visual (including DivX, XviD), H.264/AVC, H.265/HEVC, FFV1...
  • Audio: MPEG Audio (including MP3), AC3, DTS, AAC, Dolby E, AES3, FLAC...
  • Subtitles: CEA-608, CEA-708, DTVCC, SCTE-20, SCTE-128, ATSC/53, CDP, DVB Subtitle, Teletext, SRT, SSA, ASS, SAMI...

MediaInfo features include:

  • Read many video and audio file formats
  • View information in different formats (text, sheet, tree, HTML...)
  • Customise these viewing formats
  • Export information as text, CSV, HTML...
  • Graphical user interface, command line interface, or library (.dll/.so/.dylib) versions available
  • Integrate with the shell (drag 'n' drop, and Context menu)
  • Internationalisation: display any language on any operating system
  • Localisation capability (for which volunteers are needed - please contact us!)
MediaInfo
MediaInfo 0.7.37 graphical user interface running on Windows 7
Original author(s)Jérôme Martinez
Initial release28 December 2002; 18 years ago
Stable release
Repository
Written inPascal, C++
Operating systemLinux, Microsoft Windows, macOS, Android, iOS
Size4.5 MB
Available in37 languages[2]
Albanian, Arabic, Armenian, Basque, Belarusian, Brazilian Portuguese, Bulgarian, Catalan, Chinese (Simplified), Chinese (Traditional), Croatian, Czech, Danish, Dutch, English, French, Galician, Georgian, Greek, Hungarian, Italian, Japanese, Korean, Lithuanian, Persian, Polish, Portuguese, Romanian, Russian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian.
LicenseSimplified BSD License[3]
Websitemediaarea.net/MediaInfo

MediaInfo is a free, cross-platform and open-source program that displays technical information about media files, as well as tag information for many audio and video files. It is used in many programs such as XMedia Recode, MediaCoder, eMule, and K-Lite Codec Pack.[4] It can be easily integrated into any program using a supplied MediaInfo.dll. MediaInfo supports popular video formats (e.g. Matroska, WebM, AVI, WMV, QuickTime, Real, DivX, XviD) as well as lesser known or emerging formats.[5] In 2012 MediaInfo 0.7.57 was also distributed in the PortableApps format.[6]

MediaInfo provides a command-line interface for displaying the provided information on all supported platforms. Additionally, a GUI for viewing the information on Microsoft Windows and macOS is provided.

Technical information[edit]

MediaInfo reveals information such as:

  • General: Title, author, director, album, track number, date, duration
  • Video: codec, aspect ratio, framerate, bitrate
  • Audio: codec, sample rate, channels, language, bitrate
  • Text: subtitle language
  • Chapters: numbers of chapters, list of chapters[7]

MediaInfo 0.7.51 and newer retrieve codec information optionally from tags or by computation. Thus in the case of misleading tags erroneous codec information may be presented.

MediaInfo installer was previously bundled with 'OpenCandy'. However, you were able continue the installation process without installing it.[8] This is no more the case since April 2016.

Supported input formats[edit]

MediaInfo supports just about any video and audio file including:

  • Video: MXF, MKV, OGM, AVI, DivX, WMV, QuickTime, RealVideo, Mpeg-1, MPEG-2, MPEG-4, DVD-Video (VOB), DivX, XviD, MSMPEG4, ASP, H.264 (Mpeg-4 AVC)
  • Audio: OGG, MP3, WAV, RealAudio, AC3, DTS, AAC, M4A, AU, AIFF
  • Subtitles: SRT, SSA, ASS, SAMI[7]

Supported operating systems[edit]

Mediainfo Library

MediaInfo supports Microsoft Windows XP or later, macOS, Android,[9]iOS (iPhone / iPad)[10]Solaris and many Linux and BSD distributions.[11] MediaInfo also provides source code so essentially any operating system or platform can be supported. An old version 0.7.60 for Windows 95 to 2000 exists.[11]

There is a Doom9 thread for MediaInfo developers also covering simplified[12] and modified[13] implementations.[14]

Licensing[edit]

Up to version 0.7.62 the MediaInfo library was licensed under the GNU Lesser General Public License, while GUI and CLI were provided under the terms of the GNU General Public License. Starting with version 0.7.63 the project switched to a BSD 2-clause license ('Simplified BSD License').[15][16]

See also[edit]

Mediainfo library could not be loaded
  • FFmpeg command line tool ffprobe

References[edit]

  1. ^'Release 21.03'. 27 March 2021. Retrieved 16 April 2021.
  2. ^'Language.csv'. Github. Retrieved 17 September 2019.
  3. ^'LICENSE'. Github. Retrieved 17 September 2019.
  4. ^'K-Lite Codec Pack 10.3.5 Full, Standard and Basic'. free-codecs.com. 2014-02-28. Retrieved 2014-02-28.
  5. ^'MediaInfo 0.7.67-1'. free-codecs.com. 2014-01-11. Retrieved 2014-02-28.
  6. ^'MediaInfo Portable 0.7.57 Development Test 1'. PortableApps. 2012-05-12. Retrieved 2014-02-28.
  7. ^ abMediaInfo About Page
  8. ^http://mediaarea.net/en/MediaInfo/powered_by_opencandy
  9. ^MediaInfo for Android
  10. ^MediaInfo for iOS
  11. ^ abMediaInfo Download Page
  12. ^'Mulder MediaInfo (CLI+GUI)'. SourceForge project muldersoft. 2013-12-20. Retrieved 2013-12-29.
  13. ^Dirk Paehl (2013-12-11). 'Versionen von DP MediaInfo 32/64Bit'. Archived from the original on 2013-12-30. Retrieved 2013-12-29.
  14. ^'MediaInfo(Lib) 0.7 - Reading information about media files'. Doom9. 2005. Retrieved 2013-12-29.
  15. ^Change log on MediaInfo website
  16. ^MediaInfo(Lib) License on MediaInfo website
Library

External links[edit]

Wikimedia Commons has media related to MediaInfo.

Mediainfo Writing Library

  • MediaInfo at Open Hub

Mediainfo Java Library

Retrieved from 'https://en.wikipedia.org/w/index.php?title=MediaInfo&oldid=1019668928'