ffmpeg relocation error

没有任何configure的,估计是直接make make install的。

root@ubuntu:/home/zhangbin/Documents/ffmpeg-0.6.1# ./ffmpeg

FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers

  built on Jan  7 2011 06:54:42 with gcc 4.4.3

  configuration: 

  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

Hyper fast Audio and Video encoder

usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

 

Use -h to get full help or, even better, run 'man ffmpeg'

 

 

我编译的ffmpeg是来自于svn的,估计比0.6.1稍微新一点。0.6.1还是2010呢。

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ./ffmpeg

FFmpeg version SVN-r26268, Copyright (c) 2000-2011 the FFmpeg developers

  built on Jan  8 2011 09:20:02 with gcc 4.4.3            一月份编译的

  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3

  libavutil     50.36. 0 / 50.36. 0

  libavcore      0.16. 0 /  0.16. 0

  libavcodec    52.107. 0 / 52.107. 0

  libavformat   52.92. 0 / 52.92. 0

  libavdevice   52. 2. 3 / 52. 2. 3

  libavfilter    1.72. 0 /  1.72. 0

  libswscale     0.12. 0 /  0.12. 0

Hyper fast Audio and Video encoder

usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

 

Use -h to get full help or, even better, run 'man ffmpeg'

 

 

root@ubuntu:/home/zhangbin/myfolder/deplib# apt-get install libvorbis

Reading package lists... Done

Building dependency tree       

Reading state information... Done

E: Couldn't find package libvorbis        后面应该加个dev

root@ubuntu:/home/zhangbin/myfolder/deplib# sudo apt-get install build-essential subversion git-core checkinstall yasm texi2html libfaac-dev libfaad-dev libMP3lame-dev libsdl1.2-dev libtheora-dev libx11-dev libxvidcore-dev zlib1g-dev

Reading package lists... Done

Building dependency tree       

Reading state information... Done

build-essential is already the newest version.

git-core is already the newest version.

checkinstall is already the newest version.

yasm is already the newest version.

texi2html is already the newest version.

libfaac-dev is already the newest version.

libfaad-dev is already the newest version.

libmp3lame-dev is already the newest version.

libsdl1.2-dev is already the newest version.

libtheora-dev is already the newest version.

libx11-dev is already the newest version.

libxvidcore-dev is already the newest version.

zlib1g-dev is already the newest version.

The following extra packages will be installed:

  libsvn1

Suggested packages:

  subversion-tools db4.8-util

The following packages will be upgraded:

  libsvn1 subversion

2 upgraded, 0 newly installed, 0 to remove and 229 not upgraded.

Need to get 1,209kB of archives.

 

 

 

After this operation, 0B of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main subversion 1.6.6dfsg-2ubuntu1.2 [370kB]

Get:2 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libsvn1 1.6.6dfsg-2ubuntu1.2 [839kB]

Fetched 1,209kB in 10s (114kB/s)                                                                

(Reading database ... 152152 files and directories currently installed.)

Preparing to replace subversion 1.6.6dfsg-2ubuntu1.1 (using .../subversion_1.6.6dfsg-2ubuntu1.2_i386.deb) ...

Unpacking replacement subversion ...

Preparing to replace libsvn1 1.6.6dfsg-2ubuntu1.1 (using .../libsvn1_1.6.6dfsg-2ubuntu1.2_i386.deb) ...

Unpacking replacement libsvn1 ...

Processing triggers for man-db ...

Setting up libsvn1 (1.6.6dfsg-2ubuntu1.2) ...

 

Setting up subversion (1.6.6dfsg-2ubuntu1.2) ...

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

 

自从上次修复了ffmpeg之后,参看以前的博文。

不管装什么,都会有这个提示。

/sbin/ldconfig.real: /usr/lib/libavfilter.so.1 is not a symbolic link


/sbin/ldconfig.real: /usr/lib/libavutil.so.50 is not a symbolic link


/sbin/ldconfig.real: /usr/lib/libavdevice.so.52 is not a symbolic link


/sbin/ldconfig.real: /usr/lib/libavcore.so.0 is not a symbolic link

 

root@ubuntu:/home/zhangbin/myfolder/deplib# 

 

 

 

git clone ,x264新版下了。没装。

root@ubuntu:/home/zhangbin/myfolder/deplib/x264-git-download# ls

root@ubuntu:/home/zhangbin/myfolder/deplib/x264-git-download# git clone git://git.videolan.org/x264.git

Initialized empty Git repository in /home/zhangbin/myfolder/deplib/x264-git-download/x264/.git/

remote: Counting objects: 13599, done.

remote: Compressing objects: 100% (4476/4476), done.

remote: Total 13599 (delta 11052), reused 11225 (delta 9082)

Receiving objects: 100% (13599/13599), 3.31 MiB | 69 KiB/s, done.

Resolving deltas: 100% (11052/11052), done

 

 

 

 

root@ubuntu:/home/zhangbin/myfolder/deplib# apt-get install libvorbis-dev

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following NEW packages will be installed:

  libvorbis-dev

0 upgraded, 1 newly installed, 0 to remove and 229 not upgraded.

Need to get 397kB of archives.

After this operation, 2,154kB of additional disk space will be used.

Get:1 http://Ubuntu.cn99.com/ubuntu/ lucid/main libvorbis-dev 1.2.3-3ubuntu1 [397kB]

Fetched 397kB in 3s (109kB/s)         

Selecting previously deselected package libvorbis-dev.

(Reading database ... 152152 files and directories currently installed.)

Unpacking libvorbis-dev (from .../libvorbis-dev_1.2.3-3ubuntu1_i386.deb) ...

Processing triggers for doc-base ...

Processing 1 added doc-base file(s)...

Registering documents with scrollkeeper...

Setting up libvorbis-dev (1.2.3-3ubuntu1) ...

root@ubuntu:/home/zhangbin/myfolder/deplib# 

 

 

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ./configure --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac  --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3  --enable-libx264 --enable-postproc --enable-libvpx --enable-libvorbis

ERROR: libvpx decoder version must be >=0.9.1

 

If you think configure made a mistake, make sure you are using the latest

version from SVN.  If the latest version fails, report the problem to the

[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.

Include the log file "config.log" produced by configure as this will help

solving the problem.

root@ubuntu:/home/zhangbin/Documents/ffmpeg# apt-get install libvpx

Reading package lists... Done

Building dependency tree       

Reading state information... Done

E: Couldn't find package libvpx

root@ubuntu:/home/zhangbin/Documents/ffmpeg# apt-get install libvpx*

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Note, selecting libvpx-dev for regex 'libvpx*'

Note, selecting libvpx-doc for regex 'libvpx*'

Note, selecting libvpb-dbg for regex 'libvpx*'

Note, selecting libvpb-dev for regex 'libvpx*'

Note, selecting libvpb-doc for regex 'libvpx*'

Note, selecting libvpb0 for regex 'libvpx*'

Note, selecting libvpx0 for regex 'libvpx*'

Note, selecting libvpx0-dbg for regex 'libvpx*'

The following extra packages will be installed:

  libvpb-dbg libvpb-dev libvpb-doc libvpb0 libvpx-dev libvpx-doc libvpx0 libvpx0-dbg

  module-assistant vpb-driver-source

Suggested packages:

  vpb-utils

The following NEW packages will be installed:

  libvpb-dbg libvpb-dev libvpb-doc libvpb0 libvpx-dev libvpx-doc libvpx0 libvpx0-dbg

  module-assistant vpb-driver-source

0 upgraded, 10 newly installed, 0 to remove and 229 not upgraded.

Need to get 14.7MB of archives.

After this operation, 28.1MB of additional disk space will be used.

Do you want to continue [Y/n]? n

Abort.

root@ubuntu:/home/zhangbin/Documents/ffmpeg# apt-get install libvpx-devel

Reading package lists... Done

Building dependency tree       

Reading state information... Done

E: Couldn't find package libvpx-devel

root@ubuntu:/home/zhangbin/Documents/ffmpeg# apt-get install libvpx-dev

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following extra packages will be installed:

  libvpx0

The following NEW packages will be installed:

  libvpx-dev libvpx0

0 upgraded, 2 newly installed, 0 to remove and 229 not upgraded.

Need to get 553kB of archives.

After this operation, 1,716kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libvpx0 0.9.5-2~build0.10.04.1 [237kB]

Get:2 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libvpx-dev 0.9.5-2~build0.10.04.1 [316kB]

Fetched 553kB in 4s (113kB/s)      

Selecting previously deselected package libvpx0.

(Reading database ... 152284 files and directories currently installed.)

Unpacking libvpx0 (from .../libvpx0_0.9.5-2~build0.10.04.1_i386.deb) ...

Selecting previously deselected package libvpx-dev.

Unpacking libvpx-dev (from .../libvpx-dev_0.9.5-2~build0.10.04.1_i386.deb) ...

Setting up libvpx0 (0.9.5-2~build0.10.04.1) ...

 

Setting up libvpx-dev (0.9.5-2~build0.10.04.1) ...

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

/sbin/ldconfig.real: /usr/lib/libavfilter.so.1 is not a symbolic link

 

/sbin/ldconfig.real: /usr/lib/libavutil.so.50 is not a symbolic link

 

/sbin/ldconfig.real: /usr/lib/libavdevice.so.52 is not a symbolic link

 

/sbin/ldconfig.real: /usr/lib/libavcore.so.0 is not a symbolic link

 

 

 

 

 

直接重新编译ffmpeg,x264还是用的以前的。没用新下载的。

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ./configure --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac  --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3  --enable-libx264 --enable-postproc --enable-libvpx --enable-libvorbis

install prefix            /usr/local

source path               /home/zhangbin/Documents/ffmpeg

C compiler                gcc

ARCH                      x86 (generic)

big-endian                no

runtime cpu detection     no

yasm                      yes

MMX enabled               yes

MMX2 enabled              yes

3DNow! enabled            yes

3DNow! extended enabled   yes

SSE enabled               yes

SSSE3 enabled             yes

CMOV enabled              no

CMOV is fast              no

EBX available             yes

EBP available             no

10 operands supported     yes

debug symbols             yes

strip symbols             yes

optimizations             yes

static                    yes

shared                    yes

postprocessing support    yes

new filter support        yes

network support           yes

threading support         pthreads

SDL support               yes

Sun medialib support      no

AVISynth enabled          no

frei0r enabled            no

libdc1394 support         no

libdirac enabled          no

libfaac enabled           yes

libgsm enabled            no

libmp3lame enabled        yes

libnut enabled            no

libopencore-amrnb support yes

libopencore-amrwb support yes

libopencv support         no

libopenjpeg enabled       no

librtmp enabled           no

libschroedinger enabled   no

libspeex enabled          no

libtheora enabled         yes

libvorbis enabled         yes

libvpx enabled            yes

libx264 enabled           yes

libxavs enabled           no

libxvid enabled           yes

zlib enabled              yes

bzlib enabled             no

 

Enabled decoders:

aac dsicinaudio mp3on4

aac_latm dsicinvideo mp3on4float

aasc dvbsub mpc7

ac3 dvdsub mpc8

adpcm_4xm dvvideo mpeg1video

adpcm_adx dxa mpeg2video

adpcm_ct eac3 mpeg4

adpcm_ea eacmv mpegvideo

adpcm_ea_maxis_xa eamad msmpeg4v1

adpcm_ea_r1 eatgq msmpeg4v2

adpcm_ea_r2 eatgv msmpeg4v3

adpcm_ea_r3 eatqi msrle

adpcm_ea_xas eightbps msvideo1

adpcm_g722 eightsvx_exp mszh

adpcm_g726 eightsvx_fib nellymoser

adpcm_ima_amv escape124 nuv

adpcm_ima_dk3 ffv1 pam

adpcm_ima_dk4 ffvhuff pbm

adpcm_ima_ea_eacs flac pcm_alaw

adpcm_ima_ea_sead flashsv pcm_bluray

adpcm_ima_iss flic pcm_dvd

adpcm_ima_qt flv pcm_f32be

adpcm_ima_smjpeg fourxm pcm_f32le

adpcm_ima_wav fraps pcm_f64be

adpcm_ima_ws frwu pcm_f64le

adpcm_ms gif pcm_lxf

adpcm_sbpro_2 gsm pcm_mulaw

adpcm_sbpro_3 gsm_ms pcm_s16be

adpcm_sbpro_4 h261 pcm_s16le

adpcm_swf h263 pcm_s16le_planar

adpcm_thp h263i pcm_s24be

adpcm_xa h264 pcm_s24daud

adpcm_yamaha huffyuv pcm_s24le

alac idcin pcm_s32be

als iff_byterun1 pcm_s32le

amrnb iff_ilbm pcm_s8

amrwb imc pcm_u16be

amv indeo2 pcm_u16le

anm indeo3 pcm_u24be

ansi indeo5 pcm_u24le

ape interplay_dpcm pcm_u32be

ass interplay_video pcm_u32le

asv1 jpegls pcm_u8

asv2 kgv1 pcm_zork

atrac1 kmvc pcx

atrac3 libopencore_amrnb pgm

aura libopencore_amrwb pgmyuv

aura2 libvpx pgssub

avs loco pictor

bethsoftvid mace3 png

bfi mace6 ppm

bink mdec ptx

binkaudio_dct mimic qcelp

binkaudio_rdft mjpeg qdm2

bmp mjpegb qdraw

c93 mlp qpeg

cavs mmvideo qtrle

cdgraphics motionpixels r10k

cinepak mp1 r210

cljr mp1float ra_144

cook mp2 ra_288

cscd mp2float rawvideo

cyuv mp3 rl2

dca mp3adu roq

dnxhd mp3adufloat roq_dpcm

dpx mp3float rpza

rv10 tiff vp6

rv20 tmv vp6a

rv30 truehd vp6f

rv40 truemotion1 vp8

sgi truemotion2 vqa

shorten truespeech wavpack

sipr tscc wmapro

smackaud tta wmav1

smacker twinvq wmav2

smc txd wmavoice

snow ulti wmv1

sol_dpcm v210 wmv2

sonic v210x wmv3

sp5x vb wnv1

srt vc1 ws_snd1

sunrast vcr1 xan_dpcm

svq1 vmdaudio xan_wc3

svq3 vmdvideo xl

targa vmnc xsub

theora vorbis yop

thp vp3 zlib

tiertexseqvideo vp5 zmbv

 

Enabled encoders:

a64multi libopencore_amrnb pcm_u24be

a64multi5 libtheora pcm_u24le

aac libvorbis pcm_u32be

ac3 libvpx pcm_u32le

ac3_fixed libx264 pcm_u8

adpcm_adx libxvid pcm_zork

adpcm_g722 ljpeg pcx

adpcm_g726 mjpeg pgm

adpcm_ima_qt mp2 pgmyuv

adpcm_ima_wav mpeg1video png

adpcm_ms mpeg2video ppm

adpcm_swf mpeg4 qtrle

adpcm_yamaha msmpeg4v1 ra_144

alac msmpeg4v2 rawvideo

ass msmpeg4v3 roq

asv1 nellymoser roq_dpcm

asv2 pam rv10

bmp pbm rv20

dnxhd pcm_alaw sgi

dvbsub pcm_f32be snow

dvdsub pcm_f32le sonic

dvvideo pcm_f64be sonic_ls

ffv1 pcm_f64le svq1

ffvhuff pcm_mulaw targa

flac pcm_s16be tiff

flashsv pcm_s16le v210

flv pcm_s24be vorbis

gif pcm_s24daud wmav1

h261 pcm_s24le wmav2

h263 pcm_s32be wmv1

h263p pcm_s32le wmv2

huffyuv pcm_s8 xsub

jpegls pcm_u16be zlib

libfaac pcm_u16le zmbv

libmp3lame

 

Enabled hwaccels:

 

Enabled parsers:

aac dvdsub mpeg4video

aac_latm flac mpegaudio

ac3 h261 mpegvideo

cavsvideo h263 pnm

dca h264 vc1

dirac mjpeg vp3

dnxhd mlp vp8

dvbsub

 

Enabled demuxers:

aac ipmovie pcm_u32be

ac3 iss pcm_u32le

aea iv8 pcm_u8

aiff ivf pva

amr lmlm4 qcp

anm lxf r3d

apc m4v rawvideo

ape matroska rl2

applehttp mjpeg rm

asf mlp roq

ass mm rpl

au mmf rso

avi mov rtp

avs mp3 rtsp

bethsoftvid mpc sap

bfi mpc8 sdp

bink mpegps segafilm

c93 mpegts shorten

caf mpegtsraw siff

cavsvideo mpegvideo smacker

cdg msnwc_tcp sol

daud mtv sox

dirac mvi spdif

dnxhd mxf srt

dsicin mxg str

dts nc swf

dv nsv thp

dxa nut tiertexseq

ea nuv tmv

ea_cdata ogg truehd

eac3 oma tta

ffm pcm_alaw tty

ffmetadata pcm_f32be txd

filmstrip pcm_f32le vc1

flac pcm_f64be vc1t

flic pcm_f64le vmd

flv pcm_mulaw voc

fourxm pcm_s16be vqf

g722 pcm_s16le w64

gsm pcm_s24be wav

gxf pcm_s24le wc3

h261 pcm_s32be wsaud

h263 pcm_s32le wsvqa

h264 pcm_s8 wtv

idcin pcm_u16be wv

iff pcm_u16le xa

image2 pcm_u24be yop

image2pipe pcm_u24le yuv4mpegpipe

ingenient

 

Enabled muxers:

a64 ipod pcm_s16le

ac3 m4v pcm_s24be

adts matroska pcm_s24le

aiff matroska_audio pcm_s32be

amr md5 pcm_s32le

asf mjpeg pcm_s8

asf_stream mlp pcm_u16be

ass mmf pcm_u16le

au mov pcm_u24be

avi mp2 pcm_u24le

avm2 mp3 pcm_u32be

cavsvideo mp4 pcm_u32le

crc mpeg1system pcm_u8

daud mpeg1vcd psp

dirac mpeg1video rawvideo

dnxhd mpeg2dvd rm

dts mpeg2svcd roq

dv mpeg2video rso

eac3 mpeg2vob rtp

ffm mpegts rtsp

ffmetadata mpjpeg sap

filmstrip mxf sox

flac mxf_d10 spdif

flv null srt

framecrc nut swf

framemd5 ogg tg2

g722 pcm_alaw tgp

gif pcm_f32be truehd

gxf pcm_f32le vc1t

h261 pcm_f64be voc

h263 pcm_f64le wav

h264 pcm_mulaw webm

image2 pcm_s16be yuv4mpegpipe

image2pipe

 

Enabled protocols:

concat mmst rtmpt

file pipe rtmpte

gopher rtmp rtp

http rtmpe tcp

md5 rtmps udp

mmsh

 

Enabled filters:

anull format scale

anullsink gradfun setdar

anullsrc hflip setpts

blackframe hqdn3d setsar

buffer noformat settb

color null slicify

copy nullsink transpose

crop nullsrc unsharp

cropdetect overlay vflip

drawbox pad yadif

fifo pixdesctest

 

Enabled bsfs:

aac_adtstoasc mjpeg2jpeg mp3_header_decompress

chomp mjpega_dump_header noise

dump_extradata mov2textsub remove_extradata

h264_mp4toannexb mp3_header_compress text2movsub

imx_dump_header

 

Enabled indevs:

alsa oss v4l2

dv1394 v4l x11_grab_device

 

Enabled outdevs:

alsa oss

 

License: nonfree and unredistributable

Creating config.mak and config.h...

libavutil/avconfig.h is unchanged

root@ubuntu:/home/zhangbin/Documents/ffmpeg# 

 

 

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffmpeg

FFmpeg version SVN-r26268, Copyright (c) 2000-2011 the FFmpeg developers

  built on Jan  8 2011 09:20:02 with gcc 4.4.3

  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3

  libavutil     50.36. 0 / 50.36. 0

  libavcore      0.16. 0 /  0.16. 0

  libavcodec    52.107. 0 / 52.107. 0

  libavformat   52.92. 0 / 52.92. 0

  libavdevice   52. 2. 3 / 52. 2. 3

  libavfilter    1.72. 0 /  1.72. 0

  libswscale     0.12. 0 /  0.12. 0

Hyper fast Audio and Video encoder

usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

 

Use -h to get full help or, even better, run 'man ffmpeg'

root@ubuntu:/home/zhangbin/Documents/ffmpeg# make install

INSTALL libavdevice/libavdevice.a

INSTALL libavdevice/libavdevice.so

STRIP install-libavdevice-shared

INSTALL libavfilter/libavfilter.a

INSTALL libavfilter/libavfilter.so

STRIP install-libavfilter-shared

INSTALL libavformat/libavformat.a

INSTALL libavformat/libavformat.so

STRIP install-libavformat-shared

INSTALL libavcodec/libavcodec.a

INSTALL libavcodec/libavcodec.so

STRIP install-libavcodec-shared

INSTALL libpostproc/libpostproc.a

INSTALL libpostproc/libpostproc.so

STRIP install-libpostproc-shared

INSTALL libswscale/libswscale.a

INSTALL libswscale/libswscale.so

STRIP install-libswscale-shared

INSTALL libavcore/libavcore.a

INSTALL libavcore/libavcore.so

STRIP install-libavcore-shared

INSTALL libavutil/libavutil.a

INSTALL libavutil/libavutil.so

STRIP install-libavutil-shared

INSTALL libavdevice/avdevice.h

INSTALL libavdevice/libavdevice.pc

INSTALL libavfilter/avfilter.h

INSTALL libavfilter/avfiltergraph.h

INSTALL libavfilter/libavfilter.pc

INSTALL libavformat/avformat.h

INSTALL libavformat/avio.h

INSTALL libavformat/libavformat.pc

INSTALL libavcodec/avcodec.h

INSTALL libavcodec/avfft.h

INSTALL libavcodec/dxva2.h

INSTALL libavcodec/opt.h

INSTALL libavcodec/vaapi.h

INSTALL libavcodec/vdpau.h

INSTALL libavcodec/xvmc.h

INSTALL libavcodec/libavcodec.pc

INSTALL libpostproc/postprocess.h

INSTALL libpostproc/libpostproc.pc

INSTALL libswscale/swscale.h

INSTALL libswscale/libswscale.pc

INSTALL libavcore/audioconvert.h

INSTALL libavcore/avcore.h

INSTALL libavcore/imgutils.h

INSTALL libavcore/parseutils.h

INSTALL libavcore/samplefmt.h

INSTALL libavcore/libavcore.pc

INSTALL libavutil/adler32.h

INSTALL libavutil/attributes.h

INSTALL libavutil/avassert.h

INSTALL libavutil/avstring.h

INSTALL libavutil/avutil.h

INSTALL libavutil/base64.h

INSTALL libavutil/bswap.h

INSTALL libavutil/common.h

INSTALL libavutil/cpu.h

INSTALL libavutil/crc.h

INSTALL libavutil/error.h

INSTALL libavutil/eval.h

INSTALL libavutil/fifo.h

INSTALL libavutil/file.h

INSTALL libavutil/intfloat_readwrite.h

INSTALL libavutil/intreadwrite.h

INSTALL libavutil/lfg.h

INSTALL libavutil/log.h

INSTALL libavutil/lzo.h

INSTALL libavutil/mathematics.h

INSTALL libavutil/md5.h

INSTALL libavutil/mem.h

INSTALL libavutil/opt.h

INSTALL libavutil/pixdesc.h

INSTALL libavutil/pixfmt.h

INSTALL libavutil/random_seed.h

INSTALL libavutil/rational.h

INSTALL libavutil/sha1.h

INSTALL libavutil/avconfig.h

INSTALL libavutil/libavutil.pc

INSTALL ffmpeg

INSTALL ffplay

INSTALL ffprobe

INSTALL ffserver

INSTALL install-libs

INSTALL ffpresets/libx264-baseline.ffpreset

INSTALL ffpresets/libx264-faster.ffpreset

INSTALL ffpresets/libx264-faster_firstpass.ffpreset

INSTALL ffpresets/libx264-fast.ffpreset

INSTALL ffpresets/libx264-fast_firstpass.ffpreset

INSTALL ffpresets/libx264-ipod320.ffpreset

INSTALL ffpresets/libx264-ipod640.ffpreset

INSTALL ffpresets/libx264-lossless_fast.ffpreset

INSTALL ffpresets/libx264-lossless_max.ffpreset

INSTALL ffpresets/libx264-lossless_medium.ffpreset

INSTALL ffpresets/libx264-lossless_slower.ffpreset

INSTALL ffpresets/libx264-lossless_slow.ffpreset

INSTALL ffpresets/libx264-lossless_ultrafast.ffpreset

INSTALL ffpresets/libx264-main.ffpreset

INSTALL ffpresets/libx264-medium.ffpreset

INSTALL ffpresets/libx264-medium_firstpass.ffpreset

INSTALL ffpresets/libx264-placebo.ffpreset

INSTALL ffpresets/libx264-placebo_firstpass.ffpreset

INSTALL ffpresets/libx264-slower.ffpreset

INSTALL ffpresets/libx264-slower_firstpass.ffpreset

INSTALL ffpresets/libx264-slow.ffpreset

INSTALL ffpresets/libx264-slow_firstpass.ffpreset

INSTALL ffpresets/libx264-superfast.ffpreset

INSTALL ffpresets/libx264-superfast_firstpass.ffpreset

INSTALL ffpresets/libx264-ultrafast.ffpreset

INSTALL ffpresets/libx264-ultrafast_firstpass.ffpreset

INSTALL ffpresets/libx264-veryfast.ffpreset

INSTALL ffpresets/libx264-veryfast_firstpass.ffpreset

INSTALL ffpresets/libx264-veryslow.ffpreset

INSTALL ffpresets/libx264-veryslow_firstpass.ffpreset

INSTALL doc/ffmpeg.1

INSTALL doc/ffplay.1

INSTALL doc/ffprobe.1

INSTALL doc/ffserver.1

root@ubuntu:/home/zhangbin/Documents/ffmpeg# 

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffmpeg

FFmpeg version SVN-r26268, Copyright (c) 2000-2011 the FFmpeg developers

  built on May 11 2011 18:19:54 with gcc 4.4.3

  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3 --enable-libx264 --enable-postproc --enable-libvpx --enable-libvorbis

ffmpeg: relocation error: ffmpeg: symbol postproc_configuration, version LIBPOSTPROC_51 not defined in file libpostproc.so.51 with link time reference

 

 

 

 

 

这个ffmpeg,还没有configure过。直接make clean会报错。

root@ubuntu:/home/zhangbin/Documents/ffmpeg# make clean

Makefile:1: config.mak: No such file or directory

libavutil/Makefile:1: libavutil/../config.mak: No such file or directory

libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'

libavutil/../subdir.mak:26: warning: ignoring old commands for target `libavutil/'

libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'

libavutil/../subdir.mak:96: warning: ignoring old commands for target `libavutil/'

Makefile:236: /tests/fate.mak: No such file or directory

Makefile:237: /tests/fate2.mak: No such file or directory

Makefile:239: /tests/fate/aac.mak: No such file or directory

Makefile:240: /tests/fate/als.mak: No such file or directory

Makefile:241: /tests/fate/fft.mak: No such file or directory

Makefile:242: /tests/fate/h264.mak: No such file or directory

Makefile:243: /tests/fate/mp3.mak: No such file or directory

Makefile:244: /tests/fate/vorbis.mak: No such file or directory

Makefile:245: /tests/fate/vp8.mak: No such file or directory

make: *** No rule to make target `/tests/fate/vp8.mak'.  Stop.

root@ubuntu:/home/zhangbin/Documents/ffmpeg# 

 

 

 

这说明果然是有非官方版本的存在和官方的冲突了。

ubuntu上有安装过libpostproc和libavutil,再安装就冲突了。版本不同。

apt-get install 获取的,应该是官方的版本。


root@ubuntu:/home/zhangbin/Documents/ffmpeg# sudo apt-get install ffmpeg

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following extra packages will be installed:  ffmpeg依赖下面这几个库。

  libavcodec52 libavdevice52 libavfilter0 libavformat52 libavutil49

  libpostproc51 libswscale0

The following NEW packages will be installed:

  ffmpeg libavcodec52 libavdevice52 libavfilter0 libavformat52 libswscale0

The following packages will be upgraded:

  libavutil49 libpostproc51           这说明以前安装过。所以才会有冲突。冲突的原因不详,难道是有些函数新版中没有了。

2 upgraded, 6 newly installed, 0 to remove and 227 not upgraded.

Need to get 5,594kB of archives.

After this operation, 14.6MB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libavutil49 4:0.5.1-1ubuntu1.1 [93.7kB]

Get:2 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libavcodec52 4:0.5.1-1ubuntu1.1 [3,999kB]

Get:3 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libavformat52 4:0.5.1-1ubuntu1.1 [720kB]

Get:4 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libavdevice52 4:0.5.1-1ubuntu1.1 [74.6kB]

Get:5 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libavfilter0 4:0.5.1-1ubuntu1.1 [49.8kB]

Get:6 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libpostproc51 4:0.5.1-1ubuntu1.1 [190kB]

Get:7 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main libswscale0 4:0.5.1-1ubuntu1.1 [230kB]

Get:8 http://Ubuntu.cn99.com/ubuntu/ lucid-security/main ffmpeg 4:0.5.1-1ubuntu1.1 [237kB]

Fetched 5,594kB in 1min 1s (91.2kB/s)                                      

(Reading database ... 152314 files and directories currently installed.)

Preparing to replace libavutil49 4:0.5.1-1ubuntu1 (using .../libavutil49_4%3a0.5.1-1ubuntu1.1_i386.deb) ...

Unpacking replacement libavutil49 ...

Selecting previously deselected package libavcodec52.

Unpacking libavcodec52 (from .../libavcodec52_4%3a0.5.1-1ubuntu1.1_i386.deb) ...

Selecting previously deselected package libavformat52.

Unpacking libavformat52 (from .../libavformat52_4%3a0.5.1-1ubuntu1.1_i386.deb) ...

Selecting previously deselected package libavdevice52.

Unpacking libavdevice52 (from .../libavdevice52_4%3a0.5.1-1ubuntu1.1_i386.deb) ...

Selecting previously deselected package libavfilter0.

Unpacking libavfilter0 (from .../libavfilter0_4%3a0.5.1-1ubuntu1.1_i386.deb) ...

Preparing to replace libpostproc51 4:0.5.1-1ubuntu1 (using .../libpostproc51_4%3a0.5.1-1ubuntu1.1_i386.deb) ...

Unpacking replacement libpostproc51 ...

Selecting previously deselected package libswscale0.

Unpacking libswscale0 (from .../libswscale0_4%3a0.5.1-1ubuntu1.1_i386.deb) ...

Selecting previously deselected package ffmpeg.

Unpacking ffmpeg (from .../ffmpeg_4%3a0.5.1-1ubuntu1.1_i386.deb) ...

Processing triggers for man-db ...

Setting up libavutil49 (4:0.5.1-1ubuntu1.1) ...

 

Setting up libavcodec52 (4:0.5.1-1ubuntu1.1) ...

 

Setting up libavformat52 (4:0.5.1-1ubuntu1.1) ...

 

Setting up libavdevice52 (4:0.5.1-1ubuntu1.1) ...

 

Setting up libavfilter0 (4:0.5.1-1ubuntu1.1) ...

 

Setting up libpostproc51 (4:0.5.1-1ubuntu1.1) ...

 

Setting up libswscale0 (4:0.5.1-1ubuntu1.1) ...

 

Setting up ffmpeg (4:0.5.1-1ubuntu1.1) ...

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

 

 

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffmpeg

ffmpeg: relocation error: /usr/local/lib/libavfilter.so.1: symbol av_find_best_stream, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

 

 

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffmpeg

ffmpeg: relocation error: /usr/local/lib/libavfilter.so.1: symbol av_find_best_stream, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffplay

ffplay: relocation error: /usr/local/lib/libavfilter.so.1: symbol av_find_best_stream, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

 

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# apt-get remove ffmpeg

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following packages were automatically installed and are no longer required:

  libswscale0 libavformat52 libavfilter0 libavcodec52 libavdevice52

Use 'apt-get autoremove' to remove them.    这些依赖包,要autoremove掉。

而我最关心的postproc,并不在其中。所以上次修复ffmpeg,autoremove,也没有把这个包卸载。


The following packages will be REMOVED:

  ffmpeg

0 upgraded, 0 newly installed, 1 to remove and 227 not upgraded.

After this operation, 786kB disk space will be freed.

Do you want to continue [Y/n]? y

(Reading database ... 152425 files and directories currently installed.)

Removing ffmpeg ...

Processing triggers for man-db ...

 

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffmpeg

ffmpeg: relocation error: /usr/local/lib/libavfilter.so.1: symbol av_find_best_stream, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffplay

ffplay: relocation error: /usr/local/lib/libavfilter.so.1: symbol av_find_best_stream, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference

 

全部都卸载掉,ffmpeg和所有的库,再用我自己编译的ffmpeg就可以了。

root@ubuntu:/home/zhangbin/Documents/ffmpeg# apt-get remove   libavcodec52 libavdevice52 libavfilter0 libavformat52 libavutil49       这个卸载,没有指明卸载libpostproc。


Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following packages will be REMOVED:   但是,还是卸载libpostproc和libswscale。

  libavcodec52 libavdevice52 libavfilter0 libavformat52 libavutil49

  libpostproc51 libswscale0

0 upgraded, 0 newly installed, 7 to remove and 227 not upgraded.

After this operation, 14.6MB disk space will be freed.

Do you want to continue [Y/n]? y

(Reading database ... 152397 files and directories currently installed.)

Removing libavdevice52 ...

Removing libavformat52 ...

Removing libavfilter0 ...

Removing libavcodec52 ...

Removing libswscale0 ...

Removing libpostproc51 ...

Removing libavutil49 ...

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

root@ubuntu:/home/zhangbin/Documents/ffmpeg# 

 

=========================================================

之前没有卸载libpostproc的时候,不加--enable-postproc,编译,是可以运行的。

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffmpeg

FFmpeg version git-N-28432-g4786076, Copyright (c) 2000-2011 the FFmpeg developers

  built on May 11 2011 21:25:25 with gcc 4.4.3

  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3 --enable-libx264 --enable-libvpx --enable-libvorbis

  libavutil    50. 39. 0 / 50. 39. 0

  libavcodec   52.114. 0 / 52.114. 0

  libavformat  52.103. 0 / 52.103. 0

  libavdevice  52.  3. 0 / 52.  3. 0

  libavfilter   1. 76. 0 /  1. 76. 0

  libswscale    0. 12. 0 /  0. 12. 0  说明这个库和系统自带的是吻合的。虽然也没有指明--enable-libswscale,也会自动安装。

Hyper fast Audio and Video encoder

usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

 

Use -h to get full help or, even better, run 'man ffmpeg'

 

 

enable-postproc 之后,编译。

root@ubuntu:/home/zhangbin/Documents/ffmpeg# make clean

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ./configure --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3 --enable-libx264 --enable-postproc --enable-libvpx --enable-libvorbis

install prefix            /usr/local

source path               /home/zhangbin/Documents/ffmpeg

C compiler                gcc

ARCH                      x86 (generic)

big-endian                no

runtime cpu detection     no

yasm                      yes

MMX enabled               yes

MMX2 enabled              yes

3DNow! enabled            yes

3DNow! extended enabled   yes

SSE enabled               yes

SSSE3 enabled             yes

CMOV enabled              no

CMOV is fast              no

EBX available             yes

EBP available             no

10 operands supported     yes

debug symbols             yes

strip symbols             yes

optimizations             yes

static                    yes

shared                    yes

postprocessing support    yes

new filter support        yes

network support           yes

threading support         pthreads

SDL support               yes

Sun medialib support      no

AVISynth enabled          no

frei0r enabled            no

libdc1394 support         no

libdirac enabled          no

libfaac enabled           yes

libgsm enabled            no

libmp3lame enabled        yes

libnut enabled            no

libopencore-amrnb support yes

libopencore-amrwb support yes

libopencv support         no

libopenjpeg enabled       no

librtmp enabled           no

libschroedinger enabled   no

libspeex enabled          no

libtheora enabled         yes

libvorbis enabled         yes

libvpx enabled            yes

libx264 enabled           yes

libxavs enabled           no

libxvid enabled           yes

zlib enabled              yes

bzlib enabled             no

 

Enabled decoders:

aac dsicinaudio mp3adufloat

aac_latm dsicinvideo mp3float

aasc dvbsub mp3on4

ac3 dvdsub mp3on4float

adpcm_4xm dvvideo mpc7

adpcm_adx dxa mpc8

adpcm_ct eac3 mpeg1video

adpcm_ea eacmv mpeg2video

adpcm_ea_maxis_xa eamad mpeg4

adpcm_ea_r1 eatgq mpegvideo

adpcm_ea_r2 eatgv msmpeg4v1

adpcm_ea_r3 eatqi msmpeg4v2

adpcm_ea_xas eightbps msmpeg4v3

adpcm_g722 eightsvx_exp msrle

adpcm_g726 eightsvx_fib msvideo1

adpcm_ima_amv escape124 mszh

adpcm_ima_dk3 ffv1 nellymoser

adpcm_ima_dk4 ffvhuff nuv

adpcm_ima_ea_eacs flac pam

adpcm_ima_ea_sead flashsv pbm

adpcm_ima_iss flic pcm_alaw

adpcm_ima_qt flv pcm_bluray

adpcm_ima_smjpeg fourxm pcm_dvd

adpcm_ima_wav fraps pcm_f32be

adpcm_ima_ws frwu pcm_f32le

adpcm_ms gif pcm_f64be

adpcm_sbpro_2 gsm pcm_f64le

adpcm_sbpro_3 gsm_ms pcm_lxf

adpcm_sbpro_4 h261 pcm_mulaw

adpcm_swf h263 pcm_s16be

adpcm_thp h263i pcm_s16le

adpcm_xa h264 pcm_s16le_planar

adpcm_yamaha huffyuv pcm_s24be

alac idcin pcm_s24daud

als iff_byterun1 pcm_s24le

amrnb iff_ilbm pcm_s32be

amrwb imc pcm_s32le

amv indeo2 pcm_s8

anm indeo3 pcm_u16be

ansi indeo5 pcm_u16le

ape interplay_dpcm pcm_u24be

ass interplay_video pcm_u24le

asv1 jpegls pcm_u32be

asv2 jv pcm_u32le

atrac1 kgv1 pcm_u8

atrac3 kmvc pcm_zork

aura lagarith pcx

aura2 libopencore_amrnb pgm

avs libopencore_amrwb pgmyuv

bethsoftvid libvpx pgssub

bfi loco pictor

bink mace3 png

binkaudio_dct mace6 ppm

binkaudio_rdft mdec ptx

bmp mimic qcelp

c93 mjpeg qdm2

cavs mjpegb qdraw

cdgraphics mlp qpeg

cinepak mmvideo qtrle

cljr motionpixels r10k

cook mp1 r210

cscd mp1float ra_144

cyuv mp2 ra_288

dca mp2float rawvideo

dnxhd mp3 rl2

dpx mp3adu roq

roq_dpcm tiertexseqvideo vp6

rpza tiff vp6a

rv10 tmv vp6f

rv20 truehd vp8

rv30 truemotion1 vqa

rv40 truemotion2 wavpack

sgi truespeech wmapro

shorten tscc wmav1

sipr tta wmav2

smackaud twinvq wmavoice

smacker txd wmv1

smc ulti wmv2

snow v210 wmv3

sol_dpcm v210x wnv1

sonic vb ws_snd1

sp5x vc1 xan_dpcm

srt vcr1 xan_wc3

sunrast vmdaudio xan_wc4

svq1 vmdvideo xl

svq3 vmnc xsub

targa vorbis yop

theora vp3 zlib

thp vp5 zmbv

 

Enabled encoders:

a64multi libopencore_amrnb pcm_u24be

a64multi5 libtheora pcm_u24le

aac libvorbis pcm_u32be

ac3 libvpx pcm_u32le

ac3_fixed libx264 pcm_u8

adpcm_adx libxvid pcm_zork

adpcm_g722 ljpeg pcx

adpcm_g726 mjpeg pgm

adpcm_ima_qt mp2 pgmyuv

adpcm_ima_wav mpeg1video png

adpcm_ms mpeg2video ppm

adpcm_swf mpeg4 qtrle

adpcm_yamaha msmpeg4v1 ra_144

alac msmpeg4v2 rawvideo

ass msmpeg4v3 roq

asv1 nellymoser roq_dpcm

asv2 pam rv10

bmp pbm rv20

dnxhd pcm_alaw sgi

dvbsub pcm_f32be snow

dvdsub pcm_f32le sonic

dvvideo pcm_f64be sonic_ls

ffv1 pcm_f64le svq1

ffvhuff pcm_mulaw targa

flac pcm_s16be tiff

flashsv pcm_s16le v210

flv pcm_s24be vorbis

gif pcm_s24daud wmav1

h261 pcm_s24le wmav2

h263 pcm_s32be wmv1

h263p pcm_s32le wmv2

huffyuv pcm_s8 xsub

jpegls pcm_u16be zlib

libfaac pcm_u16le zmbv

libmp3lame

 

Enabled hwaccels:

 

Enabled parsers:

aac dvdsub mpeg4video

aac_latm flac mpegaudio

ac3 h261 mpegvideo

cavsvideo h263 pnm

dca h264 vc1

dirac mjpeg vp3

dnxhd mlp vp8

dvbsub

 

Enabled demuxers:

aac ipmovie pcm_u32be

ac3 iss pcm_u32le

aea iv8 pcm_u8

aiff ivf pva

amr jv qcp

anm lmlm4 r3d

apc lxf rawvideo

ape m4v rl2

applehttp matroska rm

asf mjpeg roq

ass mlp rpl

au mm rso

avi mmf rtp

avs mov rtsp

bethsoftvid mp3 sap

bfi mpc sdp

bink mpc8 segafilm

c93 mpegps shorten

caf mpegts siff

cavsvideo mpegtsraw smacker

cdg mpegvideo sol

daud msnwc_tcp sox

dirac mtv spdif

dnxhd mvi srt

dsicin mxf str

dts mxg swf

dv nc thp

dxa nsv tiertexseq

ea nut tmv

ea_cdata nuv truehd

eac3 ogg tta

ffm oma tty

ffmetadata pcm_alaw txd

filmstrip pcm_f32be vc1

flac pcm_f32le vc1t

flic pcm_f64be vmd

flv pcm_f64le voc

fourxm pcm_mulaw vqf

g722 pcm_s16be w64

gsm pcm_s16le wav

gxf pcm_s24be wc3

h261 pcm_s24le wsaud

h263 pcm_s32be wsvqa

h264 pcm_s32le wtv

idcin pcm_s8 wv

iff pcm_u16be xa

image2 pcm_u16le yop

image2pipe pcm_u24be yuv4mpegpipe

ingenient pcm_u24le

 

Enabled muxers:

a64 ipod pcm_s16le

ac3 ivf pcm_s24be

adts m4v pcm_s24le

aiff matroska pcm_s32be

amr matroska_audio pcm_s32le

asf md5 pcm_s8

asf_stream mjpeg pcm_u16be

ass mlp pcm_u16le

au mmf pcm_u24be

avi mov pcm_u24le

avm2 mp2 pcm_u32be

cavsvideo mp3 pcm_u32le

crc mp4 pcm_u8

daud mpeg1system psp

dirac mpeg1vcd rawvideo

dnxhd mpeg1video rm

dts mpeg2dvd roq

dv mpeg2svcd rso

eac3 mpeg2video rtp

ffm mpeg2vob rtsp

ffmetadata mpegts sap

filmstrip mpjpeg sox

flac mxf spdif

flv mxf_d10 srt

framecrc null swf

framemd5 nut tg2

g722 ogg tgp

gif pcm_alaw truehd

gxf pcm_f32be vc1t

h261 pcm_f32le voc

h263 pcm_f64be wav

h264 pcm_f64le webm

image2 pcm_mulaw yuv4mpegpipe

image2pipe pcm_s16be

 

Enabled protocols:

applehttp mmsh rtmpt

concat mmst rtmpte

file pipe rtp

gopher rtmp tcp

http rtmpe udp

md5 rtmps

 

Enabled filters:

anull format pixdesctest

anullsink gradfun scale

anullsrc hflip setdar

blackframe hqdn3d setpts

buffer movie setsar

color mp settb

copy noformat slicify

crop null transpose

cropdetect nullsink unsharp

drawbox nullsrc vflip

fade overlay yadif

fifo pad

 

Enabled bsfs:

aac_adtstoasc mjpeg2jpeg mp3_header_decompress

chomp mjpega_dump_header noise

dump_extradata mov2textsub remove_extradata

h264_mp4toannexb mp3_header_compress text2movsub

imx_dump_header

 

Enabled indevs:

alsa oss v4l2

dv1394 v4l x11_grab_device

fbdev

 

Enabled outdevs:

alsa oss

 

License: nonfree and unredistributable

Creating config.mak and config.h...

libavutil/avconfig.h is unchanged

 

========================================================

 

从git上下了一个最新的ffmpeg,也没编译,还是用的老的那个。

root@ubuntu:/home/zhangbin/Documents/ffmpeg-git# cd ffmpeg-05*

bash: cd: ffmpeg-05*: No such file or directory

root@ubuntu:/home/zhangbin/Documents/ffmpeg-git# cd ..

root@ubuntu:/home/zhangbin/Documents# cd ffmpeg-05*

root@ubuntu:/home/zhangbin/Documents/ffmpeg-05-11# ls

root@ubuntu:/home/zhangbin/Documents/ffmpeg-05-11# git://git.videolan.org/ffmpeg.git

bash: git://git.videolan.org/ffmpeg.git: No such file or directory

root@ubuntu:/home/zhangbin/Documents/ffmpeg-05-11# git clone git://git.videolan.org/ffmpeg.git

Initialized empty Git repository in /home/zhangbin/Documents/ffmpeg-05-11/ffmpeg/.git/

remote: Counting objects: 152656, done.

remote: Compressing objects: 100% (33773/33773), done.

remote: Total 152656 (delta 118699), reused 152625 (delta 118678)

Receiving objects: 100% (152656/152656), 40.01 MiB | 20 KiB/s, done.

Resolving deltas: 100% (118699/118699), done.

root@ubuntu:/home/zhangbin/Documents/ffmpeg-05-11# 

 

 

 

 

======================================================

 

卸掉之后,带有--enable--postproc重新编译,就好了。

 

 

root@ubuntu:/home/zhangbin/Documents/ffmpeg# ffmpeg

FFmpeg version git-N-28432-g4786076, Copyright (c) 2000-2011 the FFmpeg developers

  built on May 11 2011 21:51:59 with gcc 4.4.3

  configuration: --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3 --enable-libx264 --enable-postproc --enable-libvpx --enable-libvorbis

  libavutil    50. 39. 0 / 50. 39. 0

  libavcodec   52.114. 0 / 52.114. 0

  libavformat  52.103. 0 / 52.103. 0

  libavdevice  52.  3. 0 / 52.  3. 0

  libavfilter   1. 76. 0 /  1. 76. 0

  libswscale    0. 12. 0 /  0. 12. 0

  libpostproc  51.  2. 0 / 51.  2. 0   看到这个库了。

Hyper fast Audio and Video encoder

usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

 

Use -h to get full help or, even better, run 'man ffmpeg'

你可能感兴趣的:(FFmpeg/Libav基础库)