[MacPorts] #33343: Ffmpeg does not include CPU capabilities on 64bit 10.7.3
MacPorts
noreply at macports.org
Mon Apr 2 08:45:56 PDT 2012
#33343: Ffmpeg does not include CPU capabilities on 64bit 10.7.3
-----------------------------------+----------------------------------------
Reporter: sonniesedge@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: ffmpeg
-----------------------------------+----------------------------------------
Comment(by merseyparadise@…):
Still can't get this to work with +asm. While we're waiting for a fix, a
workaround is to uninstall the ffmpeg port, uninstall the x264 port,
compile x264 after editing configure to use CC=clang (I've since found out
that CC should be llvm-gcc, but clang seems to work), and compile ffmpeg
with:
./configure --enable-gpl --enable-postproc --enable-swscale --enable-
libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac
--enable-libopenjpeg --enable-libxvid --enable-libx264 --enable-libvpx
--enable-libspeex --enable-shared --enable-pthreads --cc=clang --extra-
cflags=-I/usr/local/include --extra-cflags=-I/opt/local/include --extra-
ldflags=-L/usr/local/lib --extra-ldflags=-L/opt/local/lib
...which are the same options that the port uses, apart from setting the
compiler as clang and dragging in your x264 libraries from /usr/local/bin.
Works a treat. Now all I need is a set of updated presets... :)
--
Ticket URL: <https://trac.macports.org/ticket/33343#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list