DOKK / manpages / debian 12 / mediainfo / mediainfo.1.en
MEDIAINFO(1) User Commands MEDIAINFO(1)

MediaInfo - command line utility to display information about audio/video files

MediaInfo-Gui - graphical utility to display information about audio/video files

MediaInfo supplies technical and tag information about a video or audio file

What information can I get from MediaInfo?

What format does MediaInfo support?

What can I do with it?

MediaInfo supports the following case-insensitive options:

Display help and exit
Display help for --Inform option
Display help for "AnOption"
Display MediaInfo version and exit
Full information Display (all internal tags)
Full information Display with HTML tags
Full information Display with XML tags
Template defined information display.

FMT is "[xxx;]Text", where xxx can be any one of General, Video, Audio, Text, Chapter, Image, or Menu. Text can be the template text, or a filename in the form of file:///path

See --Info-Parameters for available parameters in the text. Parameters must be surrounded by "%".

Display list of --Inform parameters
Display non-translated unique identifiers (internal text)
Save the output in LogFile

 $ mediainfo foo.mkv

 $ mediainfo --Inform="Video;%DisplayAspectRatio%" foo.mkv
 $ mediainfo --Inform="Video;file://Video.txt" foo.mkv

Both forms are equivalent if Video.txt contains:
%DisplayAspectRatio%

 $ mediainfo --Inform="file://Text.txt foo.mkv

If Text.txt contains:

- "Video;%DisplayAspectRatio%"
Then the display aspect ratio is printed out.
- "Audio;%Format%"
Then the audio format is printed out.

This manual page was written by Chow Loong Jin <hyperair@debian.org> for the Debian system (but may be used by others). Permissions is granted to copy, distribute, and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.

On Debian systems, the full text of the GNU General Public License, Version 3 can be found in /usr/share/common-licenses/GPL-3.

2023-05-02 MediaInfo 0.7.52