[MPlayer-users] [bug] RealMedia out of sync, plays fine with RealPlayer8/Linux

Dominik Mierzejewski dominik at rangers.eu.org
Fri Jun 28 19:03:01 CEST 2002


Hi.
I'm uploading a sample (B5:LotR first trailer) to
/MPlayer/incoming/Legend-of-the-Rangers_I.rm
please check if it's out of sync for you, too.
Tested with yesterday's CVS looks like this:
for the first 5 seconds I hear audio, but video is black and then
it appears, about 5 seconds behind audio and never catches up.
It's also a quite jumpy. It's RV20, so I suppose I shouldn't be
surprised. HTH.

System information:
RedHat Linux 7.3

Kernel version:
$ uname -a
Linux rathann.rangers.eu.org 2.4.19-rc1 #4 czw cze 27 10:59:47 CEST 2002 i686 unknown

Libc version:
$ ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      1260480 Jun 18 16:45 /lib/libc-2.2.5.so
lrwxrwxrwx    1 root     root           13 Jun 28 11:53 /lib/libc.so.6 -> libc-2.2.5.so

X version:
$ X -version
XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X Window System

gcc and ld versions:
$ gcc3 -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.1/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 --with-system-zlib
Thread model: posix
gcc version 3.1 (Red Hat Linux 7.3 3.1-1)
$ ld -v
GNU ld version 2.11.93.0.2 20020207

binutils version:
$ as --version
GNU assembler 2.11.93.0.2 20020207

CPU info:
$ cat /proc/cpuinfo 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 3
model name	: AMD Duron(tm) processor
stepping	: 1
cpu MHz		: 700.036
cache size	: 64 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 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips	: 1395.91

Video card manufacturer and model:
ASUS V3400V chip: nVidia TNT 16MB SDRAM

Video driver type & version:
nVidia binary driver version 2960

Sound card type & driver:
Creative SB32 with kernel OSS drivers

MPlayer -v output:
mplayer -v Legend-of-the-Rangers_I.rm

MPlayer CVS-020627-01:35-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best performance, recompile mplayer from sources with --disable-runtime-cpudetection
Reading /home/dominik/.mplayer/codecs.conf: can't open '/home/dominik/.mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Reading /etc/mplayer/codecs.conf: 36 audio & 100 video codecs
CommandLine:get_path('font/font.desc') -> '/home/dominik/.mplayer/font/font.desc'
 '-v' 'Legend-of-the-Rangers_I.rm'
font: can't open file: /home/dominik/.mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/dominik/.mplayer/input.conf'
Can't open input config file /home/dominik/.mplayer/input.conf : Nie ma takiego pliku ani katalogu
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 50 binds

Playing Legend-of-the-Rangers_I.rm
Not an URL!
File size is 2087654 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  

Cache fill:  0,00% (0 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82d3980  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82d3980  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82d3980  
Checking for MOV
DEMUXER: freeing demuxer at 0x82d3980  
Checking for VIVO
header block 1 size: 82
DEMUXER: freeing demuxer at 0x82d3980  
Checking for REAL
Detected REAL file format!
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x1fd316
First data chunk offset: 0x19a
Chunk: CONT (544e4f43) (size: 0x38, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0xa4, offset: 0x7c)
Found new stream (id: 0)
==> Found audio stream: 0
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
Found audio stream!
version: 5
 00 00
 2E 72 61 35
 17 45 F4 D9
 00 05
 00 00 00 46
 00 00 02 80
 00 03 70 00
 00 05 0B FE
 00 00 00 00
frame_size: 640
sub_packet_size: 128
 00 00
 00 00 AC 44 00 00
 00 00
samplerate: 44100, channels: 1
 67 65 6E 72
Audio: Real's GeneralCooker (?) (RealAudio G2?) (unsupported)
### skipping -8 bytes of codec info
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 44100
avg byte/sec: 44100
Block align: 640
bits/sample: 16
cbSize: 30
Unknown extra header dump: [80] [0] [10] [0] [5] [0] [1] [0] [0] [0] [0] [0] [0] [8] [1] [0] [0] [2] [4] [0] [0] [2f] [4d] [44] [50] [52] [0] [0] [0] [70] 
Chunk: MDPR (5250444d) (size: 0x70, offset: 0x120)
Found new stream (id: 1)
==> Found video stream: 1
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
video: VIDO (4f444956)
video fourcc: RV20 (30325652)
H.263 ID: 20101001
unknown id: 20101001
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x1fd186, offset: 0x190)
Packets in file: 2025
[V] filefmt:11  fourcc:0x30325652  size:480x252  fps:24,00  ftime:=0,0417
Clip info: 
 name: THE LEGEND OF THE RANGERS
 author: SCIFI.COM
 copyright: 2001
get_path('sub/') -> '/home/dominik/.mplayer/sub/'
Detected audio codec: [racook] afm:21 (RealAudio COOK)
Initializing audio codec...
Opening audio decoder: [real] RealAudio decoder
Audio codec: [5] 44 Kbps Music
Audio bitrate: 44,100 kbit/s (5513 bps)  
dec_audio: Allocating 10240 bytes for input buffer
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer
AUDIO: 44100 Hz, 1 ch, sfmt: 0x10 (2 bps), ratio: 5513->88200 (44,1 kbit)
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [real] RealVideo decoder
realvideo codec id: 0x20101001  sub-id: 0x01008838
opening shared obj '/usr/lib/RealPlayer8/Codecs/drv2.so.6.0'
VDec: vo config request - 480 x 252 (preferred csp: Planar I420)  
vo_debug: query(Planar I420) returned 0x437 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(480x252->480x252,flags=0,'MPlayer',0x30323449)
VO: [xv] 480x252 => 480x252 Planar I420 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 69 for hw scaling
vo_xv: reset gamma correction
[xv] dx: 0 dy: 0 dw: 480 dh: 252
Disabling DPMS
DPMSDisable stat: 1
INFO: RealVideo codec init OK!
Detected video codec: [rv20] vfm:26 (RealPlayer 8 RV20 decoder)
==========================================================================
AutoQ: setting quality to 0
vo_xv: get: XV_DOUBLE_BUFFER = 1
vo_xv: assume: XV_DOUBLE_BUFFER = 2000
vo_xv: get: XV_COLORKEY = 66046
vo_xv: assume: XV_COLORKEY = 31
vo_xv: get: XV_AUTOPAINT_COLORKEY = 1
vo_xv: assume: XV_AUTOPAINT_COLORKEY = 2000
AO: [oss] 44100Hz 1ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 Hz  1 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 1 channels (requested: 1)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
Start playing...
*** [vo] Allocating mp_image_t, 480x252x12bpp YUV planar, 181440 bytes
[xv] dx: 0 dy: 0 dw: 480 dh: 252
A:   0,1 V:   0,0 A-V:  0,046 ct:  0,000    1/  1   0%  0%  0,0% 0 0 24%

A:   0,1 V:   0,1 A-V:  0,039 ct:  0,004    2/  2   0%  0%  0,0% 0 0 24%

A:   0,1 V:   0,5 A-V: -0,363 ct: -0,000    3/  3   0%  0%  0,0% 0 0 24%

A:   0,3 V:   1,0 A-V: -0,746 ct: -0,000    4/  4   2%  0%  3,0% 0 0 24%

A:   0,4 V:   1,0 A-V: -0,618 ct: -0,000    4/  4   2%  0%  3,4% 0 0 24%

A:   0,5 V:   1,0 A-V: -0,490 ct: -0,000    4/  4   2%  0%  3,8% 0 0 24%

A:   0,6 V:   1,0 A-V: -0,442 ct: -0,004    4/  4   2%  0%  4,2% 0 0 24%

A:   0,7 V:   2,0 A-V: -1,332 ct: -0,004    5/  5   1%  0%  2,3% 0 0 24%

A:   0,8 V:   2,0 A-V: -1,203 ct: -0,004    5/  5   1%  0%  2,5% 0 0 24%

A:   1,0 V:   2,0 A-V: -1,075 ct: -0,004    5/  5   1%  0%  2,7% 0 0 24%

A:   1,1 V:   2,0 A-V: -0,947 ct: -0,009    5/  5   1%  0%  2,9% 0 0 24%

A:   1,2 V:   2,6 A-V: -1,325 ct: -0,009    6/  6   1%  0%  1,5% 0 0 24%

A:   1,4 V:   2,6 A-V: -1,195 ct: -0,009    6/  6   1%  0%  1,7% 0 0 23%

A:   1,5 V:   2,6 A-V: -1,067 ct: -0,009    6/  6   1%  0%  1,8% 0 0 23%

A:   1,6 V:   2,6 A-V: -0,938 ct: -0,009    6/  6   1%  0%  1,9% 0 0 23%

A:   1,8 V:   2,6 A-V: -0,807 ct: -0,009    6/  6   1%  0%  2,1% 0 0 23%

A:   1,9 V:   2,6 A-V: -0,677 ct: -0,009    6/  6   1%  0%  2,2% 0 0 23%

A:   2,0 V:   2,6 A-V: -0,548 ct: -0,009    6/  6   1%  0%  2,3% 0 0 23%

A:   2,1 V:   2,6 A-V: -0,432 ct: -0,013    6/  6   1%  0%  2,5% 0 0 23%

A:   2,3 V:   3,1 A-V: -0,806 ct: -0,013    7/  7   1%  0%  2,0% 0 0 23%

A:   2,4 V:   3,1 A-V: -0,677 ct: -0,013    7/  7   1%  0%  2,1% 0 0 23%

A:   2,5 V:   3,1 A-V: -0,548 ct: -0,013    7/  7   1%  0%  2,2% 0 0 23%

A:   2,6 V:   3,1 A-V: -0,429 ct: -0,017    7/  7   1%  0%  2,3% 0 0 23%

A:   2,8 V:   3,6 A-V: -0,805 ct: -0,017    8/  8   1%  0%  2,0% 0 0 23%

A:   2,9 V:   3,6 A-V: -0,674 ct: -0,017    8/  8   1%  0%  2,1% 0 0 23%

A:   3,0 V:   3,6 A-V: -0,545 ct: -0,017    8/  8   1%  0%  2,2% 0 0 23%

A:   3,2 V:   3,6 A-V: -0,424 ct: -0,021    8/  8   1%  0%  2,3% 0 0 22%

A:   3,3 V:   3,6 A-V: -0,329 ct: -0,021    9/  9   1%  0%  2,0% 0 0 22%

A:   3,4 V:   3,6 A-V: -0,200 ct: -0,021    9/  9   1%  0%  2,0% 0 0 22%

A:   3,6 V:   3,6 A-V: -0,071 ct: -0,021    9/  9   1%  0%  2,1% 0 0 22%

A:   3,7 V:   3,6 A-V:  0,051 ct: -0,017    9/  9   1%  0%  2,2% 0 0 22%

A:   3,7 V:   3,7 A-V:  0,047 ct: -0,013   10/ 10   1%  0%  2,2% 0 0 22%

A:   3,8 V:   3,7 A-V:  0,042 ct: -0,009   11/ 11   1%  0%  2,2% 0 0 22%

A:   3,8 V:   3,8 A-V:  0,038 ct: -0,005   12/ 12   1%  0%  2,2% 0 0 22%

A:   3,8 V:   3,8 A-V:  0,035 ct: -0,001   13/ 13   1%  0%  2,2% 0 0 22%

A:   3,9 V:   3,8 A-V:  0,031 ct:  0,002   14/ 14   1%  0%  2,2% 0 0 22%

A:   3,9 V:   3,9 A-V:  0,028 ct:  0,005   15/ 15   2%  0%  2,2% 0 0 22%

A:   3,9 V:   3,9 A-V:  0,025 ct:  0,007   16/ 16   2%  0%  2,2% 0 0 22%

A:   4,0 V:   4,0 A-V:  0,023 ct:  0,009   17/ 17   2%  1%  2,2% 0 0 22%

A:   4,0 V:   4,0 A-V:  0,020 ct:  0,011   18/ 18   2%  1%  2,2% 0 0 22%

A:   4,1 V:   4,0 A-V:  0,018 ct:  0,013   19/ 19   2%  1%  2,1% 0 0 22%

A:   4,1 V:   4,1 A-V:  0,017 ct:  0,015   20/ 20   2%  1%  2,1% 0 0 22%

A:   4,1 V:   4,1 A-V:  0,015 ct:  0,016   21/ 21   2%  1%  2,1% 0 0 22%

A:   4,2 V:   4,6 A-V: -0,427 ct:  0,012   22/ 22   2%  1%  2,1% 0 0 22%

A:   4,3 V:   4,6 A-V: -0,334 ct:  0,012   23/ 23   2%  1%  1,9% 0 0 22%

A:   4,4 V:   4,6 A-V: -0,205 ct:  0,012   23/ 23   2%  1%  2,0% 0 0 22%

A:   4,6 V:   4,6 A-V: -0,076 ct:  0,012   23/ 23   2%  1%  2,0% 0 0 22%

A:   4,7 V:   4,6 A-V:  0,017 ct:  0,014   23/ 23   2%  1%  2,1% 0 0 22%

A:   4,7 V:   4,7 A-V:  0,016 ct:  0,015   24/ 24   2%  1%  2,1% 0 0 22%

A:   4,7 V:   4,7 A-V:  0,014 ct:  0,017   25/ 25   2%  1%  2,1% 0 0 22%

A:   4,8 V:   4,8 A-V:  0,012 ct:  0,018   26/ 26   2%  1%  2,1% 0 0 22%

A:   4,8 V:   4,8 A-V:  0,012 ct:  0,019   27/ 27   3%  1%  2,1% 0 0 22%

A:   4,9 V:   4,9 A-V:  0,010 ct:  0,020   28/ 28   3%  1%  2,1% 0 0 22%

A:   4,9 V:   4,9 A-V:  0,010 ct:  0,021   29/ 29   3%  1%  2,1% 0 0 20%

A:   4,9 V:   4,9 A-V:  0,008 ct:  0,022   30/ 30   3%  1%  2,1% 0 0 20%

A:   5,0 V:   5,0 A-V:  0,008 ct:  0,023   31/ 31   3%  1%  2,1% 0 0 20%

A:   5,0 V:   5,0 A-V:  0,007 ct:  0,024   32/ 32   3%  1%  2,1% 0 0 20%

A:   5,1 V:   5,1 A-V:  0,006 ct:  0,024   33/ 33   3%  1%  2,1% 0 0 20%

A:   5,1 V:   5,1 A-V:  0,006 ct:  0,025   34/ 34   3%  1%  2,1% 0 0 20%

A:   5,2 V:   5,1 A-V:  0,005 ct:  0,025   35/ 35   3%  1%  2,1% 0 0 20%

A:   5,2 V:   5,2 A-V:  0,005 ct:  0,026   36/ 36   3%  1%  2,1% 0 0 20%

A:   5,2 V:   5,2 A-V:  0,004 ct:  0,026   37/ 37   3%  1%  2,1% 0 0 20%

A:   5,3 V:   5,3 A-V:  0,004 ct:  0,027   38/ 38   3%  1%  2,1% 0 0 20%

A:   5,3 V:   5,3 A-V:  0,003 ct:  0,027   39/ 39   4%  1%  2,1% 0 0 20%

A:   5,4 V:   5,4 A-V:  0,003 ct:  0,027   40/ 40   4%  2%  2,1% 0 0 20%

A:   5,4 V:   5,4 A-V:  0,003 ct:  0,028   41/ 41   4%  2%  2,1% 0 0 20%

A:   5,4 V:   5,4 A-V:  0,003 ct:  0,028   42/ 42   4%  2%  2,1% 0 0 20%

A:   5,5 V:   5,5 A-V:  0,002 ct:  0,028   43/ 43   4%  2%  2,0% 0 0 20%
[...]
A:  37,0 V:  37,0 A-V:  0,000 ct:  0,030  793/793  11%  6%  1,8% 0 0 0%
A:  37,0 V:  37,0 A-V: -0,000 ct:  0,030  794/794  11%  6%  1,8% 0 0 0%

A:  37,1 V:  37,1 A-V:  0,005 ct:  0,030  795/795  11%  6%  1,8% 0 0 0%

A:  37,1 V:  37,1 A-V: -0,000 ct:  0,030  796/796  11%  6%  1,8% 0 0 0%

A:  37,2 V:  37,2 A-V: -0,000 ct:  0,030  797/797  11%  6%  1,8% 0 0 0%

A:  37,2 V:  37,2 A-V:  0,000 ct:  0,030  798/798  11%  6%  1,8% 0 0 0%

A:  37,2 V:  37,2 A-V: -0,001 ct:  0,030  799/799  11%  6%  1,8% 0 0 0%

A:  37,3 V:  37,3 A-V: -0,000 ct:  0,030  800/800  11%  6%  1,8% 0 0 0%
A:  37,3 V:  37,3 A-V:  0,000 ct:  0,030  801/801  11%  6%  1,8% 0 0 0%

A:  37,4 V:  37,4 A-V: -0,003 ct:  0,030  802/802  11%  6%  1,8% 0 0 0%
A:  37,4 V:  37,4 A-V: -0,000 ct:  0,030  803/803  11%  6%  1,8% 0 0 0%
A:  37,5 V:  37,4 A-V:  0,008 ct:  0,030  804/804  11%  6%  1,8% 0 0 0%

Successfully enabled DPMS
vo: uninit ...

Exiting... (Quit)


-- 
MPlayer RPMs: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
Dominik 'Rathann' Mierzejewski <rathann(at)rangers.eu.org>




More information about the MPlayer-users mailing list