是什么 ? | : | a command-line tool to display the most relevant technical and tag data for image/audio/video files. |
开发语言 | : | C + C++ |
官方主页 | : | https://mediaarea.net |
操作系统 | 包管理器 | 安装命令 |
---|---|---|
Windows | scoop | scoop install mediainfo |
Windows | Chocolatey | choco install -y mediainfo-cli |
macOS | HomeBrew | brew install media-info |
GNU/Linux | HomeBrew | brew install media-info |
apt | sudo apt-get install -y mediainfo | |
CentOS | yum | sudo yum install -y mediainfo |
dnf | sudo dnf install -y mediainfo | |
openSUSE | zypper | sudo zypper install -y mediainfo |
Alpine Linux | apk | sudo apk add mediainfo |
pacman | sudo pacman -Syyu --noconfirm | |
Gentoo Linux | Portage | sudo emerge mediainfo |
mediainfo
命令的使用格式如下:
mediainfo [options] <filePath | URL>
示例:
mediainfo 小苹果高清完整版本.rmvb
mediainfo https://s3.amazonaws.com/x265.org/video/Tears_400_x265.mp4
运行效果: