Действия

CentOS 6 - установка flvtool2, mencoder, mplayer, ffmpeg, mediainfo, MP4box, neroAacEnc

Материал из Wiki - Iphoster - 'the best ever support'

Самые выгодные сервера в рунете

CentOS 6 - установка flvtool2, mencoder, mplayer, ffmpeg, mediainfo, MP4box, neroAacEnc

Установка flvtool2, mencoder, mplayer, ffmpeg, mediainfo:

# yum install flvtool2 mencoder mplayer ffmpeg mediainfo

Установка mp4box

#   yum -y install freeglut  freeglut-devel gcc gcc-c++ autoconf automake zlib-devel zlib
#  cd /usr/local/src/
# wget http://repo.bstack.net/mp4box/gpac-0.4.5.tar.gz
#  wget http://repo.bstack.net/mp4box/gpac_extra_libs-0.4.5.tar.gz
#  cd gpac_extra_libs
#  tar -zxvf gpac-0.4.5.tar.gz
#  tar -zxvf gpac_extra_libs-0.4.5.tar.gz
#   cd gpac_extra_libs
#  cp -prf * /usr/local/src/gpac/extra_lib
#   cd ..
#   cd gpac
#   chmod 755 configure
#   ./configure
#   make lib
#   make apps
#   make install lib
#   make install
#   which MP4Box
#  cp -prf bin/gcc/libgpac.so /usr/lib64
#  which MP4Box
#  ldconfig
#   /usr/local/bin/MP4Box -version
#  which MP4Box
/usr/local/bin/MP4Box
#  /usr/local/bin/MP4Box -version
MP4Box - GPAC version 0.4.5 (build 33)
GPAC Copyright: (c) Jean Le Feuvre 2000-2005
               (c) ENST 2005-200X


установка neroAacEnc:

# cd /usr/local/src/
#  wget -c http://ftp6.nero.com/tools/NeroDigitalAudio.zip
#   unzip NeroDigitalAudio.zip -d nero
#   cd nero/linux
#   ls
#   sudo install -D -m755 neroAacEnc /usr/local/bin
#  yum install libstdc++.i686
# /usr/local/bin/neroAacEnc
*************************************************************
*                                                           *
*  Nero AAC Encoder                                         *
*  Copyright 2008 Nero AG                                   *
*  All Rights Reserved Worldwide                            *
*                                                           *
*  Package build date: Sep 17 2008                          *
*  Package version:    1.3.3.0                              *
*                                                           *
*  See -help for a complete list of available parameters.   *
*                                                           *
*************************************************************
ERROR: no input file specified


Проверяем пути к бинарным файлам:

# which ffmpeg mplayer mencoder flvtool2 php mediainfo MP4Box neroAacEnc
/usr/bin/ffmpeg
/usr/bin/mplayer
/usr/bin/mencoder
/usr/bin/flvtool2
/usr/bin/php
/usr/bin/mediainfo
/usr/local/bin/MP4Box
/usr/local/bin/neroAacEnc