MediaInfo is a free, cross-platform and open-source program that displays technical information about media files, as well as tag information for many audio and video files. It is used in many programs such as XMedia Recode, MediaCoder, eMule, and K-Lite Codec Pack.
Read more: https://en.wikipedia.org/wiki/MediaInfo
Step 1: install mediainfo
apt-cyg install mediainfo
Result:
$ apt-cyg install mediainfo Installing mediainfo --2024-02-21 20:52:16-- http://cygwin.mirror.constant.com//x86_64/release/media Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.8 HTTP request sent, awaiting response... 200 OK Length: 22260 (22K) [application/octet-stream] Saving to: ‘mediainfo-17.12-1.tar.xz’ mediainfo-17.12-1.tar.xz 100%[====================== 2024-02-21 20:52:17 (69.3 KB/s) - ‘mediainfo-17.12-1.tar.xz’ saved [22260/22260] mediainfo-17.12-1.tar.xz: OK Unpacking... Package mediainfo installed
Step 2: install dependencies
$ apt-cyg install libgcc1 Package libgcc1 is already installed, skipping $ apt-cyg install libstdc++6 Package libstdc++6 is already installed, skipping $ apt-cyg install libmediainfo0 Installing libmediainfo0 --2024-02-21 20:54:11-- http://cygwin.mirror.constant.com//x86_64/release/libmediainfo/libmediainfo0/libmediainfo0-17.12-1.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1861984 (1.8M) [application/octet-stream] Saving to: ‘libmediainfo0-17.12-1.tar.xz’ libmediainfo0-17.12 100%[===================>] 1.78M 303KB/s in 6.5s 2024-02-21 20:54:19 (281 KB/s) - ‘libmediainfo0-17.12-1.tar.xz’ saved [1861984/1861984] libmediainfo0-17.12-1.tar.xz: OK Package libmediainfo0 installed $ apt-cyg install libzen0 Installing libzen0 --2024-02-21 20:54:27-- http://cygwin.mirror.constant.com//x86_64/release/libzen/libzen0/libzen0-0.4.37-1.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 73128 (71K) [application/octet-stream] Saving to: ‘libzen0-0.4.37-1.tar.xz’ libzen0-0.4.37-1.ta 100%[===================>] 71.41K 106KB/s in 0.7s 2024-02-21 20:54:28 (106 KB/s) - ‘libzen0-0.4.37-1.tar.xz’ saved [73128/73128] libzen0-0.4.37-1.tar.xz: OK Unpacking... Package libzen0 installed $ apt-cyg install libmetalink Installing libmetalink Unable to locate package libmetalink $ apt-cyg install zlib0 Package zlib0 is already installed, skipping $ apt-cyg install libtinyxml2_6 Installing libtinyxml2_6 --2024-02-21 20:56:29-- http://cygwin.mirror.constant.com//x86_64/release/tinyxml2/libtinyxml2_6/libtinyxml2_6-6.0.0-1.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... 108.61.5.83 Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)|108.61.5.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 19596 (19K) [application/octet-stream] Saving to: ‘libtinyxml2_6-6.0.0-1.tar.xz’ libtinyxml2_6-6.0.0 100%[===================>] 19.14K 67.2KB/s in 0.3s 2024-02-21 20:56:30 (67.2 KB/s) - ‘libtinyxml2_6-6.0.0-1.tar.xz’ saved [19596/19596] libtinyxml2_6-6.0.0-1.tar.xz: OK Unpacking... Package libtinyxml2_6 installed $ apt-cyg install libcurl4 Package libcurl4 is already installed, skipping
Done!, check:
$ mediainfo Usage: "mediainfo [-Options...] FileName1 [Filename2...]" "mediainfo --Help" for displaying more information