[MPlayer-users] RealVideo desync

Brendan F. Dolan-Gavitt bdolangavitt at wesleyan.edu
Sun Jan 19 23:46:46 CET 2003


I'm getting audio desync that gets progressively worse (ie, can't just
fix with constant offset) with some RealMedia files. The problem exists
in current CVS, and with both the rp8 and rp9 codecs. Mplayer -v log is
attached, and the file (KKnJ19-small.rm) is being uploaded to incoming.

Note also that this file works just fine with Realplayer.

Sysinfo:
Debian sid

Kernel:
Linux moyix 2.4.19-686 #1 Fri Nov 22 14:15:53 EST 2002 i686 unknown unknown GNU/Linux

libc:
-rwxr-xr-x    1 root     root      1102952 Jan 18 01:37 /lib/libc-2.3.1.so*
lrwxrwxrwx    1 root     root           13 Jan 18 01:37 /lib/libc.so.6 -> libc-2.3.1.so*

X version:
This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86 at XFree86.Org and patches submitted
to fixes at XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.2.1.1 (Debian 4.2.1-4 20021123003806
branden at debian.org) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 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 i686 [ELF] 
Module Loader present

gcc/ld:
gcc version 3.2.2 20030109 (Debian prerelease)
GNU ld version 2.13.90.0.16 20021126 Debian GNU/Linux

binutils:
GNU assembler 2.13.90.0.16 20021126 Debian GNU/Linux

CPU:
PIII, 500 MHz

Vid card, driver:
NVIDIA TNT1 16M
Driver version 1.0-2960

Sound:
SB Live! X-Gamer with ALSA drivers

-Brendan
-------------- next part --------------
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-030118-03:43-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping: 2)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/moyix/.mplayer/config
Reading /home/moyix/.mplayer/codecs.conf: can't open '/home/moyix/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-v' '-ao' 'alsa9' 'KKnJ19-small.rm'
get_path('font/font.desc') -> '/home/moyix/.mplayer/font/font.desc'
Font /home/moyix/.mplayer/font/font.desc loaded successfully! (138 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/moyix/.mplayer/input.conf'
Can't open input config file /home/moyix/.mplayer/input.conf : No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
get_path('KKnJ19-small.rm.conf') -> '/home/moyix/.mplayer/KKnJ19-small.rm.conf'

Playing KKnJ19-small.rm
Not an URL!
File size is 5242880 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x82845d8  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x82845d8  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x82845d8  
Checking for MOV
DEMUXER: freeing demuxer at 0x82845d8  
Checking for VIVO
header block 1 size: 82
DEMUXER: freeing demuxer at 0x82845d8  
Checking for REAL
REAL file format detected.
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x2d9d2f4
First data chunk offset: 0x1a9
Flags (b): [save allowed] [perfect play (more buffers)] 
Chunk: MDPR (5250444d) (size: 0xa4, offset: 0x44)
Found new stream (id: 0)
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
==> Found audio stream: 0
Found audio stream!
version: 5
frame_size: 744
sub_packet_size: 186
samplerate: 44100, channels: 1
Audio: Real's GeneralCooker (?) (RealAudio G2?) (unsupported)
======= WAVE Format =======
Format Tag: 28515 (0x6F63)
Channels: 1
Samplerate: 44100
avg byte/sec: 64695
Block align: 744
bits/sample: 16
cbSize: 18
Unknown extra header dump: [ba] [0] [14] [0] [e] [0] [e8] [2] [8] [0] [1] [0] [0] [2] [4] [0] [0] [2f] 
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x70, offset: 0xe8)
Found new stream (id: 1)
skip_str: 12 bytes skipped
skip_str: 20 bytes skipped
==> Found video stream: 1
video fourcc: RV20 (30325652)
H.263 ID: 20101001
unknown id: 20101001
### skipping 0 bytes of codec info
Chunk: CONT (544e4f43) (size: 0x47, offset: 0x158)
Chunk: DATA (41544144) (size: 0x2d9d155, offset: 0x19f)
Packets in file: 85527
Auto-selected RM video ID = 1
Auto-selected RM audio ID = 0
[V] filefmt:11  fourcc:0x30325652  size:352x240  fps:15.00  ftime:=0.0667
Clip info:
 name: Kareshi Kanojo No Jijou 19
 author: durianadsl at hotmail.com
 copyright: ?2000
get_path('sub/') -> '/home/moyix/.mplayer/sub/'
==========================================================================
Opening audio decoder: [realaud] RealAudio decoder
Audio codec: [14] 64 Kbps Voice
Audio bitrate: 64.083 kbit/s (8010 bps)  
dec_audio: Allocating 14880 bytes for input buffer
dec_audio: Allocating 128000 + 65536 = 193536 bytes for output buffer
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 8010->88200 (64.1 kbit)
Selected audio codec: [racook] afm:realaud (RealAudio COOK)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [realvid] RealVideo decoder
realvideo codec id: 0x20101001  sub-id: 0x01008838
opening shared obj '/usr/local/lib/rp9codecs/drv2.so.6.0'
VDec: vo config request - 352 x 240 (preferred csp: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (352x240->352x240,flags=0,'MPlayer',0x30323449)
VO: [xv] 352x240 => 352x240 Planar I420 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
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 64 for hw scaling
[xv] dx: 0 dy: 0 dw: 352 dh: 256
INFO: RealVideo codec init OK!
Selected video codec: [rv20] vfm:realvid (Linux RealPlayer 8 RV20 decoder)
==========================================================================
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: compiled for ALSA-0.9.0rc6
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: hw:0,0
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=32, fragcount=16
alsa-init: got buffersize=65536
alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 44100Hz 1ch Signed 16-bit (Little-Endian)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi <alex at naxine.org>, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=44100Hz, nch = 1, format = 0x00000001 and bps = 2
[libaf] Adding filter channels 
[channels] Changing number of channels to 2
[dummy] Was reinitialized, rate=44100Hz, nch = 1, format = 0x00000001 and bps = 2
Starting playback...
alsa-space: free space = 65536, status=137077552, prepared --
[libaf] Reallocating memory in module channels, old len = 0, new len = 65534
*** [vo] Allocating mp_image_t, 352x240x12bpp YUV planar, 126720 bytes
[xv] dx: 0 dy: 0 dw: 352 dh: 240
A:  48.7 V:  48.7 A-V:  0.014 ct:  0.006  731/731  22%  3%  3.6% 0 0 0%
[...many lines removed...]
Uninit audio filters...
[libaf] Removing filter dummy 
[libaf] Removing filter channels 
uninit audio: realaud
uninit video: realvid
DEMUXER: freeing demuxer at 0x82845d8  
DEMUXER: freeing sh_audio at 0x82850a0  
DEMUXER: freeing sh_video at 0x8285148  
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (Quit)


More information about the MPlayer-users mailing list