[MPlayer-cygwin] How to get a mplayer with fontconfig?

RVM rvm3000 at ya.com
Mon Dec 3 00:29:33 CET 2007


El Sábado, 1 de Diciembre de 2007 18:18, John Brown escribió:
> On Sat, 1 Dec 2007 17:21:07 +0100, RVM wrote:
> > El Sábado, 1 de Diciembre de 2007 04:41, John Brown escribió:
> >> Please see the following:
> >>> On Thu, 17 Aug 2006 15:42:39 +0300, Tor Lillqvist wrote:
> >>>
> >>> John Brown writes:
> >>>
> >>> If somebody wants to build GLib and pkg-config from scratch on Win32,
> >>> the easiet way aroung the circular dependency is to just remove the
> >>> checks for pkg-config from GLib's configure.in, as they aren't really
> >>> needed when building GLib.
> >
> > I managed to compile glib and pkg-config (it took me hours, not only I
> > had to modify the configure but also a *.c file) and then I realized that
> > in fact they weren't needed by fontconfig, it really wanted libexpat.
> >
> > Then I had problems to compile freetype2 and fontconfig in a way they
> > were recognized by the mplayer configure. At the end I achieved, but it
> > doesn't work, when a subtitle is about to appear mplayer crashes:
>
> I don't have any subtitle files, so I can't try it myself.
>
> Does fontconfig work for you otherwise? If you type fc-list, do you get a
> list of fonts installed on your system? 

Yes.

> It may take a little while the 
> first time, while it builds the font cache, but the next time, it will
> print the list immediately.
>
> Next, don't try to play your subtitles, but instead:
>
> mplayer -fontconfig -font "Courier New" x11.avi.
>
> Is your On Screen Display in Courier New?

No, mplayer crashes immediately.

> If both tests were successful, then fontconfig and freetype2 are OK
> and you have another problem.
>
> You did not post your command line, so I am guessing that you did not run
> 'mplayer -v ...'. Also, you should follow the instruction is the message
> that told you about the crash.

Today I compiled mplayer with cygwin, instead of mingw. It seemed to me that 
it was a lot easier. The setup allows to install a lot of precompiled 
packages, including fontconfig. (And to make things easier I only installed 
packages from the setup).

There was a problem with an undefined reference to `_llrint' but I found a 
patch (http://article.gmane.org/gmane.comp.video.ffmpeg.devel/37442).

This build works but it has exactly the same problem as the mingw build. It 
crashed when trying to use fontconfig.

This is with -fontconfig -font Arial, mplayer crashes immediately:

$ gdb ./mplayer.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) set args  "/home/ricardo/Mis documentos/Videos/3x11.avi" -fontconfig -fo
nt Arial -v
(gdb) run
Starting program: /home/ricardo/Mis documentos/cygwin/mplayer/mplayer.exe 
"/home
/ricardo/Mis documentos/Videos/3x11.avi" -fontconfig -font Arial -v
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/gdi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/user32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/ole32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/msvcrt.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/opengl32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/glu32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/ddraw.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/dciman32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/shell32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/shlwapi.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/winmm.dll
MPlayer dev-SVN-r25242-3.4.4 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 4, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/ricardo/.mplayer/codecs.conf'
Reading /home/ricardo/.mplayer/codecs.conf: Can't open 
'/home/ricardo/.mplayer/c
odecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --enable-static --enable-debug --enable-runtime-cpudetection 
--co
decsdir=codecs
CommandLine: '/home/ricardo/Mis documentos/Videos/3x11.avi' '-fontconfig' 
'-font
' 'Arial' '-v'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/ricardo/.mplayer/fonts'
Using Windows native timing
get_path('input.conf') -> '/home/ricardo/.mplayer/input.conf'
Can't open input config file /home/ricardo/.mplayer/input.conf: No such file 
or
directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file 
or
directory
Falling back on default (hardcoded) input config
get_path('3x11.avi.conf') -> '/home/ricardo/.mplayer/3x11.avi.conf'
 
Playing /home/ricardo/Mis documentos/Videos/3x11.avi.
get_path('sub/') -> '/home/ricardo/.mplayer/sub/'
[file] File size is 367501312 bytes
STREAM: [file] /home/ricardo/Mis documentos/Videos/3x11.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: avi format
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 62608   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  624 x 352
==========================
list_end=0x10F4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 24000/1001 = 23.976
Start: 0   Len: 62608
Suggested BufferSize: 77580
Quality 10000
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 624
  biHeight 352
  biPlanes 1
  biBitCount 12
  biCompression 1145656920='XVID'
  biSizeImage 1317888
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x2186
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 108802
Suggested BufferSize: 768
Quality -1
Sample size: 0
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16204
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=388
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
==========================================================================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=62608)
list_end=0x22BC
hdr=Software  size=21
Software  : VirtualDubMod 1.4.13
list_end=0x15BDC64A
Found movie at 0x280C - 0x15BDC64A
Reading INDEX block, 171410 chunks for 62608 frames (fpos=364758610).
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=321031850 (62608) audio size=42313728 (108802)
VIDEO:  [XVID]  624x352  12bpp  23.976 fps  983.5 kbps (120.1 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:624x352  fps:23.98  ftime:=0.0417
Clip info:
 Software: VirtualDubMod 1.4.13
get_path('sub/') -> '/home/ricardo/.mplayer/sub/'
[file] File size is 51887 bytes
STREAM: [file] /home/ricardo/Mis documentos/Videos/3x11.srt
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
SUB: Detected subtitle file format: subviewer
SUB: Read 643 subtitles.
SUB: Added subtitle file (1): /home/ricardo/Mis documentos/Videos/3x11.srt
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>10 BGR16 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12  supported
<vo_directx><FORMAT OVERLAY>1 I420  not supported
<vo_directx><FORMAT OVERLAY>2 IYUV  not supported
<vo_directx><FORMAT OVERLAY>3 YVU9  supported
<vo_directx><FORMAT OVERLAY>4 YUY2  supported
<vo_directx><FORMAT OVERLAY>5 UYVY  supported
<vo_directx><FORMAT OVERLAY>6 BGR8  not supported
<vo_directx><FORMAT OVERLAY>7 RGB15 not supported
<vo_directx><FORMAT OVERLAY>8 BGR15 not supported
<vo_directx><FORMAT OVERLAY>9 RGB16 not supported
<vo_directx><FORMAT OVERLAY>10 BGR16 not supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 not supported
<vo_directx><FORMAT OVERLAY>14 BGR32 not supported
<vo_directx><INFO>Your card supports 4 of 15 overlayformats
<vo_directx><INFO>can mirror up down
<vo_directx><INFO>hardware supports overlay
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: Yes, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao_dsound: Output Devices:
0 Controlador primario de sonido <--
1 Realtek AC97 Audio
2 Línea #1 del módem (emulada)
 
[1]+  Stopped                 gdb ./mplayer.exe
 
ricardo at avalon ~/Mis documentos/cygwin/mplayer
$ fg 1
gdb ./mplayer.exe
---Type <return> to continue, or q <return> to quit---
 
ao_dsound: DirectSound initialized
ao_dsound: Samplerate:48000Hz Channels:2 Format:s16le
ao_dsound: Buffersize:192000 bytes (1000 msec)
ao_dsound: primary buffer created
ao_dsound: secondary (stream)buffer created
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: Windows DirectSound audio output
AO: Author: Gabor Szecsi <deje at miki.hu>
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
XXX initial  v_pts=0.000  a_pos=7776 (0.480)
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
[ffmpeg] aspect_ratio: 1.772727
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO Config (624x352->624x352,flags=0,'MPlayer',0x32315659)
VO: [directx] 624x352 => 624x352 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
*** [vo] Allocating (slices) mp_image_t, 624x352x12bpp YUV planar, 329472 
bytes
*** [vo] Allocating (slices) mp_image_t, 624x352x12bpp YUV planar, 329472 
bytes
 
Program received signal SIGSEGV, Segmentation fault.
0x00983561 in FcFontSetMatch ()
(gdb) bt
#0  0x00983561 in FcFontSetMatch ()
#1  0x009835bb in FcFontMatch ()
#2  0x0057efb9 in load_font_ft (width=624, height=352, fontp=0xc90704,
    font_name=0x1d6cc18 "Arial") at font_load_ft.c:1151
#3  0x0057a890 in vo_update_osd (dxs=624, dys=352) at sub.c:1093
#4  0x0057ca23 in vo_draw_text (dxs=624, dys=352,
    draw_alpha=0x430d20 <draw_alpha>) at sub.c:1228
#5  0x00430fc5 in draw_osd () at vo_directx.c:185
#6  0x00477226 in control (vf=0x1d88150, request=7, data=0x0) at vf_vo.c:94
#7  0x00466f1e in filter_video (sh_video=0x1d7b1d0, frame=0x1d7fd30,
    pts=0.041708331555128098) at dec_video.c:415
#8  0x00407469 in main (argc=6, argv=0x1d61e88) at mplayer.c:2052
(gdb)

And this is with -ass, mplayer crashes when the first subtitle is about to 
show:

$ gdb ./mplayer.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) set args  "/home/ricardo/Mis documentos/Videos/3x11.avi" -ass
(gdb) run
Starting program: /home/ricardo/Mis documentos/cygwin/mplayer/mplayer.exe 
"/home
/ricardo/Mis documentos/Videos/3x11.avi" -ass
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/gdi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/user32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/ole32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/msvcrt.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/opengl32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/glu32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/ddraw.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/dciman32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/shell32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/shlwapi.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/winmm.dll
MPlayer dev-SVN-r25242-3.4.4 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 4, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
 
Playing /home/ricardo/Mis documentos/Videos/3x11.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  624x352  12bpp  23.976 fps  983.5 kbps (120.1 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.4.13
SUB: Detected subtitle file format: subviewer
SUB: Read 643 subtitles.
SUB: Added subtitle file (1): /home/ricardo/Mis documentos/Videos/3x11.srt
[ass] auto-open
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
 
[1]+  Stopped                 gdb ./mplayer.exe
 
ricardo at avalon ~/Mis documentos/cygwin/mplayer
$ fg 1
gdb ./mplayer.exe
---Type <return> to continue, or q <return> to quit---
 
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
VDec: vo config request - 624 x 352 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.77:1 - prescaling to correct movie aspect.
VO: [directx] 624x352 => 624x352 Planar YV12
[ass] PlayResX undefined, setting 511.00   1/  1 ??% ??% ??,?% 0 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:   0.5 V:   0.5 A-V: -0.007 ct: -0.005  14/ 14  2%  2%  3.0% 0 0
Program received signal SIGSEGV, Segmentation fault.
_select_font (priv=0x0, family=0x1dfe088 "Sans", bold=80, italic=0,
    index=0x22b498, code=0) at ass_fontconfig.c:96
96              for (curf = 0; curf < fset->nfont; ++curf) {
(gdb) bt
#0  _select_font (priv=0x0, family=0x1dfe088 "Sans", bold=80, italic=0,
    index=0x22b498, code=0) at ass_fontconfig.c:96
#1  0x008c17db in fontconfig_select (priv=0x1d91958, family=0x1dfe088 "Sans",
    bold=80, italic=0, index=0x22b498, code=0) at ass_fontconfig.c:157
#2  0x008c2899 in add_face (fc_priv=0x22b3d0, font=0x1dfe088, ch=80)
    at ass_font.c:126
#3  0x01dfe088 in ?? ()
#4  0x00000050 in ?? ()
#5  0x00000000 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y

I noticed the text that says:
"Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers."

The mingw build doesn't print this warning, but it has the same behavior and 
crashes at the same point, so I think the crash is not related to that 
warning. And just running 'mplayer.exe -font any_font.ttf' (so no fontconfig 
used) works.

This is how mplayer was configured:
./configure --enable-static --enable-debug --enable-runtime-cpudetection 
--codecsdir=codecs

I attach the whole configure log, in case it's needed.

-- 
RVM
-------------- next part --------------
Detected operating system: CYGWIN
Detected host architecture: i386
Checking for cc version ... 3.4.4, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for GCC & CPU optimization abilities ... i486
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/as.exe 2.17.50) ... ok
Checking for .align is a power of two ... no
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages: en )
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... yes
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for inet_pton() ... yes (using )
Checking for network ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using )
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... no
Checking for dvd.h ... no
Checking for termcap ... yes (using -ltermcap)
Checking for termios ... yes (sys/termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... no
Checking for pkg-config ... no
Checking for Samba support (libsmbclient) ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... no (check if the dev(el) packages are installed)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for DPMS ... no
Checking for Xv ... no
Checking for XvMC ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for XF86keysym ... no
Checking for DGA ... no
Checking for 3dfx ... no
Checking for OpenGL ... yes (win32 version)
Checking for VIDIX ... yes (internal)
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for DVB ... no
Checking for DVB HEAD ... no
Checking for zr ... no
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for Windows waveout ... yes
Checking for Directx ... yes
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out ... no
Checking for V4L2 MPEG Decoder ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for pulse ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... no (not supported on this OS)
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for SSA/ASS support ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... no
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for internal mp3lib support ... yes
Checking for internal liba52 support ... yes
Checking for libdca support ... no
Checking for internal libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC (AAC encoder) support ... no (in libavcodec: )
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no
Checking for Win32 codecs ... yes (using native windows)
Checking for XAnim codecs ... yes (using codecs)
Checking for RealPlayer codecs ... yes (using codecs)
Checking for QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for libamr narrowband ... no
Checking for libamr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for XviD ... no
Checking for x264 ... no (in libavcodec: no)
Checking for libnut ... no
Checking for libmp3lame (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for DirectShow TV interface ... yes
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for TV teletext interface ... yes
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... no
Checking for audio select() ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... no
Checking for gethostbyname2 ... no
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... no
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for color console output ... no
Checking for DVD support (libdvdnav) ... no
Creating config.mak
Creating config.h
./configure: line 8494: cmp: command not found
 
Config files successfully generated by ./configure --enable-static --enable-debug --enable-runtime-cpudetection --codecsdir=codecs !
 
  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer
 
  Byte order: little-endian
  Optimizing for: Runtime CPU-Detection enabled
 
  Languages:
    Messages/GUI: en
    Manual pages: en
 
  Enabled optional drivers:
    Input: ftp tv-teletext tv-dshow tv libdvdcss(internal) dvdread(internal) network
    Codecs: libavcodec qtx real xanim win32 faad2 libmpeg2 liba52 mp3lib tremor(internal)
    Audio output: oss dsound win32 mpegpes(file)
    Video output: directx pnm jpeg png mpegpes(file) winvidix cvidix opengl md5sum tga
    Audio filters:
  Disabled optional drivers:
    Input: dvdnav vstream pvr radio tv-v4l2 tv-v4l1 live555 nemesi cddb cdda vcd dvb smb
    Codecs: x264 xvid libdv libamr_wb libamr_nb faac musepack libdca libtheora speex toolame twolame libmad liblzo gif
    Audio output: sun alsa openal jack pulse esd arts v4l2 ivtv dxr2 nas sdl
    Video output: v4l2 ivtv dxr3 dxr2 sdl vesa gif89a zr zr2 fbdev svga caca aa ggi xmga mga xvidix 3dfx dga xvmc xv x11 dfbmga directfb bl xvr100 tdfx_vid s3fb tdfxfb
    Audio filters: ladspa
 
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***
 
'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
 
Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)
 
Check configure.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).
 
NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-gui and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.
 
If you suspect a bug, please read DOCS/HTML/en/bugreports.html.


More information about the MPlayer-cygwin mailing list