Centos5 x86_64位系统
所需软件:
libmediainfo0-0.7.49-1.x86_64.RHEL_5.rpm
libmediainfo0-devel-0.7.49-1.x86_64.RHEL_5.rpm
libzen0-0.4.20-1.x86_64.CentOS_5.rpm
libzen0-devel-0.4.20-1.x86_64.CentOS_5.rpm
mediainfo-0.7.49-1.x86_64.CentOS_5.rpm
zlib-1.2.3-4.el5.x86_64.rpm
zlib-devel-1.2.3-4.el5.x86_64.rpm
1、安装zlib库
rpm -ivh zlib-1.2.3-4.el5.x86_64.rpm
rpm -ivh zlib-devel-1.2.3-4.el5.x86_64.rpm
2、安装libzen0
rpm -ivh libzen0-0.4.20-1.x86_64.CentOS_5.rpm
rpm -ivh libzen0-devel-0.4.20-1.x86_64.CentOS_5.rpm
3、安装libmediainfo
rpm -ivh libmediainfo0-0.7.49-1.x86_64.RHEL_5.rpm
rpm -ivh libmediainfo0-devel-0.7.49-1.x86_64.RHEL_5.rpm
4、安装mediainfo
rpm -ivh mediainfo-0.7.49-1.x86_64.CentOS_5.rpm
[root@mediainfo]# mediainfo
Usage: "MediaInfo [-Options...] FileName1 [Filename2...]"
"MediaInfo --Help" for displaying more information
[root@sfp8 mediainfo]# mediainfo -h
MediaInfo Command line,
MediaInfoLib - v0.7.49
Usage: "MediaInfo [-Options...] FileName1 [Filename2...]"
Options:
--Help, -h Display this help and exit
--Help-Inform Display help for Inform= 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
--Inform=... Template defined information Display
--Info-Parameters Display list of Inform= parameters
--Language=raw Display non-translated unique identifiers (internal text)
--LogFile=... Save the output in the specified file
[root@mediainfo]#
因为没有下载到libzen0的0.4.23版本,所以不能用此方法安装mediainfo的0.7.51版。
转载于:https://blog.51cto.com/gaizaoren/732273