[MPlayer-users] vcd problems (new & relatively new)

Dave Botsch dwb7 at cornell.edu
Sun Mar 24 22:34:02 CET 2002


Strangely enough, it seems to still be calling "nanosleep" . .

here's the strace output:

write(9, "\361\377\361\377\360\377\360\377\355\377\356\377\361\377"..., 57344)
= 57344
gettimeofday({1017003267, 704237}, {300, 0}) = 0
rt_sigaction(SIGSEGV, {0x4006243c, [SEGV], SA_RESTART|0x4000000}, {0x4006243c,
[SEGV], SA_RESTART|0x4000000}, 8) = 0
--- SIGPROF (Profiling timer expired) ---
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGSEGV, {0x4006243c, [SEGV], SA_RESTART|0x4000000}, {0x4006243c,
[SEGV], SA_RESTART|0x4000000}, 8) = 0
gettimeofday({1017003267, 707493}, {300, 0}) = 0
gettimeofday({1017003267, 707533}, {300, 0}) = 0
gettimeofday({1017003267, 707580}, {300, 0}) = 0
ioctl(9, 0x80045017, 0xbfffe724)        = 0
nanosleep({9, 690023000},  <unfinished ...>
[dbotsch at Archie main]$ 

and attached is the used config.h in compiling after a make distclean


you can see here, using -v with mplayer, the difference in output when using
-mc 0 and -mc 10, respectively.

you can see with -mc 0, after I skipped to the end of a track, that it prints
out some more user_data stuff.

SEEK: A: 148.361  V: 148.321  A-V: 0.040   76/276   0%  0%  0.0% 0 0 0%
SEEK: A: 160.577  V: 160.567  A-V: 0.010   11/311   8%  5% 15.2% 0 0 0%
SEEK: A: 172.819  V: 172.812  A-V: 0.006   35/335   7%  5% 17.2% 0 0 0%
user_data: len=  6  00 81 18 61 'aG'0.006  625/625   8%  5% 17.6% 9 0 0%
user_data: len=  6  00 82 18 61 'aG'
user_data: len= 23  65 6E 63 6F 'encoded by TMPGEnc b12a'
A:   4.0 V:   3.9 A-V:  0.047 ct:  0.006  733/733   7%  5% 16.1% 9 0 0%

MPlayer interrupted by signal 2 in module: unknown 

and now for -mc 10 where it locks up at the end of the track

SEEK: A: 169.013  V: 169.009  A-V: 0.005   16/316   7%  4% 14.9% 0 0 0%
A:   0.3 V: 182.1 A-V:-181.788 ct:-10.020  709/709   8%  3% 15.7% 1 0 0%

MPlayer interrupted by signal 2 in module: sleep 

*** free_stream() called ***

so, I guess the usleep calls instead on my system are actually nanosleep calls?
Interesting, at any rate.

On Sun, Mar 24, 2002 at 09:08:03PM +0100, Attila Kinali wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Sat, 23 Mar 2002 17:09:11 -0500
> Dave Botsch <dwb7 at cornell.edu> wrote:
> 
> 
> > nanosleep({9, 676646000},  <unfinished ...>
> 
> Hmm.. does that mean it blocks in nanosleep ?
> 
> Try to replace 
> #define HAVE_NANOSLEEP 1
> in config.h to 
> #undef HAVE_NANOSLEEP
> and compile again
> 
> 		Attila Kinali
> -- 
> I am a moslem, i am a terrorist.
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

-- 
********************************
David William Botsch
dwb7 at cornell.edu
********************************
-------------- 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 */
#define USE_DVDREAD 1

/* 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! */
#define NEW_DECORE 1

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

/* 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) */
#define 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!) */
#undef FF_POSTPROCESS

/* 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) */
#undef USE_LIBAVCODEC
#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
#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
#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 */
#undef HAVE_NANOSLEEP

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

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

#define HAVE_DXR3 1
#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



More information about the MPlayer-users mailing list