{
    "content": [
        {
            "type": "text",
            "text": "# mediainfo(1) (man)\n\n**Summary:** MediaInfo - command line utility to display information about audio/video files  MediaInfo-Gui - graphical utility to display information about audio/video files\n\n**Synopsis:** mediainfo [-Options...] FileName1 [Filename2...]\nmediainfo --Inform=FMT FileName\nmediainfo-gui [-Options...] FileName1 [Filename2...]\nmediainfo-gui --Inform=FMT FileName\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | --Help-Inform | — | Display help for --Inform option |\n| — | --Help-AnOption | — | Display help for \"AnOption\" |\n| — | --Version | — | Display MediaInfo version and exit --Full, -f Full information Display (all internal tags) |\n| — | --Output | HTML | Full information Display with HTML tags |\n| — | --Output | XML | Full information Display with XML tags |\n| — | --Inform | FMT | Template defined information display. FMT is \"[xxx;]Text\", where xxx can be any one of General, Video, Audio, Text, Chap |\n| — | --Info-Parameters | — | Display list of --Inform parameters |\n| — | --Language | raw | Display non-translated unique identifiers (internal text) --LogFile=LLooggFFiillee Save the output in LogFile |\n\n## Examples\n\n- `$ mediainfo foo.mkv`\n- `$ mediainfo --Inform=\"Video;%DisplayAspectRatio%\" foo.mkv`\n- `$ mediainfo --Inform=\"Video;file://Video.txt\" foo.mkv`\n- `Both forms are equivalent if Video.txt contains:`\n- `%DisplayAspectRatio%`\n- `$ mediainfo --Inform=\"file://Text.txt foo.mkv`\n- `If Text.txt contains:`\n- `- \"Video;%DisplayAspectRatio%\"`\n- `Then the display aspect ratio is printed out.`\n- `- \"Audio;%Format%\"`\n- `Then the audio format is printed out.`\n\n## Section Outline\n\n- **NAME** (4 lines)\n- **SYNOPSIS** (5 lines)\n- **DESCRIPTION** (25 lines)\n- **OPTIONS** (5 lines) — 8 subsections\n  - --Help-Inform (2 lines)\n  - --Help-AnOption (2 lines)\n  - --Version (5 lines)\n  - --Output=HTML (2 lines)\n  - --Output=XML (2 lines)\n  - --Inform=FMT (8 lines)\n  - --Info-Parameters (2 lines)\n  - --Language=raw (5 lines)\n- **EXAMPLES** (1 lines) — 3 subsections\n  - Display information about a video file (2 lines)\n  - Display aspect ratio (6 lines)\n  - Display aspect ration and audio format (10 lines)\n- **AUTHOR** (11 lines)\n\n## Full Content\n\n### NAME\n\nMediaInfo - command line utility to display information about audio/video files\n\nMediaInfo-Gui - graphical utility to display information about audio/video files\n\n### SYNOPSIS\n\nmediainfo [-Options...] FileName1 [Filename2...]\nmediainfo --Inform=FMT FileName\nmediainfo-gui [-Options...] FileName1 [Filename2...]\nmediainfo-gui --Inform=FMT FileName\n\n### DESCRIPTION\n\nMediaInfo supplies technical and tag information about a video or audio file\n\nWhat information can I get from MediaInfo?\n\n- General: title, author, director, album, track number, date, duration...\n- Video: codec, aspect, fps, bitrate...\n- Audio: codec, sample rate, channels, language, bitrate...\n- Text: language of subtitle\n- Chapters: number of chapters, list of chapters\n\nWhat format does MediaInfo support?\n\n- Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2, MPEG-4, DVD (VOB)...\n- Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...\n- Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...\n- Subtitles: SRT, SSA, ASS, SAMI...\n\nWhat can I do with it?\n\n- Read many video and audio file formats\n- View information in different formats (text, sheet, tree, HTML...)\n- Customise these viewing formats\n- Export information as text, CSV, HTML...\n- Graphical Interface, Command Line, or library versions available\n\n### OPTIONS\n\nMediaInfo supports the following case-insensitive options:\n\n--Help, -h\nDisplay help and exit\n\n#### --Help-Inform\n\nDisplay help for --Inform option\n\n#### --Help-AnOption\n\nDisplay help for \"AnOption\"\n\n#### --Version\n\nDisplay MediaInfo version and exit\n\n--Full, -f\nFull information Display (all internal tags)\n\n#### --Output=HTML\n\nFull information Display with HTML tags\n\n#### --Output=XML\n\nFull information Display with XML tags\n\n#### --Inform=FMT\n\nTemplate defined information display.\n\nFMT is \"[xxx;]Text\", where xxx can be any one of General, Video, Audio, Text, Chapter,\nImage, or Menu. Text can be the template text, or a filename in the form of file:///path\n\nSee --Info-Parameters for available parameters in the text. Parameters must be surrounded\nby \"%\".\n\n#### --Info-Parameters\n\nDisplay list of --Inform parameters\n\n#### --Language=raw\n\nDisplay non-translated unique identifiers (internal text)\n\n--LogFile=LLooggFFiillee\nSave the output in LogFile\n\n### EXAMPLES\n\n#### Display information about a video file\n\n$ mediainfo foo.mkv\n\n#### Display aspect ratio\n\n$ mediainfo --Inform=\"Video;%DisplayAspectRatio%\" foo.mkv\n$ mediainfo --Inform=\"Video;file://Video.txt\" foo.mkv\n\nBoth forms are equivalent if Video.txt contains:\n%DisplayAspectRatio%\n\n#### Display aspect ration and audio format\n\n$ mediainfo --Inform=\"file://Text.txt foo.mkv\n\nIf Text.txt contains:\n\n- \"Video;%DisplayAspectRatio%\"\nThen the display aspect ratio is printed out.\n\n- \"Audio;%Format%\"\nThen the audio format is printed out.\n\n### AUTHOR\n\nThis manual page was written by Chow Loong Jin <hyperair@debian.org> for the Debian system\n(but may be used by others). Permissions is granted to copy, distribute, and/or modify this\ndocument under the terms of the GNU General Public License, Version 3 or any later version\npublished by the Free Software Foundation.\n\nOn Debian systems, the full text of the GNU General Public License, Version 3 can be found in\n/usr/share/common-licenses/GPL-3.\n\n\n\nMediaInfo 0.7.52                             2022-04-03                                 MEDIAINFO(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "mediainfo",
        "section": "1",
        "mode": "man",
        "summary": "MediaInfo - command line utility to display information about audio/video files  MediaInfo-Gui - graphical utility to display information about audio/video files",
        "synopsis": "mediainfo [-Options...] FileName1 [Filename2...]\nmediainfo --Inform=FMT FileName\nmediainfo-gui [-Options...] FileName1 [Filename2...]\nmediainfo-gui --Inform=FMT FileName",
        "flags": [
            {
                "flag": "",
                "long": "--Help-Inform",
                "arg": null,
                "description": "Display help for --Inform option"
            },
            {
                "flag": "",
                "long": "--Help-AnOption",
                "arg": null,
                "description": "Display help for \"AnOption\""
            },
            {
                "flag": "",
                "long": "--Version",
                "arg": null,
                "description": "Display MediaInfo version and exit --Full, -f Full information Display (all internal tags)"
            },
            {
                "flag": "",
                "long": "--Output",
                "arg": "HTML",
                "description": "Full information Display with HTML tags"
            },
            {
                "flag": "",
                "long": "--Output",
                "arg": "XML",
                "description": "Full information Display with XML tags"
            },
            {
                "flag": "",
                "long": "--Inform",
                "arg": "FMT",
                "description": "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 \"%\"."
            },
            {
                "flag": "",
                "long": "--Info-Parameters",
                "arg": null,
                "description": "Display list of --Inform parameters"
            },
            {
                "flag": "",
                "long": "--Language",
                "arg": "raw",
                "description": "Display non-translated unique identifiers (internal text) --LogFile=LLooggFFiillee Save the output in LogFile"
            }
        ],
        "examples": [
            "$ 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."
        ],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 25,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 5,
                "subsections": [
                    {
                        "name": "--Help-Inform",
                        "lines": 2,
                        "long": "--Help-Inform"
                    },
                    {
                        "name": "--Help-AnOption",
                        "lines": 2,
                        "long": "--Help-AnOption"
                    },
                    {
                        "name": "--Version",
                        "lines": 5,
                        "long": "--Version"
                    },
                    {
                        "name": "--Output=HTML",
                        "lines": 2,
                        "long": "--Output",
                        "arg": "HTML"
                    },
                    {
                        "name": "--Output=XML",
                        "lines": 2,
                        "long": "--Output",
                        "arg": "XML"
                    },
                    {
                        "name": "--Inform=FMT",
                        "lines": 8,
                        "long": "--Inform",
                        "arg": "FMT"
                    },
                    {
                        "name": "--Info-Parameters",
                        "lines": 2,
                        "long": "--Info-Parameters"
                    },
                    {
                        "name": "--Language=raw",
                        "lines": 5,
                        "long": "--Language",
                        "arg": "raw"
                    }
                ]
            },
            {
                "name": "EXAMPLES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Display information about a video file",
                        "lines": 2
                    },
                    {
                        "name": "Display aspect ratio",
                        "lines": 6
                    },
                    {
                        "name": "Display aspect ration and audio format",
                        "lines": 10
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 11,
                "subsections": []
            }
        ]
    }
}