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

Dave Botsch dwb7 at cornell.edu
Fri Mar 22 02:03:01 CET 2002

Interestingly enough, I seem to have tracked down the problem... 

because I get some bad mpegs occasionally which are missing video frames, I have to use mc=10 in my config file. Otherwise, when a video frame is missing, mplayer does not say ok, I have a missing video frame and the audio frame is there, so let me just freeze on the last video frame while the audio continues until I get the audio to a point where I have a video frame. Instead, mplyaer just plays all the video frames consecutively and the sync is of course off with video ahead of audio (shown in the status line output). -mc 10 (or anhy number less) of course causes mplayer to resync, but the above behavior where mplayer just waits on the video and continues the audio woul be much better.

Now, just for kicks, I overrode my config file and set -mc 0, and the problem with the freezing at tend of vcd tracks went away. So, somehow mplayer's sync code is messing things up.

The below is from when the problem does occur:

Ok, here's the full info I can give you:

Redhat 7.1
Linux Archie.localdomain 2.4.16-xfs #5 Sat Dec 15 22:24:57 EST 2001 i686 unknown
[dbotsch at Archie rpms]$ ls -l /lib/libc*
-rwxr-xr-x    1 root     root      5723311 Dec  8 09:04 /lib/libc-2.2.4.so
lrwxr-xr-x    1 root     root           17 Jul  7  2001 /lib/libcom_err.so.2 -> libcom_err.so.2.0
-rwxr-xr-x    1 root     root         8484 Sep 17  2001 /lib/libcom_err.so.2.0
-rwxr-xr-x    1 root     root        87059 Dec  8 09:03 /lib/libcrypt-2.2.4.so
lrwxrwxr-x    1 root     root           17 Mar  8 10:33 /lib/libcrypt.so.1 -> libcrypt-2.2.4.so
lrwxrwxr-x    1 root     root           13 Mar  8 10:33 /lib/libc.so.6 -> libc-2.2.4.so

[dbotsch at Archie rpms]$ X -version

XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
	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/FAQ)
Build Operating System: Linux 2.4.4 i686 [ELF] 
Module Loader present

[dbotsch at Archie rpms]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux
Thread model: posix
gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3)
[dbotsch at Archie rpms]$ ld -v
GNU ld version (with BFD

[dbotsch at Archie rpms]$ as --version
GNU assembler
Copyright 2001 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 `i386-redhat-linux'.


[dbotsch at Archie rpms]$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 4
model name	: AMD Athlon(tm) Processor
stepping	: 2
cpu MHz		: 1000.078
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips	: 1992.29

video card:  Bus  0, device  17, function  0:
    VGA compatible controller: nVidia Corporation Riva TnT [NV04] (rev 4).
      IRQ 9.
      Master Capable.  Latency=248.  Min Gnt=5.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xd5000000 [0xd5ffffff].
      Prefetchable 32 bit memory at 0xd6000000 [0xd6ffffff].
video drivers:

sound card: Soundblaster 32 PNP (ISA)
driver: commercial OSS v 3.9.5c

3. [dbotsch at Archie dbotsch]$ mplayer -v -vcd 1 > out.log
cat out.log

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
Reading /home/dbotsch/.mplayer/codecs.conf: 29 audio & 79 video codecs
CommandLine: '-v' '-vcd' '1'
Font /home/dbotsch/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Parsing input config file /home/dbotsch/.mplayer/input.conf
Input config file /home/dbotsch/.mplayer/input.conf parsed : 49 binds
header block 1 size: 0
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
Selecting Video Decoder: [libmpeg2] MPEG 1/2 Video decoder
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
SDL: Using 0x32315659 (YV12) image format
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1280x1024
SDL: Using driver: x11
SDL: using hardware-surface
SDL: setting windowed mode
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
user_data: len=  6  00 81 18 61 'aG'
user_data: len=  6  00 82 18 61 'aG'
user_data: len= 23  65 6E 63 6F 'encoded by TMPGEnc b12a'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
SDL: activating XScreensaver/DPMS

*** free_stream() called ***

once again, I had to ctrl-c it when it froze at the end of track 1.

I am wondering why SDL keeps on saying "using x11" when it should be using Xv? Yes, -vo xv works fine.

Problem description: see previous email
1. Reproducable problem in 3/20/02 cvs where vcd playing just freezes
2. At end of vcd tracks, mplayer freezes. Can still jump from middle of one track to another. Happens now with ALL of my vcds, be it the .bin or the actual disc.
3. Only two major system changes since I last knew it worked properly
a. Upgrading mplayer cvs versions.
b. Upgrading libc to present version from the stock redhat 7.1 version

On Thu, Mar 21, 2002 at 10:44:45PM +0100, Attila Kinali wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Wed, 20 Mar 2002 23:04:10 -0500
> Dave Botsch <dwb7 at cornell.edu> wrote:
> Please read bugreports.html and use the enter key on your kbd 
> 			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

More information about the MPlayer-users mailing list