[Ffmpeg-devel] Mac Os X issues

carboncopy public carboncopy.public
Thu Dec 22 08:32:04 CET 2005


Hi!

I have two issues with Mac Os X compilation. Following is my
configuration options:
--prefix=/opt/local --mandir=/opt/local/share/man --disable-debug
--enable-xvid  --enable-a52 --enable-mp3lame --enable-libogg
--enable-vorbis --enable-theora --enable-faad --enable-faac
--enable-pthreads --enable-gpl --tune=970 --powerpc-perf-enable
--extra-cflags="-fast -
I/opt/local/include -DHAVE_LRINTF" --extra-ldflags="-d -L/opt/local/lib"

mp3lame, libogg, vorbis, theora, faad, faac are all installed via darwinports.

x264 have also been installed, but it failed to compile with
--enable-x264 switch on. Compilation dump:
orca:~/coding/build_ffmpeg carboncopy$ make
make -C libavutil all
make[1]: Nothing to be done for `all'.
make -C libavcodec all
cc -O3 -Wall -Wno-switch -O3 -mcpu=970 -mtune=970 -fast
-I/opt/local/include -DHAVE_LRINTF -no-cpp-precomp -pipe
-fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -mcpu=970
-mtune=970 -mpowerpc-gfxopt -mpowerpc64 -faltivec -mdynamic-no-pic
-DHAVE_AV_CONFIG_H -I.. -I/Users/carboncopy/coding/ffmpeg/libavutil
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o
faac.o /Users/carboncopy/coding/ffmpeg/libavcodec/faac.c
cc -O3 -Wall -Wno-switch -O3 -mcpu=970 -mtune=970 -fast
-I/opt/local/include -DHAVE_LRINTF -no-cpp-precomp -pipe
-fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -mcpu=970
-mtune=970 -mpowerpc-gfxopt -mpowerpc64 -faltivec -mdynamic-no-pic
-DHAVE_AV_CONFIG_H -I.. -I/Users/carboncopy/coding/ffmpeg/libavutil
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o
xvidff.o /Users/carboncopy/coding/ffmpeg/libavcodec/xvidff.c
cc -O3 -Wall -Wno-switch -O3 -mcpu=970 -mtune=970 -fast
-I/opt/local/include -DHAVE_LRINTF -no-cpp-precomp -pipe
-fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -mcpu=970
-mtune=970 -mpowerpc-gfxopt -mpowerpc64 -faltivec -mdynamic-no-pic
-DHAVE_AV_CONFIG_H -I.. -I/Users/carboncopy/coding/ffmpeg/libavutil
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -c -o
x264.o /Users/carboncopy/coding/ffmpeg/libavcodec/x264.c
/Users/carboncopy/coding/ffmpeg/libavcodec/x264.c: In function 'X264_init':
/Users/carboncopy/coding/ffmpeg/libavcodec/x264.c:137: error: 'struct
<anonymous>' has no member named 'i_vbv_buffer_size'
/Users/carboncopy/coding/ffmpeg/libavcodec/x264.c:138: error: 'struct
<anonymous>' has no member named 'i_vbv_max_bitrate'
/Users/carboncopy/coding/ffmpeg/libavcodec/x264.c:162: error:
'x264_param_t' has no member named 'i_threads'
make[1]: *** [x264.o] Error 1
make: *** [lib] Error 2
orca:~/coding/build_ffmpeg



Secondly, I realised that zlib is not enabled even though
--disable-zlib is not switch on. Configuration dump:
install prefix   /opt/local
source path      /Users/carboncopy/coding/ffmpeg
C compiler       cc
make             make
CPU              powerpc (970)
big-endian       yes
inttypes.h       yes
broken inttypes.h no
AltiVec enabled  yes
gprof enabled    no
zlib enabled     no
libgsm enabled   no
mp3lame enabled  yes
libogg enabled   yes
Vorbis enabled   yes
Theora enabled   yes
FAAD enabled     yes
faadbin enabled  no
FAAC enabled     yes
XviD enabled     yes
x264 enabled     no
a52 support      yes
a52 dlopened     no
DTS support      no
pp support       no
debug symbols    no
strip symbols    yes
optimize         yes
shared pp        no
video hooking    no
SDL support      yes
Sun medialib support no
pthreads support yes
AMR-NB float support no
AMR-NB fixed support no
AMR-WB float support no
AMR-WB IF2 support no
network support      yes
IPv6 support         no
License: GPL
Creating config.mak and config.h...


Thanks





More information about the ffmpeg-devel mailing list