Install Media Tools Linux

11
pdfcrowd.com open in browser PRO version Are you a developer? Try out the HTML to PDF API Welcome Guest Sign In | Register Islamic Home Mian Channu Islamic News Poetry Videos Kitchen Corner Articles Politicians Contact Us How To Install Ffmpeg, Mplayer, Mencoder, Flvtool2, Yamdi, X264 On Centos Published On 02 Aug, 2010 11:02 AM by jhonka in FFMpeg, , This installation are full and complete installation for latest release of ffmpeg/mplayer/x264 and other module on 28-12-2009 and tested working on Centos 5.3 x86_64 or rhel server, below installation work for major media script. Edit the /etc/ld.so.conf file and add the following lines vi /etc/ld.so.conf /usr/local/lib /usr/lib then run : ldconfig Installing libraries add rpmforge or dag repos for yum: RHEL5 / CentOS-5 for i386: wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm rpm -ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpm for x86_64: wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm rpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm for PPC: wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.ppc.rpm rpm -ivh rpmforge-release-0.5.1-1.el5.rf.ppc.rpm Run the below command yum install zlib-devel automake autoconf gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++ gcc4-gfortran gcc-c++ mesa-libGL-devel mesa-libGLU-devel libXi-devel libXmu-devel freeglut-devel freeglut libtool ncurses-devel Vote for Pakistan

description

media tools

Transcript of Install Media Tools Linux

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Welcome Guest

    Sign In | Register Islamic

    Home Mian Channu Islamic News Poetry Videos Kitchen Corner Articles Politicians Contact Us

    How To Install Ffmpeg, Mplayer, Mencoder, Flvtool2, Yamdi, X264 On Centos

    Published On 02 Aug, 2010 11:02 AM by jhonka in FFMpeg, ,

    This installation are full and complete installation for latest release of ffmpeg/mplayer/x264 and othermodule on 28-12-2009 and tested working on Centos 5.3 x86_64 or rhel server, below installation workfor major media script.

    Edit the /etc/ld.so.conf file and add the following lines

    vi /etc/ld.so.conf

    /usr/local/lib/usr/lib

    then run : ldconfig

    Installing libraries

    add rpmforge or dag repos for yum:

    RHEL5 / CentOS-5

    for i386:wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpmrpm -ivh rpmforge-release-0.5.1-1.el5.rf.i386.rpmfor x86_64:wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpmrpm -ivh rpmforge-release-0.5.1-1.el5.rf.x86_64.rpmfor PPC:wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.ppc.rpmrpm -ivh rpmforge-release-0.5.1-1.el5.rf.ppc.rpm

    Run the below command

    yum install zlib-devel automake autoconf gcc gmake make libcpp libgcc libstdc++ gcc4 gcc4-c++gcc4-gfortran gcc-c++ mesa-libGL-devel mesa-libGLU-devel libXi-devel libXmu-devel freeglut-develfreeglut libtool ncurses-devel

    Vote for Pakistan

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    install yasm 0.8.0

    cd /usr/local/srcwget http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gztar zxvf yasm-0.8.0.tar.gzcd yasm-0.8.0./configuremake && make install

    Installing opencore-amrcd ..wget http://sourceforge.net/projects/opencore-amr/files/opencore-amr/0.1.2/opencore-amr-0.1.2.tar.gz/downloadtar zxvf opencore-amr-0.1.2.tar.gzcd opencore-amr-0.1.2./configure && make && make install

    Installing libraw1394cd ..wget http://www.kernel.org/pub/linux/libs/ieee1394/libraw1394-1.3.0.tar.gztar zxfv libraw1394-1.3.0.tar.gzcd libraw1394-1.3.0./configuremake devmake && make install

    Installing libdc1394This project requires libraw1394, you must build it first.cd ..wget http://sourceforge.net/projects/libdc1394/files/libdc1394/1.2.2/libdc1394-1.2.2.tar.gz/downloadwget http://sourceforge.net/projects/libdc1394/files/libdc1394-2/2.1.2/libdc1394-2.1.2.tar.gz/downloadtar zxvf libdc1394-1.2.2.tar.gztar zxvf libdc1394-2.1.2.tar.gzcd libdc1394-1.2.2./configuremake && make installcd ../libdc1394-2.1.2./configuremake && make install

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Installing FAAD2cd ..wget http://downloads.sourceforge.net/faac/faad2-2.6.1.tar.gztar zxf faad2-2.6.1.tar.gzcd faad2autoreconf -vif./configuremake && make install

    Installing FAACcd ..wget http://downloads.sourceforge.net/faac/faac-1.26.tar.gztar zxfv faac-1.26.tar.gzcd faac./bootstrap./configure --disable-mp4v2make && make install

    Installing libmp3lamecd ..wget http://sourceforge.net/projects/lame/files/lame/3.98.2/lame-398-2.tar.gz/downloadtar zxvf lame-398-2.tar.gzcd lame-398-2./configuremake && make install

    Installing OpenJPEGcd ..wget http://openjpeg.googlecode.com/files/openjpeg_v1_3.tar.gztar zxvf openjpeg_v1_3.tar.gzcd OpenJPEG_v1_3make && make install

    Installing liboggcd ..wget http://downloads.xiph.org/releases/ogg/libogg-1.1.4.tar.gz tar zvxf libogg-1.1.4.tar.gzcd libogg-1.1.4./configure

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    make && make install

    Installing libvorbiscd ..wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.tar.gztar zvxf libvorbis-1.2.3.tar.gzcd libvorbis-1.2.3./configuremake && make install

    Installing vorbistoolcd ..wget http://downloads.xiph.org/releases/vorbis/vorbis-tools-1.2.0.tar.gztar zvxf vorbis-tools-1.2.0.tar.gzcd vorbis-tools-1.2.0./configuremake && make install

    Installing libtheoracd ..wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2tar jvxf libtheora-1.1.1.tar.bz2cd libtheora-1.1.1./configuremake && make install

    Installing libspeexcd ..wget http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gztar zvxf speex-1.2rc1.tar.gzcd speex-1.2rc1./configuremake && make install

    Installing Xvidcd ..wget http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.gztar zvxf xvidcore-1.2.2.tar.gzcd xvidcore/build/generic./configuremake && make install

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Installing gpac & MP4Boxcd ..wget http://downloads.sourceforge.net/gpac/gpac-0.4.5.tar.gzwget http://downloads.sourceforge.net/gpac/gpac_extra_libs-0.4.5.tar.gztar zxvf gpac-0.4.5.tar.gztar zxvf gpac_extra_libs-0.4.5.tar.gzcd gpaccp -r ../gpac_extra_libs/* extra_lib/chmod +x configure./configuremake libmake appsmake install-libmake installcp bin/gcc/libgpac.so /usr/lib

    Installing latest x264Make sure you installed yasm 0.7.0 or higher, and installed gi.

    Well Git is getting more popular these days. If you need to build ffmpeg in a pinch you might need it.Steps to getting GIT 1.6.4 is latest as of this writing

    cd ..cd /usr/local/srcwget http://kernel.org/pub/software/scm/git/git-1.6.4.tar.gztar -xvzf git-1.6.4.tar.gzcd git-1.6.4./configuremakemake installwhereis gitgit: /usr/local/bin/git

    Installing x264

    git clone git://git.videolan.org/x264.gitcd x264./configure --enable-pthread --enable-mp4-output --enable-sharedmakemake install

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Installing flvtool2 & yamdiYou need ruby to be installed before installing flvtool2, please do as following if you on cpanel server/scripts/installruby

    if on other server please use:cd ..wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.6.8.tar.gztar zxvf ruby-1.6.8.tar.gz cd ruby-1.6.8./configuremake && make install

    ignore above step if you have ruby install on your server.

    install flvtool2:cd ..wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgztar xvzf flvtool2-1.0.6.tgzcd flvtool2-1.0.6/ruby setup.rb configruby setup.rb setupruby setup.rb install

    install yamdi:cd ..yum install yamdi

    OR

    cd ..cd /usr/local/srcwget http://downloads.sourceforge.net/project/yamdi/yamdi/1.4/yamdi-1.4.tar.gz?use_mirror=nchctar -zxvf yamdi-1.4.tar.gzcd yamdi-1.4gcc yamdi.c -o yamdi -O2 -Wallmv yamdi /usr/bin/

    Installing FFMPEGafter library installed please run : ldconfig -v

    get and download ffmpeg using svn, make sure you install subversion first before begin, a tutorial forinstalling subversion is:

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    use yum for this for installation:Code:

    root@server [~]# yum install subversion

    and then you may get this error:Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion

    please do this if you get that error:

    wget ftp://ftp.icm.edu.pl/vol/rzm1/linux-centos/5.3/os/i386/CentOS/perl-URI-1.35-3.noarch.rpm rpm -i perl-URI-1.35-3.noarch.rpm

    compile from source:

    wget http://subversion.tigris.org/downloa...n-1.4.6.tar.gzwget http://subversion.tigris.org/downloa...s-1.4.6.tar.gz

    tar -xzvf subversion-1.4.6.tar.gztar -xzvf subversion-deps-1.4.6.tar.gzcd subversion-1.4.6

    ./configure --prefix=$HOME --without-berkeley-db --with-ssl --with-editor=/usr/bin/vim --without-apxs --without-apachemakemake install

    Installing FFMpegsvn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpegcd ffmpegmkdir /usr/local/src/tmpchmod 777 /usr/local/src/tmpexport TMPDIR=/usr/local/src/tmp./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libopenjpeg --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlibmake && make install

    Installing Mplayer & Mencoder

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    cd ..cd /usr/local/src/wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2tar xjvf essential-20071007.tar.bz2mv /usr/local/src/essential-20071007/ /usr/local/lib/codecs/chmod -R 755 /usr/local/lib/codecs/

    cd /usr/local/src/wget http://www1.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2tar jxvf all-20071007.tar.bz2mv /usr/local/src/all-20071007/ /usr/local/lib/codecs/chmod -R 755 /usr/local/lib/codecs/

    cd ..svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayercd /usr/local/src/mplayersvn updatecd mplayer./configuremake && make install

    Installing mediainfocd ..wget http://downloads.sourceforge.net/zenlib/libzen0-0.4.9-1.x86_64.CentOS_5.rpmrpm -ivh libzen0-0.4.9-1.x86_64.CentOS_5.rpmwget http://downloads.sourceforge.net/mediainfo/libmediainfo0-0.7.26-1.x86_64.CentOS_5.rpmrpm -ivh libmediainfo0-0.7.26-1.x86_64.CentOS_5.rpmwget http://downloads.sourceforge.net/mediainfo/mediainfo-0.7.26-1.x86_64.CentOS_5.rpmrpm -ivh mediainfo-0.7.26-1.x86_64.CentOS_5.rpm

    Installing neroAacEnccd ..wget ftp://ftp6.nero.com/tools/NeroDigitalAudio.zipunzip NeroDigitalAudio.zip -d nerocd nero/linuxsudo install -D -m755 neroAacEnc /usr/local/bin

    Installing ffmpeg-php

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    cd ..wget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2/downloadtar jxvf ffmpeg-php-0.6.0.tbz2cd ffmpeg-php-0.6.0phpize./configuremakemake install

    add below line to your php.ini

    extension=ffmpeg.so

    you can find your php.ini path using:

    php -i | grep php.ini

    save and restart your apache/httpd.Error:

    /root/ffmpeg-php-0.5.0/ffmpeg_frame.c:495: error: PIX_FMT_RGBA32 undeclared (first use in thisfunction)make: *** [ffmpeg_frame.lo] Error 1

    Fix:

    1. Open the file /root/ffmpeg-php-0.5.0/ffmpeg_frame.c using vi editor.2. Go to the line you are getting this error. [In this example, line #495].3. Execute the following command.

    Press ESC and :%s/PIX_FMT_RGBA32/PIX_FMT_RGB32

    4. Save the file and recompile it once again.

    to check installed module:

    which php ffmpeg mplayer mencoder flvtool2 yamdi MP4Box neroAacEnc mediainfo

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Similar Islamic Articles

    How To Install Ffmpeg, Mplayer, Mencoder, Flvtool2, Yamdi, X264 OnCentos 02 Aug, 2010 11:02 AM

    Upgrade PHP 5.1.6 To 5.2.x On CentOS 5 29 Apr, 2010 13:34 PM

    Install Ffmpeg Qt-faststart 09 May, 2010 01:30 AM

    Bring Back Jinnah's Pakistan 08 Jun, 2010 22:21 PM

    PHP MySQL Arabic Text Insertion 18 Aug, 2010 11:27 AM

    PHP Cronjob With Parameters 20 Apr, 2011 00:24 AM

    Removing HTML, PHP , XML Tags From A String 21 Jul, 2011 11:54 AM

    How To Configure The Apache Mod_rewrite Module 10 Jan, 2011 00:19 AM

    Installing PHP 5.3.3 On CentOS 5.5 Tutorial 21 Jul, 2011 11:54 AM

    CentOS 6 Network Configuration In Minimal 14 Mar, 2012 01:14 AM

    Post Your CommentKindly login to post your comment.

    Comments

    Add New Article

    Articles by Categories

    Pakistan

    Quaid-e-Azam (1)

    Programming

    PHP (10)

    FFMpeg (3)

    Mian Channu Baba mian ChannuInterviews Personalities

    Mian ChannuIslamic (Q & A) News PoetryGo To: Contact Us

    Who we are?

    Total Members: 88 Active Members: 0 Active Guests: 3 Total : 3 Online:

  • pdfcrowd.comopen in browser PRO version Are you a developer? Try out the HTML to PDF API

    Interviews PersonalitiesCity Directory City Photo GalleryNews Archives Emergency Number

    Videos Politicians Articles

    Kitchen Corner More...

    Advertise With Us

    Report a Bug / Error

    Contact Us