[FFmpeg-user] Static compilation on Mac OS X
Andrey Derevyagin
2derand at gmail.com
Tue Sep 18 00:05:33 CEST 2012
Hello,
I wants compile ffmpeg with h264 library inside on ffmpeg.
I use this instruction (
http://ffmpeg.org/trac/ffmpeg/wiki/MacOSXCompilationGuide). All libraries
installed from "homebrew" but ffmpeg compile from sources.
For ffmpeg configure using command:
./configure --enable-gpl --enable-version3 --enable-nonfree
--disable-shared --enable-static --disable-ffplay --disable-ffprobe
--disable-ffserver --disable-w32threads --disable-network --enable-libx264
--enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libass
--enable-fontconfig --enable-libopenjpeg --enable-runtime-cpudetect
--target-os=darwin --arch=i386 --enable-cross-compile
--disable-optimizations --enable-extra-warnings
configuration completes fine and make creates executable ffmpeg file (14
MB). But when I copied this file to another mac and try run app exist with
error:
ffmpeg
dyld: Library not loaded: /usr/local/lib/libx264.125.dylib
Referenced from: /Users/derand/Desktop/ffmpeg
Reason: image not found
Trace/BPT trap: 5
I think the x264 library not linked inside ffmpeg file. Can I somehow fix
it without installation x264 library to my second mac?
Thanks
--
Best Regards,
Andrey Derevyagin
e-mail: 2derand at gmail.com
skype: derand8
mob: +380 63-306-51-54
More information about the ffmpeg-user
mailing list