FFmpeg&FFmpeg-php

相关参考链接:http://www.ffmpeg.com.cn
http://yinshaohua1973.spaces.live.com/blog/cns!C114308FE484BF80!156.entry  \\如何让ffmpeg支持VC1格式
http://dev.firnow.com/course/6_system/linux/Linuxjs/20071027/80295.html  \\CentOS ffmpeg安装

FFMPEG安装,

*****Prerequisites for Building*******
yum --enablerepo=remi -y install gcc gcc-c++ automake autoconf libtool git svn

SDL
yum --enablerepo=remi -y install SDL.x86_64 SDL-devel.x86_64 SDL_image.x86_64  SDL_net.x86_64 SDL_ttf.x86_64

nasm
yum --enablerepo=remi -y install nasm.x86_64 yasm.x86_64 nasm-rdoff.x86_64 yasm-devel.x86_64

LAME
http://lame.sourceforge.net/
http://sourceforge.net/projects/lame/files/lame/3.98.4/lame-3.98.4.tar.gz/download

xvid
http://www.xvid.org/
http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.gz
#
cd xvidcore/build/generic

faac
http://www.audiocoding.com/downloads.html
http://downloads.sourceforge.net/faac/faac-1.28.tar.gz
./configure --with-mp4v2=no

x264
http://www.videolan.org/developers/x264.html
#
yum erase ffmpeg x264 faad
yum install zlib-devel libmad-devel libvorbis-devel libtheora-devel freetype-devel
git clone git://git.videolan.org/x264.git
cd x264
./configure --enable-shared
#
#
libopencore-amrnb
http://sourceforge.net/projects/opencore-amr/
configure && make && make install

mpeg4ip
-----编译安装-----
yum -y install libmp4v2.x86_64 libmp4v2-devel.x86_64
http://mpeg4ip.sourceforge.net/documentation/index.php#windoze
./bootstrap
make
-----rpm安装-------
#wget http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/fc4/i386/RPMS.dries/mpeg4ip-1.5.0.1-1.fc4.rf.i386.rpm
#rpm -ivh --nodeps --force mpeg4ip-1.5.0.1-1.fc4.rf.i386.rpm

ffmpeg
svn export svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
http://ffmpeg.org/index.html
http://ffmpeg.org/releases/ffmpeg-0.6.1.tar.bz2
#
./configure --prefix=/usr/local/ffmpeg --enable-memalign-hack \
--enable-libmp3lame \
--enable-shared \
--enable-zlib \
--enable-gpl \
--enable-libxvid \
--enable-libopencore-amrnb \
--enable-version3 \
--enable-libx264 \
--enable-libfaac \
--enable-nonfree

***********FFmpeg x264 encoding guide***************
http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/
ffmpeg  -y -i 26.wmv  -an -pass 1 -vcodec libx264 -vpre slow_firstpass  -threads 3.3gp

FFmpeg-php 的安装
http://ffmpeg-php.sourceforge.net
svn co https://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php ffmpeg-php
cd ffmpeg-php/trunk/ffmpeg-php
./configure --enable-shared --with-php-config=/usr/local/php5/bin/php-config --with-ffmpeg=/usr/local/ffmpeg/

-------------+++++++++++++++-----------------------------

 # ffmpeg -codecs | grep amr
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
  built on Dec 17 2010 15:07:09 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
  configuration: --prefix=/usr/local --enable-memalign-hack --enable-libmp3lame --enable-shared --enable-zlib --enable-gpl --enable-libxvid --enable-libopencore-amrnb --enable-version3 --enable-libx264 --enable-libfaac --enable-nonfree
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.11. 0 /  0.11. 0
 D A    amrnb           Adaptive Multi-Rate NarrowBand
 DEA    libopencore_amrnb OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band
 
 

你可能感兴趣的:(职场,ffmpeg,休闲)