mediainfo
1.1、mediainfo简介
是什么 ?:a command-line tool to display the most relevant technical and tag data for image/audio/video files.
开发语言:C + C++
官方主页:https://mediaarea.net
1.2、通过包管理器安装mediainfo
操作系统包管理器安装命令
Windowsscoopscoop install mediainfo
WindowsChocolateychoco install -y mediainfo-cli
macOSHomeBrewbrew install media-info
GNU/LinuxHomeBrewbrew install media-info
aptsudo apt-get install -y mediainfo
CentOSyumsudo yum install -y mediainfo
dnfsudo dnf install -y mediainfo
openSUSEzyppersudo zypper install -y mediainfo
Alpine Linuxapksudo apk add mediainfo

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm mediainfo
Gentoo LinuxPortagesudo emerge mediainfo
1.3、通过编译源码安装mediainfo
1.4、mediainfo命令

mediainfo命令的使用格式如下:

mediainfo [options] <filePath | URL>

示例:

mediainfo 小苹果高清完整版本.rmvb
mediainfo https://s3.amazonaws.com/x265.org/video/Tears_400_x265.mp4

运行效果: