[FFmpeg-devel] can't compile libavfilter with mp filter

vmrsss vmrsss
Fri Jan 28 16:31:54 CET 2011

Hi everybody,

	After the transition to the new git repository, I cannot link libavfilter, it lacks 

	avcodec_register_all, avcodec_encode_video, ..., etc (see output below)

If I configure with --disable-filter=mp then the build completes just fine.

Am I doing something wrong perhaps to do with having checked out a 
fresh copy of the repository?

Really looking forward to the mp filters, thanks for your help

configure and make:

install prefix            /usr/local
source path               /usr/local/src/ffmpeg
C compiler                gcc -arch x86_64 -march=core2 -msse4 -O2 -pipe
ARCH                      x86 (core2)
big-endian                no
runtime cpu detection     yes
yasm                      yes
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              yes
CMOV is fast              yes
EBX available             yes
EBP available             yes
10 operands supported     yes
debug symbols             no
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          yes
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   yes
libspeex enabled          no
libtheora enabled         no
libvorbis enabled         yes
libvpx enabled            no
libx264 enabled           yes
libxavs enabled           no
libxvid enabled           yes
zlib enabled              yes
bzlib enabled             yes

Enabled decoders:
aac			dsicinaudio		mp3float
aac_latm		dsicinvideo		mp3on4
aasc			dvbsub			mp3on4float
ac3			dvdsub			mpc7
adpcm_4xm		dvvideo			mpc8
adpcm_adx		dxa			mpeg1video
adpcm_ct		eac3			mpeg2video
adpcm_ea		eacmv			mpeg4
adpcm_ea_maxis_xa	eamad			mpeg_xvmc
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			kgv1			pcm_u32le
atrac1			kmvc			pcm_u8
atrac3			lagarith		pcm_zork
aura			libopencore_amrnb	pcx
aura2			libopencore_amrwb	pgm
avs			libschroedinger		pgmyuv
bethsoftvid		loco			pgssub
bfi			mace3			pictor
bink			mace6			png
binkaudio_dct		mdec			ppm
binkaudio_rdft		mimic			ptx
bmp			mjpeg			qcelp
c93			mjpegb			qdm2
cavs			mlp			qdraw
cdgraphics		mmvideo			qpeg
cinepak			motionpixels		qtrle
cljr			mp1			r10k
cook			mp1float		r210
cscd			mp2			ra_144
cyuv			mp2float		ra_288
dca			mp3			rawvideo
dnxhd			mp3adu			rl2
dpx			mp3adufloat		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		xl
svq1			vmdvideo		xsub
svq3			vmnc			yop
targa			vorbis			zlib
theora			vp3			zmbv
thp			vp5

Enabled encoders:
a64multi		libmp3lame		pcm_u24le
a64multi5		libopencore_amrnb	pcm_u32be
aac			libschroedinger		pcm_u32le
ac3			libvorbis		pcm_u8
ac3_fixed		libx264			pcm_zork
adpcm_adx		libxvid			pcx
adpcm_g722		ljpeg			pgm
adpcm_g726		mjpeg			pgmyuv
adpcm_ima_qt		mp2			png
adpcm_ima_wav		mpeg1video		ppm
adpcm_ms		mpeg2video		qtrle
adpcm_swf		mpeg4			ra_144
adpcm_yamaha		msmpeg4v1		rawvideo
alac			msmpeg4v2		roq
ass			msmpeg4v3		roq_dpcm
asv1			nellymoser		rv10
asv2			pam			rv20
bmp			pbm			sgi
dnxhd			pcm_alaw		snow
dvbsub			pcm_f32be		sonic
dvdsub			pcm_f32le		sonic_ls
dvvideo			pcm_f64be		svq1
ffv1			pcm_f64le		targa
ffvhuff			pcm_mulaw		tiff
flac			pcm_s16be		v210
flashsv			pcm_s16le		vorbis
flv			pcm_s24be		wmav1
gif			pcm_s24daud		wmav2
h261			pcm_s24le		wmv1
h263			pcm_s32be		wmv2
h263p			pcm_s32le		xsub
huffyuv			pcm_s8			zlib
jpegls			pcm_u16be		zmbv
libdirac		pcm_u16le
libfaac			pcm_u24be

Enabled hwaccels:

Enabled parsers:
aac			dvdsub			mpegaudio
aac_latm		flac			mpegvideo
ac3			h261			pnm
cavsvideo		h263			vc1
dca			h264			vp3
dirac			mjpeg			vp8
dnxhd			mlp
dvbsub			mpeg4video

Enabled demuxers:
aac			ipmovie			pcm_u32le
ac3			iss			pcm_u8
aea			iv8			pva
aiff			ivf			qcp
amr			lmlm4			r3d
anm			lxf			rawvideo
apc			m4v			rl2
ape			matroska		rm
applehttp		mjpeg			roq
asf			mlp			rpl
ass			mm			rso
au			mmf			rtp
avi			mov			rtsp
avs			mp3			sap
bethsoftvid		mpc			sdp
bfi			mpc8			segafilm
bink			mpegps			shorten
c93			mpegts			siff
caf			mpegtsraw		smacker
cavsvideo		mpegvideo		sol
cdg			msnwc_tcp		sox
daud			mtv			spdif
dirac			mvi			srt
dnxhd			mxf			str
dsicin			mxg			swf
dts			nc			thp
dv			nsv			tiertexseq
dxa			nut			tmv
ea			nuv			truehd
ea_cdata		ogg			tta
eac3			oma			tty
ffm			pcm_alaw		txd
ffmetadata		pcm_f32be		vc1
filmstrip		pcm_f32le		vc1t
flac			pcm_f64be		vmd
flic			pcm_f64le		voc
flv			pcm_mulaw		vqf
fourxm			pcm_s16be		w64
g722			pcm_s16le		wav
gsm			pcm_s24be		wc3
gxf			pcm_s24le		wsaud
h261			pcm_s32be		wsvqa
h263			pcm_s32le		wtv
h264			pcm_s8			wv
idcin			pcm_u16be		xa
iff			pcm_u16le		yop
image2			pcm_u24be		yuv4mpegpipe
image2pipe		pcm_u24le
ingenient		pcm_u32be

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:
concat			mmst			rtmpte
file			pipe			rtp
gopher			rtmp			tcp
http			rtmpe			udp
md5			rtmps
mmsh			rtmpt

Enabled filters:
anull			format			pixdesctest
anullsink		gradfun			scale
anullsrc		hflip			setdar
blackframe		hqdn3d			setpts
buffer			mp			setsar
color			noformat		settb
copy			null			slicify
crop			nullsink		transpose
cropdetect		nullsrc			unsharp
drawbox			overlay			vflip
fifo			pad			yadif

Enabled bsfs:
aac_adtstoasc		mjpeg2jpeg		noise
chomp			mjpega_dump_header	remove_extradata
dump_extradata		mov2textsub		text2movsub
h264_mp4toannexb	mp3_header_compress
imx_dump_header		mp3_header_decompress

Enabled indevs:

Enabled outdevs:

License: nonfree and unredistributable
Creating config.mak and config.h...

[... omitted ...]

LD	libavfilter/libavfilter.1.dylib
ld: warning: -read_only_relocs cannot be used with x86_64
Undefined symbols:
  "_avcodec_register_all", referenced from:
      _vf_open in vf_screenshot.o
  "_avcodec_open", referenced from:
      _config in vf_mcdeint.o
      _config in vf_mcdeint.o
      _config in vf_mcdeint.o
      _vf_open in vf_screenshot.o
      _config in vf_uspp.o
  "_avcodec_encode_video", referenced from:
      _put_image in vf_mcdeint.o
      _put_image in vf_screenshot.o
      _put_image in vf_uspp.o
  "_avcodec_close", referenced from:
      _uninit in vf_mcdeint.o
      _uninit in vf_screenshot.o
  "_avcodec_find_encoder", referenced from:
      _config in vf_mcdeint.o
      _vf_open in vf_screenshot.o
      _config in vf_uspp.o
  "_memalign", referenced from:
      _config in vf_perspective.o
      _config in vf_pp7.o
      _allocStuff in vf_sab.o
      _allocStuff in vf_sab.o
  "_avcodec_alloc_frame", referenced from:
      _config in vf_mcdeint.o
      _config in vf_uspp.o
      _config in vf_uspp.o
  "_dsputil_init", referenced from:
      _vf_open in vf_spp.o
  "_avcodec_alloc_context", referenced from:
      _config in vf_mcdeint.o
      _config in vf_mcdeint.o
      _config in vf_mcdeint.o
      _vf_open in vf_screenshot.o
      _vf_open in vf_spp.o
      _config in vf_uspp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libavfilter/libavfilter.1.dylib] Error 1

More information about the ffmpeg-devel mailing list