1MEDIAINFO(1)                     User Commands                    MEDIAINFO(1)
2
3
4

NAME

6       MediaInfo - command line utility to display information about
7       audio/video files
8
9       MediaInfo-Gui - graphical utility to display information about
10       audio/video files
11

SYNOPSIS

13       mediainfo [-Options...] FileName1 [Filename2...]
14       mediainfo --Inform=FMT FileName
15       mediainfo-gui [-Options...] FileName1 [Filename2...]
16       mediainfo-gui --Inform=FMT FileName
17

DESCRIPTION

19       MediaInfo supplies technical and tag information about a video or audio
20       file
21
22       What information can I get from MediaInfo?
23
24       - General: title, author, director, album, track number, date,
25       duration...
26       - Video: codec, aspect, fps, bitrate...
27       - Audio: codec, sample rate, channels, language, bitrate...
28       - Text: language of subtitle
29       - Chapters: number of chapters, list of chapters
30
31       What format does MediaInfo support?
32
33       - Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2,
34       MPEG-4, DVD (VOB)...
35       - Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...
36       - Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
37       - Subtitles: SRT, SSA, ASS, SAMI...
38
39       What can I do with it?
40
41       - Read many video and audio file formats
42       - View information in different formats (text, sheet, tree, HTML...)
43       - Customise these viewing formats
44       - Export information as text, CSV, HTML...
45       - Graphical Interface, Command Line, or library versions available
46

OPTIONS

48       MediaInfo supports the following case-insensitive options:
49
50       --Help, -h
51           Display help and exit
52
53       --Help-Inform
54           Display help for --Inform option
55
56       --Help-AnOption
57           Display help for "AnOption"
58
59       --Version
60           Display MediaInfo version and exit
61
62       --Full, -f
63           Full information Display (all internal tags)
64
65       --Output=HTML
66           Full information Display with HTML tags
67
68       --Output=XML
69           Full information Display with XML tags
70
71       --Output=OLDXML
72           Full information Display with XML tags using the older MediaInfo
73           schema
74
75       --Output=JSON
76           Full information Display using JSON
77
78       --Output=EBUCore
79           Full information Display with EBUCore compliant XML tags
80
81       --Output=EBUCore_JSON
82           Full information Display with EBUCore 1.8 compliant JSON
83
84       --Output=PBCore
85           Full information Display with PBCore compliant XML tags
86
87       --Output=PBCore2
88           Full information Display with PBCore 2.0 compliant XML tags
89
90       --Inform=FMT
91           Template defined information display.
92
93           FMT is "[xxx;]Text", where xxx can be any one of General, Video,
94           Audio, Text, Chapter, Image, or Menu. Text can be the template
95           text, or a filename in the form of file:///path
96
97           See --Info-Parameters for available parameters in the text.
98           Parameters must be surrounded by "%".
99
100       --Info-Parameters
101           Display list of --Inform parameters
102
103       --Language=raw
104           Display non-translated unique identifiers (internal text)
105
106       --LogFile=LogFile
107           Save the output in LogFile
108

EXAMPLES

110   Display information about a video file
111        $ mediainfo foo.mkv
112
113   Display aspect ratio
114        $ mediainfo --Inform="Video;%DisplayAspectRatio%" foo.mkv
115        $ mediainfo --Inform="Video;file://Video.txt" foo.mkv
116
117       Both forms are equivalent if Video.txt contains:
118        %DisplayAspectRatio%
119
120   Display aspect ration and audio format
121        $ mediainfo --Inform="file://Text.txt foo.mkv
122
123       If Text.txt contains:
124
125       - "Video;%DisplayAspectRatio%"
126           Then the display aspect ratio is printed out.
127
128       - "Audio;%Format%"
129           Then the audio format is printed out.
130

AUTHOR

132       This manual page was written by Chow Loong Jin <hyperair@debian.org>
133       for the Debian system (but may be used by others). Permissions is
134       granted to copy, distribute, and/or modify this document under the
135       terms of the GNU General Public License, Version 3 or any later version
136       published by the Free Software Foundation.
137
138       On Debian systems, the full text of the GNU General Public License,
139       Version 3 can be found in /usr/share/common-licenses/GPL-3.
140
141
142
143MediaInfo 23.11                   2023-12-01                      MEDIAINFO(1)
Impressum