MediaInfo Command line,
MediaInfoLib - v26.10
Usage: "mediainfo [-Options...] FileName1 [Filename2...]"
Options:
--Help, -h
Display this help and exit
--Help-Output
Display help for Output= option
--Help-AnOption
Display help for "AnOption"
--Version
Display MediaInfo version and exit
--Full, -f
Full information Display (all internal tags)
--Output=HTML
Full information Display with HTML tags
--Output=XML
Full information Display with XML tags
--Output=OLDXML
Full information Display with XML tags using the older
MediaInfo schema
--Output=JSON
Full information Display with JSON
--Output=CSV
Full information Display with CSV
--Output=EBUCore
Full information Display with EBUCore compliant XML tags
--Output=EBUCore_JSON
Full information Display with EBUCore 1.8 compliant JSON
--Output=PBCore
Full information Display with PBCore compliant XML tags
--Output=PBCore2
Full information Display with PBCore 2.0 compliant XML tags
--Output=Graph_Svg
Graph Display with SVG
--Output=Graph_Dot
Graph Display with Graphviz DOT
--Info_OutputFormats
Display list of more --Output= parameters
--AcquisitionDataOutputMode=segmentParameter
Display Acquisition Data by segment then parameter (EBUCore
and NISO Z39.87 outputs)
--AcquisitionDataOutputMode=parameterSegment
Display Acquisition Data by parameter then segment (EBUCore
and NISO Z39.87 outputs)
--ExternalMetadata=...
Add external metadata to the output (EBUCore output)
--ExternalMetadataConfig=...
Output template for external metadata (EBUCore output)
--Info-Parameters
Display list of Inform= parameters
--HideParameter=...
Hide the specified field(s) from Text, CSV, HTML, XML and JSON output.
Value is StreamKind_FieldName (StreamKind is General, Video, Audio, Text,
Other, Image or Menu), comma-separated for multiple fields.
Example: --HideParameter=General_CodecID_Compatible
Note: overridden by --Full/-f, which always shows all fields.
--ShowParameter=...
Re-show (or force-show) the specified field(s), reversing --HideParameter
or a field's default visibility. Same value format as --HideParameter.
--Language=raw
Display non-translated unique identifiers (internal text)
--LegacyStreamDisplay=1
Display backward compatibility information for HD/HE audio and 3D/HDR video streams
--Cover_Data=base64
Include cover images as base64 in HTML, XML and JSON output
--Trace_Level=1, --Details=1
Output MediaTrace (https://mediaarea.net/MediaTrace).
Can be used with --Output=XML to output in MediaTrace XML.
--ParseSpeed=...
Control the balance between parsing speed and the amount of information extracted.
Value ranges from 0 to 1 where 1 is full parsing and the slowest.
The default is 0.5.
--inform_version=1
Add MediaInfoLib version to the text output
--inform_timestamp=1
Add report creation timestamp to the text output
--File_TestContinuousFileNames=0
Disable image sequence detection
--File_Duplicate=...
Duplicate streams from a stream having multiple substreams (MPEG-TS only).
See https://mediaarea.net/en/MediaInfo/Support/SDK/Duplicate for how to use.
Example: --File_Duplicate="file://output_file.ts;program_number=1" --File_IsSeekable=0
--Enable_FFmpeg=1
Enable FFmpeg plugin
--LogFile=...
Save the output in the specified file
--BOM
Byte order mark for UTF-8 output
--File_Curl;UserAgent=...
Set the User-Agent header field in the HTTP request sent to the remote server.
--Ssl_CertificateFileName=...
File name of the SSL certificate.
The default format is "PEM" and can be changed
with --Ssl_CertificateFormat.
--Ssl_CertificateFormat=...
File format of the SSL certificate.
Supported formats are "PEM" and "DER"
--Ssl_PrivateKeyFileName=...
File name of the SSL private key.
The default format is "PEM" and can be changed
with --Ssl_PrivateKeyFormat.
Note: private key with a password is not supported.
--Ssl_PrivateKeyFormat=...
File format of the SSL private key.
Supported formats are "PEM" and "DER"
--Ssl_CertificateAuthorityFileName=...
File name of the SSL certificate authorities
to verify the peer with.
--Ssl_CertificateAuthorityPath=...
Path of the SSL certificate authorities
to verify the peer with.
--Ssl_CertificateRevocationListFileName=...
File name of the SSL certificate revocation list.
The format is "PEM"
--Ssl_IgnoreSecurity=...
Does not verify the authenticity of the peer's certificate
Use it at your own risks
--Ssh_PublicKeyFileName=...
File name of the SSH private key.
Default is $HOME/.ssh/id_rsa.pub or $HOME/.ssh/id_dsa.pub
if the HOME environment variable is set, and just
"id_rsa.pub" or "id_dsa.pub" in the current directory
if HOME is not set.
Note: you need to set both public and private key.
--Ssh_PrivateKeyFileName=...
File name of the SSH private key.
Default is $HOME/.ssh/id_rsa or $HOME/.ssh/id_dsa
if the HOME environment variable is set, and just
"id_rsa" or "id_dsa" in the current directory
if HOME is not set.
Note: you need to set both public and private key.
Note: private key with a password is not supported.
--Ssh_KnownHostsFileName=...
File name of the known hosts
The format is the OpenSSH file format (libssh2)
Default is $HOME/.ssh/known_hosts
if the HOME environment variable is set, and just
"known_hosts" in the current directory
if HOME is not set.
--Ssh_IgnoreSecurity
Does not verify the authenticity of the peer
(you don't need to accept the key with ssh first)
Use it at your own risks
Options (37)
| Option | Description | Source |
|---|---|---|
--Help, -h | Display this help and exit | help |
--Help-Output | Display help for Output= option | help |
--Help-AnOption | Display help for "AnOption" | help |
--Version | Display MediaInfo version and exit | help |
--Full, -f | Full information Display (all internal tags) | help |
--Output HTML | Full information Display with HTML tags | help |
--Info_OutputFormats | Display list of more --Output= parameters | help |
--AcquisitionDataOutputMode segmentParameter | Display Acquisition Data by segment then parameter (EBUCore and NISO Z39.87 outputs) | help |
--ExternalMetadata ... | Add external metadata to the output (EBUCore output) | help |
--ExternalMetadataConfig ... | Output template for external metadata (EBUCore output) | help |
--Info-Parameters | Display list of Inform= parameters | help |
--HideParameter ... | Hide the specified field(s) from Text, CSV, HTML, XML and JSON output. | help |
--ShowParameter ... | Re-show (or force-show) the specified field(s), reversing --HideParameter or a field's default visibility. | help |
--Language raw | Display non-translated unique identifiers (internal text) | help |
--LegacyStreamDisplay 1 | Display backward compatibility information for HD/HE audio and 3D/HDR video streams | help |
--Cover_Data base64 | Include cover images as base64 in HTML, XML and JSON output | help |
--Trace_Level, --Details 1 | Output MediaTrace (https://mediaarea.net/MediaTrace). | help |
--ParseSpeed ... | Control the balance between parsing speed and the amount of information extracted. | help |
--inform_version 1 | Add MediaInfoLib version to the text output | help |
--inform_timestamp 1 | Add report creation timestamp to the text output | help |
--File_TestContinuousFileNames 0 | Disable image sequence detection | help |
--File_Duplicate ... | Duplicate streams from a stream having multiple substreams (MPEG-TS only). | help |
--Enable_FFmpeg 1 | Enable FFmpeg plugin | help |
--LogFile ... | Save the output in the specified file | help |
--BOM | Byte order mark for UTF-8 output | help |
--Ssl_CertificateFileName ... | File name of the SSL certificate. | help |
--Ssl_CertificateFormat ... | File format of the SSL certificate. | help |
--Ssl_PrivateKeyFileName ... | File name of the SSL private key. | help |
--Ssl_PrivateKeyFormat ... | File format of the SSL private key. | help |
--Ssl_CertificateAuthorityFileName ... | File name of the SSL certificate authorities to verify the peer with. | help |
--Ssl_CertificateAuthorityPath ... | Path of the SSL certificate authorities to verify the peer with. | help |
--Ssl_CertificateRevocationListFileName ... | File name of the SSL certificate revocation list. | help |
--Ssl_IgnoreSecurity ... | Does not verify the authenticity of the peer's certificate Use it at your own risks | help |
--Ssh_PublicKeyFileName ... | File name of the SSH private key. | help |
--Ssh_PrivateKeyFileName ... | File name of the SSH private key. | help |
--Ssh_KnownHostsFileName ... | File name of the known hosts The format is the OpenSSH file format (libssh2) Default is $HOME/.ssh/known_hosts if the HOME environment variable is set, and just "known_hosts" in the current directory… | help |
--Ssh_IgnoreSecurity | Does not verify the authenticity of the peer (you don't need to accept the key with ssh first) Use it at your own risks | help |