[MPlayer-users] Bug report: problem playing a quicktime video with xmga/xv drivers

Hannu Koivisto azure at iki.fi
Sun Feb 8 15:29:12 CET 2004


Greetings,

If I try to play the quicktime video available at
<http://cs.indiana.edu/~bmastenb/mirrors/lispm-4.mov> with the xmga
video output driver, only a part of each frame is visible in
horizontal direction (left side) and the rest of the screen/window
is black.  The command line I'm using is "mplayer -vo xmga
lispm-4.mov" (see the output with -v at the end of this message).

The result with the xv video output driver is basically the same,
except that a larger area is visible (although it is "smudgy" when
compared to the result with other video output drivers) and the
area that doesn't get updated isn't black (whatever is below the
mplayer window shows in this area).

It plays fine with the x11 and sdl video output drivers.

All the other videos I've played with this mplayer version have
played just fine with the xmga video output driver.

* I'm running MPlayer 1.0pre3 on Debian GNU/Linux 3.0.
* uname -a:
  Linux deliverance 2.4.20 #2 SMP Mon Nov 24 20:18:40 EET 2003 i686 unknown
* libc version: 2.2.5
* gcc -v: 2.95.4 20011002 (Debian prerelease),
  ld -v: GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
* as --version: GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux
* kwm from kde 2.2.2 is my window manager
* cat /proc/cpuinfo (info for the processor 1 is identical):

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 6
model name      : Celeron (Mendocino)
stepping        : 5
cpu MHz         : 467.741
cache size      : 128 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 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips        : 933.88

* Video card is Matrox MGA G400 AGP rev 4 32MB
* Video driver is whatever comes with XFree86 4.1.0 (I have DRI
  enabled) plus mga_vid from the MPlayer 1.0pre3 source
  distribution.
* Sound card is Creative Labs SB Live! EMU10k1 (rev 6)

The output of mplayer -v -vo xmga lispm-4.mov is shown below:

MPlayer 1.0pre3-2.95.4 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron A Mendocino/Pentium II Dixon 468.2 MHz (Family: 6, Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/azure/.mplayer/config
Reading /home/azure/.mplayer/codecs.conf: Can't open '/home/azure/.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' '-vo' 'xmga' 'lispm-4.mov'
init_freetype
get_path('font/font.desc') -> '/home/azure/.mplayer/font/font.desc'
Font /home/azure/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/azure/.mplayer/input.conf'
Can't open input config file /home/azure/.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('lispm-4.mov.conf') -> '/home/azure/.mplayer/lispm-4.mov.conf'

Playing lispm-4.mov.
[file] File size is 46101043 bytes
STREAM: [file] lispm-4.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x856c2c0  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x856c2c0  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x856c2c0  
Checking for REAL
DEMUXER: freeing demuxer at 0x856c2c0  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x856c2c0  
DEMUXER: freeing demuxer at 0x856cc60  
Searching demuxer type for filename lispm-4.mov ext: .mov
Trying demuxer 7 based on filename extension
Checking for MOV
MOV: Movie header found!
MOV: 'WIDE' chunk found!
MOV: Movie DATA found!
QuickTime/MOV file format detected.
MOV: Movie header (100 bytes): tscale=600  dur=617199
--------------
MOV: Track #0:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=1 dur=617199 lay=0 vol=0
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 617199  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/vide (appl) Apple Video Media Handler
MOV:   Media info!
MOV:    Video header!
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: rle   (70 bytes)
MOV:     Sample duration table! (15738 blocks)
MOV:     Syncing samples (keyframes) table! (33 entries) (ver:0,flags:0)
MOV:     Sample->Chunk mapping table!  (4091 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=16442 ss=0) (ver:0,flags:0)
MOV:     Chunk offset table! (4115 chunks)
MOV track #0: 4115 chunks, 16442 samples
pts=1028666  scale=1000  time=1028.666
EL#0: pts=0  1st_sample=0  frames=16442 (1028.665s)  pts_offs=0
==> Found video stream: 0
Image size: 1278 x 769 (32 bpp)
Display size: 1278 x 769
Fourcc: rle   Codec: 'Animation'
--------------
MOV: Track #1:
MOV:  Track header!
tkhd len=84 ver=0 flags=0x0 id=2 dur=615013 lay=0 vol=256
MOV:  Edit atom!
MOV:   Edit list table (1 entries) (ver:0,flags:0)
MOV:     entry#0: duration: 615013  start time: 0  speed: 1.0x
MOV:  Media stream!
MOV:   Media header!
MOV:   Handler header: mhlr/soun (appl) Apple Sound Media Handler
MOV:   Media info!
MOV:    Sound header!
MOV:    Handler header: dhlr/alis (appl) Apple Alias Data Handler
MOV: unknown chunk: dinf 28
MOV:    Sample info!
MOV:     Description list! (cnt:1)
MOV:      desc #0: ima4  (36 bytes)
MOV:     Sample duration table! (1 blocks)
MOV:     Sample->Chunk mapping table!  (1091 blocks) (ver:0,flags:0)
MOV:     Sample size table! (entries=22601728 ss=1) (ver:0,flags:0)
MOV:     Chunk offset table! (2083 chunks)
MOV track #1: 2083 chunks, 0 samples
pts=22601728  scale=22050  time=1025.022
==> Found audio stream: 1
Audio bits: 16  chans: 1  rate: 22050
Audio header: samp/pack=64 bytes/pack=34 bytes/frame=34 bytes/samp=2  
MOV: Found unknown audio atom Fourcc: ima4
--------------
MOV: longest streams: A: #1 (2083 samples)  V: #0 (16442 samples)
[V] filefmt:7  fourcc:0x20656C72  size:1278x769  fps: 7.30  ftime:=0.1370
get_path('sub/') -> '/home/azure/.mplayer/sub/'
get_path('default.sub') -> '/home/azure/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [imaadpcm] IMA ADPCM audio decoder
dec_audio: Allocating 34 bytes for input buffer.
dec_audio: Allocating 8192 + 65536 = 73728 bytes for output buffer.
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 11714->44100 (93.7 kbit)
Selected audio codec: [imaadpcm] afm:imaadpcm (IMA ADPCM)
==========================================================================
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)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
==========================================================================
Opening video decoder: [qtrle] Quicktime Animation (RLE) decoder
[qtrle] 32 bpp file, alpha channel will be ignored.
VDec: vo config request - 1278 x 769 (preferred csp: BGR 32-bit)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using BGR 32-bit as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (1278x769->1278x769,flags=0,'MPlayer',0x42475220)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 9 -> 8

SwScaler: BICUBIC scaler, from BGR 32-bit to Planar YV12 using MMX
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
SwScaler: 1278x769 -> 1278x769
REQ: flags=0x437  req=0x0  
VO: [xmga] 1278x769 => 1278x769 Planar YV12 
VO: Description: Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
VO: Author: Zoltan Ponekker <pontscho at makacs.poliod.hu>
[mga] Using 3 buffers.
Using colorkey: 7e0
[xmga] x: 1 y: 127 w: 1278 h: 769
[xmga] dcx: 1 dcy: 127 dx: 0 dy: 0 dw: 1278 dh: 769
Selected video codec: [qtrle] vfm:qtrle (Quicktime Animation (RLE))
==========================================================================
Checking audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 1 ch, 22050 hz, little endian signed int 
AF_pre: 22050Hz 1ch Signed 16-bit (Little-Endian)
ao2: 22050 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 22050 Hz samplerate (requested: 22050)
audio_setup: frags:  32/32  (2048 bytes/frag)  free:  65536
AO: [oss] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps = 2
[libaf] Adding filter channels 
[channels] Changing number of channels to 2
[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps = 2
Starting playback...
[libaf] Reallocating memory in module channels, old len = 0, new len = 65534
*** [scale] Allocating mp_image_t, 1278x769x32bpp BGR packed, 3931128 bytes
*** [vo] Allocating mp_image_t, 1280x769x12bpp YUV planar, 1476480 bytes
[xmga] x: 0 y: 0 w: 1272 h: 769
[xmga] dcx: 4 dcy: 127 dx: 0 dy: 0 dw: 1272 dh: 769
A:   0.4 V:   0.0 A-V:  0.412 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
A:   0.6 V:   0.1 A-V:  0.425 ct:  0.014    2/  2   0%  0%  0.0% 1 0 0%
A:   0.7 V:   0.2 A-V:  0.528 ct:  0.019    3/  3   0%  0%  0.0% 2 0 0%
A:   0.9 V:   0.2 A-V:  0.621 ct:  0.025    4/  4   0%  0%  0.0% 3 0 0%
A:   1.0 V:   0.3 A-V:  0.713 ct:  0.031    5/  5   0%  0%  0.0% 4 0 0%
A:   1.2 V:   0.4 A-V:  0.806 ct:  0.037    6/  6   0%  0%  0.0% 5 0 0%
A:   1.3 V:   0.4 A-V:  0.898 ct:  0.044    7/  7   0%  0%  0.0% 6 0 0%
A:   1.5 V:   0.5 A-V:  1.002 ct:  0.050    8/  8   0%  0%  0.0% 7 0 0%
Uninit audio filters...
[libaf] Removing filter dummy 
[libaf] Removing filter channels 
uninit audio: imaadpcm
uninit video: qtrle
DEMUXER: freeing demuxer at 0x856cc60  
DEMUXER: freeing sh_video at 0x85ac910  
DEMUXER: freeing sh_audio at 0x85ba0d0  
vo: uninit!
vo: uninit ...

Exiting... (Quit)

-- 
Hannu




More information about the MPlayer-users mailing list