xuggle-ffmpeg on CentOS

hello all -

i was successful at installing xuggle-ffmpeg on my CentOS server. xuggle-ffmpeg is the "swiss-army-knife" of media conversion that runs on the server end!

attached are the exact steps below to install it. note that you can also install it on a home-based CentOS linux just to try it out.
 

Attachments

Quags

Administrator
Staff member
Here is the attachment (also a test of the new mod_security rules)

Code:
yum  --assumeyes install gcc-c++  ; 
 yum  --assumeyes install patch ; 
 yum  --assumeyes install subversion  ; 
 yum  --assumeyes install make ; 
 
##   y a s m  
 cd  ~ ; mkdir  yasm  ;  cd  yasm ; 
 curl http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz > yasm-1.2.0.tar.gz ; gzip -dc yasm-1.2.0.tar.gz | tar -xvf -  ; 
 cd yasm-1.2.0 ; 
  ./configure ;  make;  make check;  make  install ; 
  which yasm ; 
  yasm  --version ; 
  
##   j a v a 
###   got java from  http://www.oracle.com/technetwork/java/javase/downloads/index.html 
###   http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u30-download-1377139.html 
 
JAVABIN=jdk-6u30-linux-x64.bin ; 
TMPJAVAPATH=jdk1.6.0_30; 
 
 cd  ~ ;  mkdir  java; cd java; 
 curl  http://download.oracle.com/otn-pub/java/jdk/6u30-b12/$JAVABIN   >  $JAVABIN ; 
 chmod  777 $JAVABIN ;  
 ./$JAVABIN  <<END;   ## gotta feed the carriage return acknowledgement 
 
END 
 mkdir /usr/local/java ; # change directory 
 mv ./$TMPJAVAPATH/ /usr/local/java/ ;  
 export PATH=/usr/local/java/$TMPJAVAPATH/bin:$PATH ;  echo  $PATH ; 
 export JAVA_HOME=/usr/local/java/$TMPJAVAPATH/; 
 which java ; 
 java  -version ; 
##  a n t 
 cd ~; mkdir  ant ;cd  ant ;   mkdir /usr/local/ant; # new directory 
 curl http://download.nextag.com/apache//ant/binaries/apache-ant-1.8.3-bin.tar.gz > apache-ant-1.8.3-bin.tar.gz ; 
 gunzip  -dc  apache-ant-1.8.3-bin.tar.gz | tar -xvf  -  ;  
 mv ./apache-ant-1.8.3/ /usr/local/ant ; 
 export PATH=$PATH:/usr/local/ant/apache-ant-1.8.3/bin ; 
 which ant ; 
 ant ;  ## should complain about a missing xml file 
 
### x u g g l e 
  export XUGGLE_HOME=/usr/local/xuggler  ; 
  export PATH=$XUGGLE_HOME/bin:$PATH   ; 
  export LD_LIBRARY_PATH=$XUGGLE_HOME/lib:$LD_LIBRARY_PATH   ; 
  mkdir  /usr/local/xuggler ; 
  cd  ~ ;  mkdir  xuggle ; cd  xuggle ; 
  echo '/usr/local/xuggler/lib' > /etc/ld.so.conf.d/xuggler.conf ; ldconfig  -v ; 
  svn checkout http://xuggle.googlecode.com/svn/trunk/java/xuggle-xuggler xuggle-xuggler  ; 
   
  cd  xuggle-xuggler ; 
  ant ; 
  ant  run-tests ; 
  ant stage ; 
  ant install ; 
  which ffmpeg ; 
  ffmpeg  -version ;
 
Top