[FFmpeg-user] OSX lion, trying to compile from git fails

Boštjan Strojan bostjan.strojan at gmail.com
Tue Dec 13 19:21:23 CET 2011


Actually I'am packing this next to some bash powered droplet, so i
assume that 12 core cpu could behave differently than my home quad
core? (hence --enable-runtime-cpudetect). Dunno if this is OS related
as well? Like Lion vs Snow leopard?.

The compilation I do is in RAM disk, so "make install" will copy a
binary to a predefined folder only (i think?)

The RAM disk is defined as:

DISK_ID=$(hdid -nomount ram://26214400) && newfs_hfs -v tempdisk
${DISK_ID} && diskutil mount ${DISK_ID} &&
SOURCE="/Volumes/tempdisk/sw" && COMPILED="/Volumes/tempdisk/compile"
&& mkdir ${SOURCE} && mkdir ${COMPILED} && export
PATH=${SOURCE}/bin:$PATH

Thanks for all the suggestions, iam really glad this worked out.

b.



On Tue, Dec 13, 2011 at 12:11 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Boštjan Strojan <bostjan.strojan <at> gmail.com> writes:
>
>> ./configure --prefix=${SOURCE} --enable-gpl --enable-libx264
>> --cc=clang --enable-runtime-cpudetect && make -j 4 && make install
>
> Do not use "--enable-runtime-cpudetect" (if you are a user), it hurts the
> performance of the final executable.
> (In case it is needed for the compilation to succeed, please report, that would
> be an unknown bug.)
>
> Carl Eugen
>
> PS: In case it matters to you: You do not have to install FFmpeg to test it, use
> it, whatever (but it of course doesn't hurt).
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list