This page intentionally left blank. ⬇️, ➡️, or spacebar 🛰 to start slidedeck.
"MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files." (From the MediaInfo website)
MediaInfo is a metadata extraction tool. It neatly displays technical and tag information for many types of files, with a focus on audio/video.
Matroska (mkv/mka/mks) Ogg (ogg/ogm) Riff (avi/wav) Mpeg 1&2 container (mpeg/mpg/vob) Mpeg 4 container (mp4) Mpeg video specific (mpgv/mpv/m1v/m2v) Mpeg audio specific (mp2/mp3) Windows Media (asf/wma/wmv) Quicktime (qt/mov) Real (rm/rmvb/ra) DVD-Video (ifo) AC3 (ac3) DTS (dts) AAC (aac) Monkey's Audio (ape/mac) |
Flac (flac) CDXA, like Video-CD (dat) Apple/SGI (aiff/aifc) Sun/NeXT (au) Amiga IFF/SVX8/SV16 (iff) Ensoniq PARIS (paf) Sound Designer 2 (sd2) Berkeley/IRCAM/CARL (irca) SoundFoundry WAVE 64 (w64) Matlab (mat) Portable Voice format (pvf) FastTracker2 Extanded (xi) Midi Sample dump Format (sds) Audio Visual Research (avr) |
source -- MediaInfo official website
source -- MediaInfo official website
source -- MediaInfo official website
Input formats:
Export formats:
source -- MediaInfo official website
Works on all popular operating systems: Windows, macOS, and major Linux flavors (Ubuntu, Mint, RHEL/CentOS, Fedora, SuSE, Solaris, maybe more). And if not, binaries are available and the sourcecode is online.
Downloads page: https://mediaarea.net/en/MediaInfo/Download
Can also be downloaded via Homebrew or Linxubrew.
Available as a command line interface, graphical user interface, or API/library.
Bindings are available C, C++, C#/Mono, VB.net, Python, Java, JavaScript, Ruby, and probably more.
MediaInfo is open source under a BSD-2-Clause License. It can be used or modified, and re-used in open source or closed source software.
MediaInfo is easily integrated as a microservice into workflows, and can easily be wrapped in a simple script as an automated service.
It's as easy as mediainfo file.mkv
!
And much more. See mediainfo -h
for the manpage.
General Unique ID : 216146348446563005301353248875103189802 (0xA29C45C1884826066521D86C6288FB2A) Complete name : new_file.mkv Format : Matroska Format version : Version 4 / Version 2 File size : 1.16 MiB Duration : 10 s 0 ms Overall bit rate : 977 kb/s Writing application : Lavf57.83.100 Writing library : Lavf57.83.100 ErrorDetectionType : Per level 1
Video ID : 1 Format : FFV1 Format version : Version 0 Codec ID : V_MS/VFW/FOURCC / FFV1 Duration : 10 s 0 ms Width : 720 pixels Height : 576 pixels Display aspect ratio : 5:4 Frame rate mode : Constant Frame rate : 25.000 FPS Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Compression mode : Lossless Writing library : Lavc57.107.100 ffv1 Default : Yes Forced : No DURATION : 00:00:10.000000000 coder_type : Golomb Rice
Audio ID : 2 Format : PCM Codec ID : A_PCM/INT/LIT Duration : 10 s 0 ms Bit rate mode : Constant Channel(s) : 1 channel Sampling rate : 48.0 kHz Bit depth : 16 bits Writing library : Lavc57.107.100 pcm_s16le Default : Yes Forced : No DURATION : 00:00:10.000000000
If the above results still aren't enough for you, you can use the -f
flag. f
is short for FULL!
mediainfo -f new_file.mkv
By default, MediaInfo displays results in text format on screen. But other formats can be specified, like HTML, XML, PBCore, EBUCore, or PBCore 2.1.
Like this:
mediainfo --Output=XML new_file.mkv
MediaTrace is a way to get binary analysis of files. It can be accessed via MediaInfo like this:
mediainfo --Details=1 new_file.mkv
Just like MediaInfo, by default, it exports as text. You can specify XML with the --Output=XML
flag.
If your computer has permission restrictions or you cannot install software on it for other reasons, you can still test and use MediaInfo using a browser-based version: https://mediaarea.net/MediaInfoOnline
Do you need a test file? You can make one with FFmpeg:
ffmpeg -f lavfi -i smptebars=size=720x576:rate=25 -f lavfi -i "sine=frequency=1000:sample_rate=48000" -c:a pcm_s16le -t 10 -c:v v210 new_file.mov
Keyboard shortcuts
↑, ←, Pg Up, k | Go to previous slide |
↓, →, Pg Dn, Space, j | Go to next slide |
Home | Go to first slide |
End | Go to last slide |
Number + Return | Go to specific slide |
b / m / f | Toggle blackout / mirrored / fullscreen mode |
c | Clone slideshow |
p | Toggle presenter mode |
t | Restart the presentation timer |
?, h | Toggle this help |
Esc | Back to slideshow |