CentOS6 安装mediainfo

MediaInfo supplies technical and tag information about a video or audio file.

First lets grab the rpms. From the download page download the rpms that are appropriate for your platform. My system is CentOS 5 x_64 in the following example:

mkdir /usr/local/src/mediainfo cd /usr/local/src/mediainfo #libzen0 wget http://downloads.sourceforge.net/zenlib/libzen0-0.4.22-1.x86_64.CentOS_5.rpm #libmediainfo0 wget http://downloads.sourceforge.net/mediainfo/libmediainfo0-0.7.50-1.x86_64.CentOS_5.rpm #CLI wget http://downloads.sourceforge.net/mediainfo/mediainfo-0.7.50-1.x86_64.CentOS_5.rpm
Once downloaded, install them via the following commands:

rpm -i libzen0-0.4.22-1.x86_64.CentOS_5.rpm rpm -i libmediainfo0-0.7.50-1.x86_64.CentOS_5.rpm rpm -i mediainfo-0.7.50-1.x86_64.CentOS_5.rpm
安装完成上述命令以后。在

[root@cdn bin]# clear
[root@cdn bin]# ll /bin/media*
-rwxrwxrwx 1 root root 47208 Apr 24  2012 /bin/mediainfo

查看到mediainfo执行文件。

输入mediainfo --help.

如果提示成功,则下面步骤就不需要了。

如果发现/lib/zlib.os.1: bad ELF interpreter: No such file or directory 错误。

可以尝试升级glibc。

sudo yum install glibc.i686 。

 ll /usr/lib64/libstd*

 rpm -qf /usr/lib64/libstdc++.so.6  

 yum install libstdc++.so.6


你可能感兴趣的:(CentOS6 安装mediainfo)