[MPlayer-users] Bugs, questions

Bogdán Zaválnij bogdan at renyi.hu
Sat Mar 23 17:33:02 CET 2002


> > I've read all, but found no answers to them.. :-(
> > 
> > 
> > my system description:
> > 
> > RedHat 7.1
> > 
> > > judit ~ > gcc -v
> > > Reading specs from
> > > /contrib/gcc-2.95/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
> > > gcc version 2.95.3 20010315 (release)
> > > judit ~ > ld -v
> > > GNU ld version 2.11.2 (with BFD 2.11.2)
> > > judit ~ > rpm -q SDL
> > > SDL-1.2.3-1
> > > judit ~ > rpm -q SDL-devel
> > > SDL-devel-1.2.3-1
> > > 
> > 
> > a) CVD dated 020320 and 20020321 does not compile:
> > 
> > > libmpdemux/libmpdemux.a(demux_ogg.o): In function `demux_ogg_add_packet':
> > > demux_ogg.o(.text+0x9b): undefined reference to `vorbis_packet_blocksize'
> > > collect2: ld returned 1 exit status
> > > make: *** [mplayer] Error 1
> > > 
> > 
> > where is the problem?
> 
> Not enough information error. read bugreports.html
> <guess>check your ogg installation</guess>
> 
OK, let's do it your way.. (althought personally I think it would be too
mutch to read..)

* Redhat 7.1
* Linux judit 2.4.17 #6 Sat Mar 23 00:14:19 MET 2002 i686 unknown
* -rwxr-xr-x    1 root     root      1236396 Apr  6  2001
  /lib/libc-2.2.2.so
  lrwxrwxrwx    1 root     root           13 Feb  5 05:51 /lib/libc.so.6
  -> libc-2.2.2.so
* XFree86 Version 4.0.3 / X Window System
  (protocol Version 11, revision 0, vendor release 6400)
  Release Date: 16 March 2001
* Reading specs from /contrib/gcc-2.95/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
  gcc version 2.95.3 20010315 (release)
* GNU ld version 2.11.2 (with BFD 2.11.2)
* GNU assembler 2.11.2
  This assembler was configured for a target of `i686-pc-linux-gnu'.

* judit ~ > cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 3
model name	: Pentium II (Klamath)
stepping	: 4
cpu MHz		: 300.689
cache size	: 512 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 sep mtrr pge mca cmov
mmx
bogomips	: 599.65

* (--) PCI:*(1:0:0) NVidia Riva TNT rev 4, Mem @ 0xe4000000/24, 0xe6000000/24

* no extra video drivers (using the sole XFree86 4.0.3)

* Multimedia audio controller: ESS Technology ES1969 Solo-1 Audiodrive
  (rev 01)
* I have no configure.log.. (??)

judit ~/targz/mplayer/MPlayer-20020321 > find . -name configure.log
judit ~/targz/mplayer/MPlayer-20020321 > 

* config.h, config.mak, libvo/config.mak attached..

That's all, yes?

the problem is described in the first part..
the CVS version 20020320 and 21 and 22 crashes while compileing.
from that time I could perfectly compile version 20020315 althought!

the make error again:

libmpdemux/libmpdemux.a(demux_ogg.o): In function `demux_ogg_add_packet':
demux_ogg.o(.text+0x9b): undefined reference to `vorbis_packet_blocksize'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1



******************************************************************

> > b) with MPlayer 0.50 I have some speed problems. I have a P_II 300MHz
> > computer, Solo1 sound card with kernel driver (2.4.17). On the same
> > computer under windows I have no speed problems, but in MPlayer the
> > -framedrop feature drops 4 to 8 percent frames..
> 
> 0.50 is half a year old. even 0.60 was removed from the webpage because
> it's outdated.
> 
OK, ypu're right. (but you could see, I couldn't compile the newer
versions..) anyway: the problem is absolutely there. I compiled versions
0.50, 0.60 and CVS code 20020315 ALL of them playing the file with the
same speed (4-5% framedrop..), while the same movie plays OK in wondows on
the same computer.

My additional question was, why is the sound decoding using 50-60% of cpu
time, while mpg123 uses only 4-6% while playing mp3 files.. (it is
perhaps some sort of lame question, but there is still no word about it in
the DOCS.)

from the time my last bug report I compiled with NAS. I have two problems
with that. first, that te "configure" did not recognised I have NAS
installed (compiled from source, and installed by default values), only
with the switch "--with-extraincdir=/usr/X11R6/include" where the audio
header files are in the "audio/" directory.. is that normal??

my second problem: the movie playing is VERY slow, and there is no sound
playing on the NAS server. (only some very short sound appears after "fast
forward" --- pressing the "->" button). mpg123 plays OK with the same
server. I tried NAS 1.4.2, 1.5, 1.5a.

I attached mplayer.log as the bugreport described..


Thanx!
Bogdan
-------------- 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 internationalisation */
#undef USE_I18N

/* Runtime Cpudetection */
#define RUNTIME_CPUDETECT 1

#define PREFIX "/usr/local"

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

#define USE_OSD 1
#define USE_SUB 1

/* Toggles debugging informations */
#undef MP_DEBUG

/* Indicates is Ogle's libdvdread is available for DVD playback */
#undef USE_DVDREAD

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

/* 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

/* Define for using new XviD/DivX4Linux library, instead of open-source OpenDivX */
/* You have to change DECORE_LIBS in config.mak too! */
#undef NEW_DECORE

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

/* If build mencoder */
#define HAVE_MENCODER

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

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

/* 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 soundcard 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 "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 vsscanf */
#define HAVE_VSSCANF 1

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

/* DeCSS support using libcss */
#undef HAVE_LIBCSS

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

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

/* Define to include support for OpenDivx postprocessing */
#define HAVE_ODIVX_POSTPROCESS 1

/* 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

/* XAnim DLL support */
#undef USE_XANIM
/* Default search path */
#undef XACODEC_PATH

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

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

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

/* 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
#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

/* libmad support */
#undef USE_LIBMAD

/* enable OggVorbis support */
#define HAVE_OGGVORBIS 1

/* enable FAAD (AAC) support */
#undef HAVE_FAAD

/* enable streaming */
#define STREAMING 1

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

/* enables / disables new input */
#define HAVE_NEW_INPUT 1

/* enables / disables new input joystick support */
#undef HAVE_JOYSTICK

/* Extension defines */
#define HAVE_3DNOW 1	// only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#define HAVE_3DNOWEX 1	// 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)
#define HAVE_MMX2 1	// only define if you have MMX2 (Athlon/PIII/4/CelII)
#define HAVE_SSE 1	// only define if you have SSE (Intel Pentium III/4 or Celeron II)
#define HAVE_SSE2 1	// 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
#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_DIRECTFB

#undef HAVE_ZR
#undef HAVE_MGA
#undef HAVE_XMGA
#undef HAVE_SYNCFB
#define HAVE_FBDEV 1

#undef HAVE_DXR3
#undef HAVE_DVB
#undef HAVE_SVGALIB
#define HAVE_VESA 1
#define HAVE_XDPMS 1
#undef HAVE_AA

/* used by GUI: */


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

#undef __ENABLE_XP

#ifdef __ENABLE_XP
#define __ENABLE_DEC_AHEAD 1
#endif

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

LANG = C
TARGET_OS = Linux
prefix = /usr/local
DATADIR = /usr/local/share/mplayer
CONFDIR = /usr/local/share/mplayer
LIBDIR = /usr/local/lib/mplayer
AR = ar
CC = gcc
AWK = mawk
# OPTFLAGS = -O4   -march=i486 -mcpu=i686 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS = -O4 -march=i486 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
EXTRA_INC = -I/usr/X11R6/include 
WIN32_PATH = -DWIN32_PATH=\"/usr/lib/win32\"

STREAMING = yes
STREAMING_LIB = -lnsl
VIDIX = yes

OPENDIVX = yes

VO2 = no

PNG = yes
JPEG = yes

EXTRA_LIB = 
Z_LIB =   -lz
HAVE_MLIB = no
STATIC_LIB = 

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

# video output
X_LIB = -L/usr/X11R6/lib -lX11 -lXext -lnsl -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama  -lnsl
GGI_LIB = 
MLIB_LIB =  
MLIB_INC = 
PNG_LIB = -lpng -lz
JPEG_LIB = -ljpeg
SDL_LIB = -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
SVGA_LIB = 
AA_LIB = 

# audio output
ALSA_LIB = 
NAS_LIB = -laudio  -L/usr/X11R6/lib -lX11 -lXext -lnsl -lXt
MAD_LIB = 
VORBIS_LIB = -lvorbis -logg
FAAD_LIB = 
SGIAUDIO_LIB = 

# input
TERMCAP_LIB = -ltermcap
LIRC_LIB = 
CSS_USE = no
CSS_LIB = 
SDL_INC = -I/usr/include/SDL -D_REENTRANT
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/dshow/libDS_Filter.a
DS_LIB = -Lloader/dshow -lDS_Filter
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
MP1E_DEP = 
MP1E_LIB = 
ARCH_LIB =   -lpthread -ldl  
DIVX4LINUX = no
XVID = no
DECORE_LIB = -Lopendivx -ldecore
MENCODER = yes
ENCORE_LIB =   
DIRECTFB_LIB = 
NEW_INPUT_LIB = -Linput -linput

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

BINUTILS = yes

# --- GUI stuff ---
GTKLIB =  
GLIBLIB =   
GTK_LIBS =   
GUI = no
DEBUG = -DDEBUG

# --- HAZARDOUS STUFF

ENABLE_XP=no

-------------- next part --------------
include ../config.mak
OPTIONAL_SRCS =  vo_x11.c vo_xv.c vo_dga.c vo_gl.c vo_gl2.c vo_fbdev.c vo_png.c vo_vesa.c vesa_lvo.c vo_sdl.c vo_xvidix.c
OPTIONAL_OBJS = vo_x11.o vo_xv.o vo_dga.o vo_gl.o vo_gl2.o vo_fbdev.o vo_png.o vo_vesa.o vesa_lvo.o vo_sdl.o vo_xvidix.o
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 7347 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020323/7e6f9b08/attachment.obj>


More information about the MPlayer-users mailing list