[MPlayer-users] remote X display problem - full bugreport

Götz Waschk waschk at informatik.uni-rostock.de
Wed Sep 4 10:24:02 CEST 2002


Am Mittwoch,  4. September 2002, 08:10:39 Uhr MET, schrieb Stefan Recksiegel:
> > If I ssh from one machine to another with enabled X forwarding, 
> > mplayer -vo x11 -novm -nofs -ao null blabla.avi
> > doesn't play the movie, but gives me an error message like
> > X11 error: BadAccess (attempt to access private resource denied)
> > Aborted
> can you open other windows via that ssh connection (ie. xterm/gv/...) ?
> I have seen some installations where X11 forwarding was off by default,
> in that case it can be enabled with ssh -X (-x: disable)

Yes, the X forwarding is working.
 
> If other programs work, I would think that mplayer tries to use
> some extension like Shm and this won't work over a forwarded
> connection. I am not sure whether you can dynamically switch this
> off, though. Did you try -vo sdl ?

That seems to be the problem. SDL output didn't work either, but isn't
included in the following bug report:

Here's the info about my system:

OS: Mandrake Linux 9.0rc1

[goetz at abgrund MPlayer]$ uname -a
Linux abgrund.de 2.4.19-7mdk #1 Fri Aug 30 07:19:03 CEST 2002 i686 unknown unknown GNU/Linux

[goetz at abgrund MPlayer]$ ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      1147848 Aug 19 12:17 /lib/libc-2.2.5.so*
lrwxr-xr-x    1 root     root           13 Aug 19 20:26 /lib/libc.so.6 -> libc-2.2.5.so*

[goetz at abgrund MPlayer]$ X -version
XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 11 March 2002
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF] 
Module Loader present

[goetz at abgrund MPlayer]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)
[goetz at abgrund MPlayer]$ ld -v
GNU ld version 2.12.90.0.15 20020717

[goetz at abgrund MPlayer]$ as --version
GNU assembler 2.12.90.0.15 20020717
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i586-mandrake-linux-gnu'.
[goetz at abgrund MPlayer]$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 6
model name	: Celeron (Mendocino)
stepping	: 0
cpu MHz		: 334.097
cache size	: 128 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips	: 666.82

GFX board: Nvidia TNT



The system with the output display:

OS: Mandrake Linux 8.2

[covarubias at heaven covarubias]$ X -version

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-1mdksmp i686 [ELF] 
Module Loader present

GFX board: ATI Radeon 7200

About the attached files: there are two log files of mplayer, one with
the ssh forwarded X and one with DISPLAY set to the remote X server
and disabled access control (xhost +).

-- 
   Götz Waschk <> master of computer science  <> University of Rostock    
 http://wwwtec.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--
-------------- next part --------------
[goetz at abgrund videos]$ export DISPLAY=heaven:0
[goetz at abgrund videos]$ ~/RPM/BUILD/MPlayer/mplayer -vo x11 -v -v -nofs -novm -ao null koukaku.mpg 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer CVS-020903-17:21-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

/etc/mplayer/mplayer.conf(17): option: fs
/etc/mplayer/mplayer.conf(17): parameter: yes
/etc/mplayer/mplayer.conf(123): option: framedrop
/etc/mplayer/mplayer.conf(123): parameter: yes
/etc/mplayer/mplayer.conf(130): option: cache
/etc/mplayer/mplayer.conf(130): parameter: 8192
/home/goetz/.mplayer/config(11): option: vo
/home/goetz/.mplayer/config(11): parameter: sdl
/home/goetz/.mplayer/config(14): option: ao
/home/goetz/.mplayer/config(14): parameter: oss
/home/goetz/.mplayer/config(17): option: fs
/home/goetz/.mplayer/config(17): parameter: yes
/home/goetz/.mplayer/config(30): option: vm
/home/goetz/.mplayer/config(30): parameter: yes
/home/goetz/.mplayer/config(38): option: zoom
/home/goetz/.mplayer/config(38): parameter: no
/home/goetz/.mplayer/config(59): option: skin
/home/goetz/.mplayer/config(59): parameter: neutron
/home/goetz/.mplayer/config(73): option: sound
/home/goetz/.mplayer/config(73): parameter: 1
/home/goetz/.mplayer/config(74): option: nosound
/home/goetz/.mplayer/config(74): parameter: nein
/home/goetz/.mplayer/config(75): option: mixer
/home/goetz/.mplayer/config(75): parameter: /dev/mixer
/home/goetz/.mplayer/config(86): option: ffactor
/home/goetz/.mplayer/config(86): parameter: 3/4
/home/goetz/.mplayer/config(127): option: framedrop
/home/goetz/.mplayer/config(127): parameter: yes
/home/goetz/.mplayer/config(134): option: cache
/home/goetz/.mplayer/config(134): parameter: 8192
/home/goetz/.mplayer/config(148): option: osdlevel
/home/goetz/.mplayer/config(148): parameter: 1
Reading /home/goetz/.mplayer/codecs.conf: can't open '/home/goetz/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 38 audio & 107 video codecs
CommandLine: '-vo' 'x11' '-v' '-v' '-nofs' '-novm' '-ao' 'null' 'koukaku.mpg'
get_path('font/font.desc') -> '/home/goetz/.mplayer/font/font.desc'
font: Reading section: [info]
font: Reading section: [files]
RAW: /home/goetz/.mplayer/font//iso-8859-1-a.raw  3216 x 22, 256 colors
RAW: /home/goetz/.mplayer/font//iso-8859-1-b.raw  3216 x 22, 256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW: /home/goetz/.mplayer/font//osd-mplayer-a.raw  416 x 25, 256 colors
RAW: /home/goetz/.mplayer/font//osd-mplayer-b.raw  416 x 25, 256 colors
font: Reading section: [characters]
font: resampling alpha by factor 0,750 (192) DONE!
font: resampling alpha by factor 0,750 (192) DONE!
Font /home/goetz/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/goetz/.mplayer/input.conf'
Parsing input config file /home/goetz/.mplayer/input.conf
Input config file /home/goetz/.mplayer/input.conf parsed : 53 binds
Opening joystick device /dev/input/js0

[[[init getch2]]]

Playing koukaku.mpg
Not an URL!
File size is 36464644 bytes
shmem: 64 bytes allocated using mmap anon (0x40023000)
shmem: 8388608 bytes allocated using mmap anon (0x4146c000)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill:  0,00% (0 bytes)    CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x0  
Checking for YUV4MPEG2
Failed: YUV4MPEG2
DEMUXER: freeing demuxer at 0x83d07c0  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x83d07c0  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x83d07c0  
Checking for MOV
DEMUXER: freeing demuxer at 0x83d07c0  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x83d07c0  
Checking for REAL
DEMUXER: freeing demuxer at 0x83d07c0  
DEMUXER: freeing demuxer at 0x83d07c0  
DEMUXER: freeing demuxer at 0x83d07c0  
DEMUXER: freeing demuxer at 0x83d07c0  
DEMUXER: freeing demuxer at 0x83d07c0  
OGG demuxer : Bad page sync
DEMUXER: freeing demuxer at 0x83d07c0  
CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x1000  
system stream synced at 0xB (0)!
not layer-3
not layer-3
==> Found video stream: 0
DEMUX_MPG: Read 2018 data bytes from packet 01E0
DEMUX: Append packet to d_video, len=2018  pts=0,492  pos=2059  [packs: A=0 V=1]
demux: 2040 bad bytes skipped
Detected MPEG-PS file format!
==> Found audio stream: 0
DEMUX_MPG: Read 2023 data bytes from packet 01C0
DEMUX: Append packet to d_audio, len=2023  pts=0,492  pos=4107  [packs: A=1 V=0]
demux: 7 bad bytes skipped
Searching for sequence header... OK!
videobuf: packet 0x1B3  len=76  (total=76)
mpeg bitrate: 262143 (3FFFF)
VIDEO:  MPEG1  720x480  (aspect 12)  23,98 fps  131071,5 kbps (16383,9 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:720x480  fps:23,98  ftime:=0,0417
get_path('sub/') -> '/home/goetz/.mplayer/sub/'
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 48000 Hz 128 kbit Stereo, BPF: 384
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->192000 (128,0 kbit)
X11 opening display: heaven:0
X11 error: XF86VidModeExtensionDisabled
Type: 0, display: 838b5b8, resourceid: 3e, serial: a
Error code: 96, request code: 89, minor code: e
Aborted
[goetz at abgrund videos]$ 
-------------- next part --------------
[goetz at abgrund videos]$ ~/RPM/BUILD/MPlayer/mplayer -v -v -vo x11 -nofs -novm -ao null koukaku.mpg 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer CVS-020903-17:21-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

/etc/mplayer/mplayer.conf(17): option: fs
/etc/mplayer/mplayer.conf(17): parameter: yes
/etc/mplayer/mplayer.conf(123): option: framedrop
/etc/mplayer/mplayer.conf(123): parameter: yes
/etc/mplayer/mplayer.conf(130): option: cache
/etc/mplayer/mplayer.conf(130): parameter: 8192
/home/goetz/.mplayer/config(11): option: vo
/home/goetz/.mplayer/config(11): parameter: sdl
/home/goetz/.mplayer/config(14): option: ao
/home/goetz/.mplayer/config(14): parameter: oss
/home/goetz/.mplayer/config(17): option: fs
/home/goetz/.mplayer/config(17): parameter: yes
/home/goetz/.mplayer/config(30): option: vm
/home/goetz/.mplayer/config(30): parameter: yes
/home/goetz/.mplayer/config(38): option: zoom
/home/goetz/.mplayer/config(38): parameter: no
/home/goetz/.mplayer/config(59): option: skin
/home/goetz/.mplayer/config(59): parameter: neutron
/home/goetz/.mplayer/config(73): option: sound
/home/goetz/.mplayer/config(73): parameter: 1
/home/goetz/.mplayer/config(74): option: nosound
/home/goetz/.mplayer/config(74): parameter: nein
/home/goetz/.mplayer/config(75): option: mixer
/home/goetz/.mplayer/config(75): parameter: /dev/mixer
/home/goetz/.mplayer/config(86): option: ffactor
/home/goetz/.mplayer/config(86): parameter: 3/4
/home/goetz/.mplayer/config(127): option: framedrop
/home/goetz/.mplayer/config(127): parameter: yes
/home/goetz/.mplayer/config(134): option: cache
/home/goetz/.mplayer/config(134): parameter: 8192
/home/goetz/.mplayer/config(148): option: osdlevel
/home/goetz/.mplayer/config(148): parameter: 1
Reading /home/goetz/.mplayer/codecs.conf: can't open '/home/goetz/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 38 audio & 107 video codecs
CommandLine: '-v' '-v' '-vo' 'x11' '-nofs' '-novm' '-ao' 'null' 'koukaku.mpg'
get_path('font/font.desc') -> '/home/goetz/.mplayer/font/font.desc'
font: Reading section: [info]
font: Reading section: [files]
RAW: /home/goetz/.mplayer/font//iso-8859-1-a.raw  3216 x 22, 256 colors
RAW: /home/goetz/.mplayer/font//iso-8859-1-b.raw  3216 x 22, 256 colors
font: Reading section: [characters]
font: Reading section: [files]
RAW: /home/goetz/.mplayer/font//osd-mplayer-a.raw  416 x 25, 256 colors
RAW: /home/goetz/.mplayer/font//osd-mplayer-b.raw  416 x 25, 256 colors
font: Reading section: [characters]
font: resampling alpha by factor 0,750 (192) DONE!
font: resampling alpha by factor 0,750 (192) DONE!
Font /home/goetz/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/goetz/.mplayer/input.conf'
Parsing input config file /home/goetz/.mplayer/input.conf
Input config file /home/goetz/.mplayer/input.conf parsed : 53 binds
Opening joystick device /dev/input/js0

[[[init getch2]]]

Playing koukaku.mpg
Not an URL!
File size is 36464644 bytes
shmem: 64 bytes allocated using mmap anon (0x40023000)
shmem: 8388608 bytes allocated using mmap anon (0x4146c000)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill: 18,07% (1515520 bytes)    CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x0  
Checking for YUV4MPEG2
Failed: YUV4MPEG2
DEMUXER: freeing demuxer at 0x83d07c0  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x83d07c0  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x83d07c0  
Checking for MOV
DEMUXER: freeing demuxer at 0x83d07c0  
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x83d07c0  
Checking for REAL
DEMUXER: freeing demuxer at 0x83d07c0  
DEMUXER: freeing demuxer at 0x83d07c0  
DEMUXER: freeing demuxer at 0x83d07c0  
DEMUXER: freeing demuxer at 0x83d07c0  
DEMUXER: freeing demuxer at 0x83d07c0  
OGG demuxer : Bad page sync
DEMUXER: freeing demuxer at 0x83d07c0  
CACHE2_SEEK: 0x0 <= 0x0 (0x0) <= 0x1000  
system stream synced at 0xB (0)!
not layer-3
not layer-3
==> Found video stream: 0
DEMUX_MPG: Read 2018 data bytes from packet 01E0
DEMUX: Append packet to d_video, len=2018  pts=0,492  pos=2059  [packs: A=0 V=1]
demux: 2040 bad bytes skipped
Detected MPEG-PS file format!
==> Found audio stream: 0
DEMUX_MPG: Read 2023 data bytes from packet 01C0
DEMUX: Append packet to d_audio, len=2023  pts=0,492  pos=4107  [packs: A=1 V=0]
demux: 7 bad bytes skipped
Searching for sequence header... OK!
videobuf: packet 0x1B3  len=76  (total=76)
mpeg bitrate: 262143 (3FFFF)
VIDEO:  MPEG1  720x480  (aspect 12)  23,98 fps  131071,5 kbps (16383,9 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:720x480  fps:23,98  ftime:=0,0417
get_path('sub/') -> '/home/goetz/.mplayer/sub/'
==========================================================================
Detected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer II, 48000 Hz 128 kbit Stereo, BPF: 384
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->192000 (128,0 kbit)
X11 opening display: localhost:10.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":10.0" => local display)
[x11] Detected wm is of class NetWM.
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
vo_x11: query_format was called: 4d504553 (Mpeg PES)
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
vo_debug: query(Mpeg PES) returned 0x0 (i=0) 
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using MMX for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
vo_x11: query_format was called: 32315659 (Planar YV12)
vo_debug: query(Planar YV12) returned 0x445 (i=0) 
vo_x11: query_format was called: 30323449 (Planar I420)
vo_debug: query(Planar I420) returned 0x445 (i=1) 
vo_x11: query_format was called: 56555949 (Planar IYUV)
vo_debug: query(Planar IYUV) returned 0x445 (i=2) 
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
VO: [x11] 720x480 => 720x540 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
X11 error: BadAccess (attempt to access private resource denied)
Type: 0, display: 838b5b8, resourceid: 2000006, serial: 31
Error code: a, request code: 91, minor code: 1
Aborted
-------------- next part --------------
/* -------- This file has been automatically generated by configure ---------
   Note: Any changes in it will be lost when you run configure again. */

/* use GNU internationalization */
#define USE_I18N 1

/* use setlocale() function */
#define USE_SETLOCALE 1

/* Runtime CPU detection */
#undef RUNTIME_CPUDETECT

/* "restrict" keyword */
#define restrict __restrict

#define PREFIX "/usr"

/* define this to use simple idct with patched libavcodec */
#define SIMPLE_IDCT 1

#define USE_OSD 1
#define USE_SUB 1

/* enable/disable SIGHANDLER */
#undef ENABLE_SIGHANDLER

/* Toggles debugging informations */
#define MP_DEBUG 1

/* Indicates that Ogle's libdvdread is available for DVD playback */
#define USE_DVDREAD 1

/* Indicates that dvdread is from libmpdvdkit */
#define USE_MPDVDKIT 2

/* Additional options for libmpdvdkit*/
#undef DVD_STRUCT_IN_DVD_H
#define DVD_STRUCT_IN_LINUX_CDROM_H 1
#undef DVD_STRUCT_IN_SYS_CDIO_H
#undef DVD_STRUCT_IN_SYS_DVDIO_H
#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H
#undef HAVE_BSD_DVD_STRUCT
#define HAVE_LINUX_DVD_STRUCT 1
#undef HAVE_OPENBSD_DVD_STRUCT
#undef SOLARIS_USCSI
#define HAVE_STDDEF_H 1

/* Common data directory (for fonts, etc) */
#define DATADIR "/usr/share/mplayer"
#define CONFDIR "/etc/mplayer"
#define LIBDIR "/usr/lib"

/* Define this to compile stream-caching support, it can be enabled via
   -cache <kilobytes> */
#define USE_STREAM_CACHE 1

/* Define to include support for XviD/Divx4Linux/OpenDivx */
#define USE_DIVX 1

/* Define to use the new XviD/DivX4Linux library instead of open source OpenDivX */
/* You have to change DECORE_LIBS in config.mak, too! */
#define NEW_DECORE 1

/* Define if you are using DivX5Linux Decore library */
#undef DECORE_DIVX5

/* Define if you are using XviD library */
#define HAVE_XVID 1

/* Define if you have divx4.h in place of decore.h */
#define HAVE_DIVX4_H 1

/* Define to include support for libdv-0.9.5 */
#undef HAVE_LIBDV095

/* If build mencoder */
#define HAVE_MENCODER

/* Indicates if XviD/Divx4linux encore is available
   Note: for mencoder */
#define HAVE_DIVX4ENCORE 1

/* Indicates if libmp3lame is available
   Note: for mencoder */
#define HAVE_MP3LAME 1

/* Define libmp1e for realtime mpeg encoding (for DXR3 and DVB cards) */
#undef USE_MP1E

/* Define this to enable avg. byte/sec-based AVI sync method by default:
   (use -bps or -nobps commandline option for run-time method selection)
   -bps gives better sync for vbr mp3 audio, it is now default */
#define AVI_SYNC_BPS 1

/* Undefine this if you do not want to select mono audio (left or right)
   with a stereo MPEG layer 2/3 audio stream. The command line option
   -stereo has three possible values (0 for stereo, 1 for left-only, 2 for
   right-only), with 0 being the default.
   */
#define USE_FAKE_MONO 1

/* Undefine this if your sound card driver has no working select().
   If you have kernel Oops, player hangups, or just no audio, you should
   try to recompile MPlayer with this option disabled! */
#define HAVE_AUDIO_SELECT 1

/* define this to use iconv(3) function to codepage conversions */
#define USE_ICONV 1

/* define this to use RTC (/dev/rtc) for video timers (LINUX only) */
#define HAVE_RTC 1

/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536

/* set up audio OUTBURST. Do not change this! */
#define OUTBURST 512

/* Define this if your system has the header file for the OSS sound interface */
#define HAVE_SYS_SOUNDCARD_H 1

/* Define this if your system has the header file for the OSS sound interface
 * in /usr/include */
#undef HAVE_SOUNDCARD_H

/* Define this if your system has the sysinfo header */
#define HAVE_SYS_SYSINFO_H 1

/* Define this if your system uses ftello() for off_t seeking */

#define HAVE_FTELLO 1
#ifndef HAVE_FTELLO
# define ftello(a) ftell(a)
#endif

/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1

/* memalign is mapped to malloc if unsupported */
#define HAVE_MEMALIGN 1
#ifndef HAVE_MEMALIGN
# define memalign(a,b) malloc(b)
#endif

/* Define this if your system has the "alloca.h" header file */
#define HAVE_ALLOCA_H 1

/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1

/* Define this if you have the elf dynamic linker -ldl library */
#define HAVE_LIBDL 1

/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT

/* Define this if you have zlib */
#define HAVE_ZLIB 1

/* Define this if you have shm support */
#define HAVE_SHM 1

/* Define this if your system has strsep */
#define HAVE_STRSEP 1

/* Define this if your system has vsscanf */
#define HAVE_VSSCANF 1

/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC

/* DeCSS support using libcss */
#undef HAVE_LIBCSS

/* DVD navigation support using libdvdnav */
#undef USE_DVDNAV


/* Define this to enable MPEG 1/2 image postprocessing (requires a FAST CPU!) */
#define MPEG12_POSTPROC 1

/* Define this to enable image postprocessing in libavcodec (requires a FAST CPU!) */
#define FF_POSTPROCESS 1

/* Define to include support for OpenDivx postprocessing */
#undef HAVE_ODIVX_POSTPROCESS

/* Win32 DLL support */
#define USE_WIN32DLL 1

/* DirectShow support */
#define USE_DIRECTSHOW 1

/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC 1
#undef USE_LIBAVCODEC_SO

/* Use libavcodec's decoders */
#define CONFIG_DECODERS 1
/* Use libavcodec's encoders */
#define CONFIG_ENCODERS 1

/* Use libfame encoder filter */
#undef USE_LIBFAME

/* XAnim DLL support */
#define USE_XANIM 1
/* Default search path */
#define XACODEC_PATH "/usr/X11R6/lib/xanim/mods"

/* RealPlayer DLL support */
#define USE_REALCODECS 1
/* Default search path */
#define REALCODEC_PATH "/usr/lib/real"

/* LIVE.COM Streaming Media library support */
#undef STREAMING_LIVE_DOT_COM

/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY 1

/* gui support, please do not edit this option */
#define HAVE_NEW_GUI 1

/* Audio output drivers */
#define USE_OSS_AUDIO 1
#define PATH_DEV_DSP "/dev/sound/dsp"
#define PATH_DEV_MIXER "/dev/sound/mixer"
#undef HAVE_ALSA5
#define HAVE_ALSA9 1
#define USE_ARTS 1
#undef HAVE_SYS_ASOUNDLIB_H
#define HAVE_ALSA_ASOUNDLIB_H 1
#undef USE_SUN_AUDIO
#undef USE_SGI_AUDIO
#undef HAVE_NAS

/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE

/* Enable TV Interface support */
#define USE_TV 1

/* Enable Video 4 Linux TV interface support */
#define HAVE_TV_V4L 1

/* Enable *BSD BrookTree TV interface support */
#undef HAVE_TV_BSDBT848

/* Define if your processor stores words with the most significant
   byte first (like Motorola and SPARC, unlike Intel and VAX).  */
#undef WORDS_BIGENDIAN

#define ARCH_X86 1

/* Define this for Cygwin build for win32 */


/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ 686

#define TARGET_LINUX 1

#define HAVE_VCD 1

#ifdef sun
#define	DEFAULT_CDROM_DEVICE	"/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE	DEFAULT_CDROM_DEVICE
#elif defined(HPUX)
#define DEFAULT_CDROM_DEVICE    "/dev/cdrom:"
#define DEFAULT_DVD_DEVICE     "/dev/dvd"
#elif defined(WIN32)
#define DEFAULT_CDROM_DEVICE    "D:"
#define DEFAULT_DVD_DEVICE	"D:"
#else
#define DEFAULT_CDROM_DEVICE    "/dev/cdrom"
#define DEFAULT_DVD_DEVICE	"/dev/dvd"
#endif


/*----------------------------------------------------------------------------
**
** NOTE: Instead of modifying these definitions here, use the
**       --enable/--disable options of the ./configure script!
**       See ./configure --help for details.
**
*---------------------------------------------------------------------------*/

/* nanosleep support */
#define HAVE_NANOSLEEP 1

/* termcap flag for getch2.c */
#define USE_TERMCAP 1

/* termios flag for getch2.c */
#define HAVE_TERMIOS 1
#undef HAVE_TERMIOS_H
#define HAVE_SYS_TERMIOS_H 1

/* enable PNG support */
#define HAVE_PNG 1

/* enable JPEG support */
#define HAVE_JPEG 1

/* enable GIF support */
#define HAVE_GIF 1
#define HAVE_GIF_4 1

/* enable FreeType support */
#undef HAVE_FREETYPE

/* libmad support */
#define USE_LIBMAD 1

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable FAAD (AAC) support */
#define HAVE_FAAD 1

/* enable streaming */
#define STREAMING 1

/* define this to use inet_aton() instead of inet_pton() */
#undef USE_ATON

/* enables / disables cdparanoia support */
#define HAVE_CDDA

/* enables / disables vidix usage */
#define CONFIG_VIDIX 1

/* enables / disables new input joystick support */
#define HAVE_JOYSTICK 1

/* Extension defines */
#undef HAVE_3DNOW	// only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#undef HAVE_3DNOWEX	// only define if you have 3DNOWEX (AMD Athlon, etc.)
#define HAVE_MMX 1	// only define if you have MMX (newer x86 chips, not P54C/PPro)
#undef HAVE_MMX2	// only define if you have MMX2 (Athlon/PIII/4/CelII)
#undef HAVE_SSE	// only define if you have SSE (Intel Pentium III/4 or Celeron II)
#undef HAVE_SSE2	// only define if you have SSE2 (Intel Pentium 4)

#ifdef HAVE_MMX
#define USE_MMX_IDCT 1
#endif

#undef HAVE_MLIB  // Sun mediaLib, available only on solaris

/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB 1
#endif

/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11 1
#define HAVE_XV 1
#define HAVE_XF86VM 1
#define HAVE_XINERAMA 1
#define HAVE_GL 1
#define HAVE_DGA 1
#define HAVE_DGA2 1
#define HAVE_SDL 1
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef BUGGY_SDL
#define HAVE_GGI 1
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB

#undef HAVE_ZR
#undef HAVE_MGA
#undef HAVE_XMGA

#undef HAVE_FBDEV
#undef USE_CONVERT2FB
#undef HAVE_DXR2
#undef HAVE_DXR3
#undef HAVE_DVB
#undef HAVE_SVGALIB
#define HAVE_VESA 1
#define HAVE_XDPMS 1
#define HAVE_AA 1

/* used by GUI: */
#define HAVE_XSHAPE 1

#if defined(HAVE_GL) || defined(HAVE_X11) || defined(HAVE_XV)
#define X11_FULLSCREEN 1
#endif

-------------- next part --------------
# -------- Generated by configure -----------

LANG = C
TARGET_OS = Linux
DESTDIR =
prefix = $(DESTDIR)/usr
BINDIR = $(DESTDIR)/usr/bin
DATADIR = $(DESTDIR)/usr/share/mplayer
MANDIR = $(DESTDIR)/usr/man
CONFDIR = $(DESTDIR)/etc/mplayer
LIBDIR = $(DESTDIR)/usr/lib
#AR = ar
CC = gcc
AWK = mawk
RANLIB = ranlib
# OPTFLAGS = -O4  -g -march=pentium2 -mcpu=pentium2 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -W -Wall -O2 -march=pentium2 -mcpu=pentium2 -g  -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
EXTRA_INC = -I./libvo -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"
STRIPBINARIES = no



STREAMING = yes
STREAMING_LIVE_DOT_COM = no
STREAMING_LIB = -lnsl 
VIDIX = yes

OPENDIVX = no

PNG = yes
JPEG = yes
GIF = yes

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 

X11_INC = 
X11DIR = -L/usr/X11R6/lib -lX11 -lXext -lnsl

# for libavcodec:
SRC_PATH=.

# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -lmad -lnsl
GGI_LIB = -lggi
MLIB_LIB =  
MLIB_INC = 
DXR2_INC = 
DVB_INC = 
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
GIF_LIB = -lgif
SDL_LIB = -L/usr/lib -lSDL -lpthread
SVGA_LIB = 
AA_LIB = -laa

# audio output
ALSA_LIB = -lasound -ldl -lpthread
NAS_LIB = 
MAD_LIB = -lmad
ARTS_LIB = -L/usr/lib -ldl -lartsc -lpthread
ARTS_INC = -I/usr/include/artsc
VORBIS_LIB = -lvorbis -logg
FAAD_LIB = -lfaad
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = -Llibmpdvdkit2 -lmpdvdkit
DVDKIT = no
DVDKIT2 = yes
DVDKIT_SHARED = no
SDL_INC = -I/usr/include/SDL -D_REENTRANT
W32_DEP = loader/libloader.a
W32_LIB = loader/libloader.a
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = loader/dshow/libDS_Filter.a
AV_DEP = libavcodec/libavcodec.a
AV_LIB = libavcodec/libavcodec.a
FAME = no
FAME_LIB = 
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl -rdynamic 
DIVX4LINUX = no
XVID = yes
XVID_LIB = -lxvidcore
DECORE_LIB =  
MENCODER = yes
ENCORE_LIB =  -lxvidcore -lmp3lame -lvorbis -logg
DIRECTFB_INC = 
DIRECTFB_LIB = 
CDPARANOIA_INC = 
CDPARANOIA_LIB =  -lcdda_interface -lcdda_paranoia
FREETYPE_INC = 
FREETYPE_LIB = 

# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86 = yes
TARGET_CYGWIN = no
TARGET_CPU=686
TARGET_MMX = yes
TARGET_MMX2 = no
TARGET_3DNOW = no
TARGET_3DNOWEX = no
TARGET_SSE = no

# --- GUI stuff ---
GTKLIB =  -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
GLIBLIB =   -lglib
GTK_LIBS =   $(GTKLIB) $(GLIBLIB)
GUI = yes
DEBUG = -DDEBUG

-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS =  x11_common.c vo_x11.c vo_xv.c vo_dga.c vo_gl.c vo_gl2.c vo_ggi.c vo_aa.c vo_png.c vo_jpeg.c vo_gif89a.c vo_vesa.c vesa_lvo.c vo_sdl.c vo_xvidix.c
OPTIONAL_OBJS = x11_common.o vo_x11.o vo_xv.o vo_dga.o vo_gl.o vo_gl2.o vo_ggi.o vo_aa.o vo_png.o vo_jpeg.o vo_gif89a.o vo_vesa.o vesa_lvo.o vo_sdl.o vo_xvidix.o


More information about the MPlayer-users mailing list