[MPlayer-users] x264 support on cygwin

Puneet Arora arorap at gmail.com
Sat Nov 13 13:49:27 CET 2010


On Tue, Nov 9, 2010 at 4:15 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Puneet Arora <arorap <at> gmail.com> writes:
>
>> Yes, I need it for use with MEncoder. I do have the latest versions of
>> both MEncoder and the x264 lib.
>
> Then please post the first line of config.log and the part starting with
> "Checking for x264" (and ending with "============").
>
>> Are there plans for active maintenance of MEncoder in future? (I'm wondering
>> if its worth to invest time to build it and learn to use it?)
>
> Nobody has done it for years, but the time to build it should be minimal (that
> might be different for "learning").
>
>> I think an alternative could be using the ffmpeg command line tool.
>
> Yes.
>
>> Are there more things that MEncoder offers compared to that?
>
> Binary codecs (almost never needed) and video filters (some currently being
> ported to FFmpeg).
>
> Carl Eugen
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>

configuration: --enable-menu    >> first line of config.log
..
..
============ Checking for x264 ============

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

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
-Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4
-march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer /tmp/mplayer-configure-3380-6296/tmp.c
-Ilibdvdread4 -I. -Iffmpeg  -fno-common  -I/usr/include/freetype2
-lwinmm -ffast-math  -liconv -lpng -lz -lmng -lz -ljpeg -lgif
-lfreetype -lz -lfontconfig  -lz -lbz2 -llzo2 -lspeex -ladvapi32
-lole32 -lxvidcore -lm  -lgdi32 -lopengl32 -lgdi32 -lwinmm -lgdi32
-lfaac  -lfaac -o /tmp/mplayer-configure-3380-6296/tmp.exe -lx264
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0x5a6d):
undefined reference to `__assert'
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0x6b10):
undefined reference to `_fseeko64'
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0xa321):
undefined reference to `__assert'
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0xbded):
undefined reference to `__assert'
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0xbe21):
undefined reference to `__assert'
/usr/local/lib/libx264.a(cpu.o):cpu.c:(.text+0x4a2): undefined
reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x19ba):
undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0xe5ad): more
undefined references to `__assert' follow
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x1b):
undefined reference to `___mingw_vfprintf'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x4b):
undefined reference to `___mingw_vsprintf'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x29d7):
undefined reference to `___fpclassify'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x56cd):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x746c):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x8479):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0xa2f9):
undefined reference to `__assert'
/usr/local/lib/libx264.a(lookahead.o):lookahead.c:(.text+0x4ad):
undefined reference to `__assert'
/usr/local/lib/libx264.a(lookahead.o):lookahead.c:(.text+0x4cb): more
undefined references to `__assert' follow
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x7b8): undefined
reference to `__imp___pctype'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x879): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x96b): undefined
reference to `__isctype'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0xdb0): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0xdfb): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x12bd): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x3d36): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x3d8e): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x3f60): more
undefined references to `___strtod' follow
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4d3c): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4d59): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4e06): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4e23): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4ef4): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4f9d): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4fd9): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4ff2): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5070): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x51bb): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5206): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x528f): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x531d): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5389): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x541c): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5476): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x54c7): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5504): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5530): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5570): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x55ad): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x55c6): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5621): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5671): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x56f0): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5790): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x57fd): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5c16): undefined
reference to `_fseeko64'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5c63): undefined
reference to `_fseeko64'
/usr/local/lib/libx264.a(rectangle.o):rectangle.c:(.text+0x26d):
undefined reference to `__assert'
/usr/local/lib/libx264.a(rectangle.o):rectangle.c:(.text+0x29d):
undefined reference to `__assert'
collect2: ld returned 1 exit status



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

cc -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
-Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
-Wdisabled-optimization -Wdeclaration-after-statement -std=gnu99  -O4
-march=pentium-m -mtune=pentium-m -pipe -ffast-math
-fomit-frame-pointer /tmp/mplayer-configure-3380-6296/tmp.c
-Ilibdvdread4 -I. -Iffmpeg  -fno-common  -I/usr/include/freetype2
-lwinmm -ffast-math  -liconv -lpng -lz -lmng -lz -ljpeg -lgif
-lfreetype -lz -lfontconfig  -lz -lbz2 -llzo2 -lspeex -ladvapi32
-lole32 -lxvidcore -lm  -lgdi32 -lopengl32 -lgdi32 -lwinmm -lgdi32
-lfaac  -lfaac -o /tmp/mplayer-configure-3380-6296/tmp.exe -lx264 -lm
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0x5a6d):
undefined reference to `__assert'
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0x6b10):
undefined reference to `_fseeko64'
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0xa321):
undefined reference to `__assert'
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0xbded):
undefined reference to `__assert'
/usr/local/lib/libx264.a(encoder.o):encoder.c:(.text+0xbe21):
undefined reference to `__assert'
/usr/local/lib/libx264.a(cpu.o):cpu.c:(.text+0x4a2): undefined
reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0x19ba):
undefined reference to `__assert'
/usr/local/lib/libx264.a(analyse.o):analyse.c:(.text+0xe5ad): more
undefined references to `__assert' follow
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x1b):
undefined reference to `___mingw_vfprintf'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x4b):
undefined reference to `___mingw_vsprintf'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x29d7):
undefined reference to `___fpclassify'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x56cd):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x746c):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0x8479):
undefined reference to `__assert'
/usr/local/lib/libx264.a(ratecontrol.o):ratecontrol.c:(.text+0xa2f9):
undefined reference to `__assert'
/usr/local/lib/libx264.a(lookahead.o):lookahead.c:(.text+0x4ad):
undefined reference to `__assert'
/usr/local/lib/libx264.a(lookahead.o):lookahead.c:(.text+0x4cb): more
undefined references to `__assert' follow
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x7b8): undefined
reference to `__imp___pctype'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x879): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x96b): undefined
reference to `__isctype'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0xdb0): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0xdfb): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x12bd): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x3d36): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x3d8e): undefined
reference to `___strtod'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x3f60): more
undefined references to `___strtod' follow
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4d3c): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4d59): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4e06): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4e23): undefined
reference to `__imp___iob'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4ef4): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4f9d): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4fd9): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x4ff2): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5070): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x51bb): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5206): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x528f): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x531d): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5389): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x541c): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5476): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x54c7): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5504): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5530): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5570): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x55ad): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x55c6): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5621): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5671): undefined
reference to `__strnicmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x56f0): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5790): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x57fd): undefined
reference to `__stricmp'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5c16): undefined
reference to `_fseeko64'
/usr/local/lib/libx264.a(common.o):common.c:(.text+0x5c63): undefined
reference to `_fseeko64'
/usr/local/lib/libx264.a(rectangle.o):rectangle.c:(.text+0x26d):
undefined reference to `__assert'
/usr/local/lib/libx264.a(rectangle.o):rectangle.c:(.text+0x29d):
undefined reference to `__assert'
collect2: ld returned 1 exit status


Result is: no (in FFmpeg: no)
##########################################


More information about the MPlayer-users mailing list