linux svn ffmpeg php,FFmpeg&FFmpeg-php

*****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_p_w_picpath.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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值