[MEncoder-users] Build help - Defeating autodetection for x264 on Mac OS X !0.5

Moritz Barsnick barsnick at gmx.net
Tue Sep 23 17:05:06 CEST 2008

Hi Laine,

On Tue, Sep 23, 2008 at 08:43:28 -0500, Laine Lee wrote:
> I seem to have successfully built and installed x264 on my system using the
> git method described in the mplayer docs. Please tell me how to include it
> for my mplayer configuration (today's svn). I see this in the configure
> output.
> Checking for x264 ... no (in libavcodec: no)

The configure script tries to compile and link this source:

#include <inttypes.h>
#include <x264.h>
#if X264_BUILD < 59
#error We do not support old versions of x264. Get the latest from SVN.
int main(void) { x264_encoder_open((void*)0); return 0; }

using "-lx264" and "-lx264 -lm". Something along the way is failing for
you. Look into your configure.log (after having called ./configure) and
check the section "============ Checking for x264 ============". It
reports what went wrong.

Hope this helps,

More information about the MEncoder-users mailing list