[MPlayer-users] video that misbehaives for xv but not x11

Robert Henney robh at rut.org
Tue May 9 21:14:35 CEST 2006


I've uploaded a clip to ftp.mplayerhq.hu under the name
clip_x11ok_xvbad.avi.  it plays fine using "-vo x11", but with "-vo xv"
the video looks very wrong and mplayer frequently locks up hard. (in
case it matters, I have a 3dfx card)

xv works fine for me with everything else.

interestingly, reencoding the clip with the line below results in a file
that causes mplayer to behaive the same way.

  mencoder -nosound -o reencoded.avi -ovc lavc clip_x11ok_xvbad.avi
-------------- next part --------------
MPlayer dev-CVS-060509-12:37-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

get_path('codecs.conf') -> '/home/robh/.mplayer/codecs.conf'
Reading /home/robh/.mplayer/codecs.conf: Can't open '/home/robh/.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: '-nosound' '-v' '-vo' 'xv' '-frames' '10' 'clip.avi' '-noframedrop'
init_freetype
get_path('font/font.desc') -> '/home/robh/.mplayer/font/font.desc'
Font /home/robh/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/robh/.mplayer/input.conf'
Can't open input config file /home/robh/.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('clip.avi.conf') -> '/home/robh/.mplayer/clip.avi.conf'

Playing clip.avi.
get_path('sub/') -> '/home/robh/.mplayer/sub/'
[file] File size is 2000000 bytes
STREAM: [file] clip.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 1204224  pre:419430  eof:0  

AVI file format detected.
list_end=0x1258
======= AVI Header =======
us/frame: 8341  (fps=119.890)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames  total: 177997   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  1280 x 720
==========================
list_end=0x8DA
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: WMV3 (33564D57)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 600000/5005 = 119.880
Start: 0   Len: 177997
Suggested BufferSize: 140772
Quality 0
Sample size: 0
==========================
Found 'bih', 46 bytes of 40
======= VIDEO Format ======
  biSize 46
  biWidth 1280
  biHeight 720
  biPlanes 1
  biBitCount 24
  biCompression 861293911='WMV3'
  biSizeImage 2764800
Unknown extra header dump: [4b] [f1] [2] [1] [40] [1f] 
===========================
list_end=0x114C
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC: U (55)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 24000/1 = 24000.000
Start: 0   Len: 35634999
Suggested BufferSize: 201
Quality 0
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=573
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
list_end=0x15967124
Found movie at 0x1800 - 0x15967124
stream_seek: WARNING! Can't seek to 0x15967000 !
cache_stream_seek: WARNING! Can't seek to 0x15967124 !
Auto-selected AVI video ID = 0
AVI video size=360750780 (177997)  audio size=0
VIDEO:  [WMV3]  1280x720  24bpp  119.880 fps  1943.7 kbps (237.3 kbyte/s)
[V] filefmt:3  fourcc:0x33564D57  size:1280x720  fps:119.88  ftime:=0.0083
get_path('sub/') -> '/home/robh/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours LAYER FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x00001e).
[xv common] Maximum source image dimensions: 2048x2048
==========================================================================
Opening video decoder: [dmo] DMO video codecs
get_path('registry') -> '/home/robh/.mplayer/registry'
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
GetOutput r=0x0   size:2764800  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32 
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 1280 x 720 (preferred colorspace: Packed YUY2)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (1280x720->1280x720,flags=0,'MPlayer',0x32315659)
VO: [xv] 1280x720 => 1280x720 Planar YV12 
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: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 53 for hw scaling
[xv] dx: 0 dy: 0 dw: 1280 dh: 768
INFO: Win32/DMO video codec init OK.
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
*** [vo] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
[xv] dx: 0 dy: 0 dw: 1280 dh: 768
V:   0.0   1/  1 ??% ??% ??,?% 0 0 89% 
V:   0.0   2/  2 ??% ??% ??,?% 0 0 89% 
V:   0.0   3/  3 ??% ??% ??,?% 0 0 93% 
V:   0.0   4/  4 ??% ??% ??,?% 0 0 93% 
V:   0.0   5/  5 ??% ??% ??,?% 0 0 93% 
V:   0.0   6/  6 ??% ??% ??,?% 0 0 93% 
V:   0.1   7/  7 ??% ??% ??,?% 0 0 93% 
V:   0.1   8/  8 ??% ??% ??,?% 0 0 93% 
V:   0.1   9/  9 ??% ??% ??,?% 0 0 93% 
V:   0.1  10/ 10 ??% ??% ??,?% 0 0 93% 
V:   0.1  11/ 11 ??% ??% ??,?% 0 0 92% 
V:   0.1  12/ 12 ??% ??% ??,?% 0 0 92% 
V:   0.1  13/ 13 ??% ??% ??,?% 0 0 92% 
V:   0.1  14/ 14 ??% ??% ??,?% 0 0 92% 
V:   0.1  15/ 15 ??% ??% ??,?% 0 0 92% 
V:   0.1  16/ 16 ??% ??% ??,?% 0 0 92% 
V:   0.1  17/ 17 ??% ??% ??,?% 0 0 92% 
V:   0.1  18/ 18 ??% ??% ??,?% 0 0 92% 
V:   0.2  19/ 19 ??% ??% ??,?% 0 0 92% 
V:   0.2  20/ 20 ??% ??% ??,?% 0 0 92% 
V:   0.2  21/ 21 ??% ??% ??,?% 0 0 91% 
V:   0.2  22/ 22 ??% ??% ??,?% 0 0 91% 
V:   0.2  23/ 23 ??% ??% ??,?% 0 0 91% 
V:   0.2  24/ 24 ??% ??% ??,?% 0 0 91% 
V:   0.2  25/ 25 ??% ??% ??,?% 0 0 91% 
V:   0.2  26/ 26 ??% ??% ??,?% 0 0 90% 
V:   0.2  27/ 27 ??% ??% ??,?% 0 0 90% 
V:   0.2  28/ 28 ??% ??% ??,?% 0 0 90% 
V:   0.2  29/ 29 ??% ??% ??,?% 0 0 90% 
V:   0.2  30/ 30 ??% ??% ??,?% 0 0 90% 
V:   0.3  31/ 31 ??% ??% ??,?% 0 0 89% 
V:   0.3  32/ 32 ??% ??% ??,?% 0 0 89% 
V:   0.3  33/ 33 ??% ??% ??,?% 0 0 89% 
V:   0.3  34/ 34 ??% ??% ??,?% 0 0 89% 
V:   0.3  35/ 35 ??% ??% ??,?% 0 0 89% 
V:   0.3  36/ 36 ??% ??% ??,?% 0 0 88% 
V:   0.3  37/ 37 ??% ??% ??,?% 0 0 88% 
V:   0.3  38/ 38 ??% ??% ??,?% 0 0 88% 
V:   0.3  39/ 39 ??% ??% ??,?% 0 0 88% 
V:   0.3  40/ 40 ??% ??% ??,?% 0 0 88% 
V:   0.3  41/ 41 ??% ??% ??,?% 0 0 87% 
V:   0.3  42/ 42 ??% ??% ??,?% 0 0 87% 
V:   0.4  43/ 43 ??% ??% ??,?% 0 0 87% 
V:   0.4  44/ 44 ??% ??% ??,?% 0 0 87% 
V:   0.4  45/ 45 ??% ??% ??,?% 0 0 87% 
V:   0.4  46/ 46 ??% ??% ??,?% 0 0 86% 
EOF code: 1  

Uninit video: dmo
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
-------------- next part --------------
MPlayer dev-CVS-060509-12:37-3.3.5 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Athlon K7 (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

get_path('codecs.conf') -> '/home/robh/.mplayer/codecs.conf'
Reading /home/robh/.mplayer/codecs.conf: Can't open '/home/robh/.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: '-nosound' '-v' '-vo' 'x11' '-frames' '10' 'clip.avi' '-noframedrop'
init_freetype
get_path('font/font.desc') -> '/home/robh/.mplayer/font/font.desc'
Font /home/robh/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/robh/.mplayer/input.conf'
Can't open input config file /home/robh/.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('clip.avi.conf') -> '/home/robh/.mplayer/clip.avi.conf'

Playing clip.avi.
get_path('sub/') -> '/home/robh/.mplayer/sub/'
[file] File size is 2000000 bytes
STREAM: [file] clip.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:419430  eof:0  

Cache fill:  0.00% (0 bytes)   
AVI file format detected.
list_end=0x1258
======= AVI Header =======
us/frame: 8341  (fps=119.890)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
frames  total: 177997   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  1280 x 720
==========================
list_end=0x8DA
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: WMV3 (33564D57)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 600000/5005 = 119.880
Start: 0   Len: 177997
Suggested BufferSize: 140772
Quality 0
Sample size: 0
==========================
Found 'bih', 46 bytes of 40
======= VIDEO Format ======
  biSize 46
  biWidth 1280
  biHeight 720
  biPlanes 1
  biBitCount 24
  biCompression 861293911='WMV3'
  biSizeImage 2764800
Unknown extra header dump: [4b] [f1] [2] [1] [40] [1f] 
===========================
list_end=0x114C
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC: U (55)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 24000/1 = 24000.000
Start: 0   Len: 35634999
Suggested BufferSize: 201
Quality 0
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 24000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=573
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
==========================================================================
list_end=0x15967124
Found movie at 0x1800 - 0x15967124
stream_seek: WARNING! Can't seek to 0x15967000 !
cache_stream_seek: WARNING! Can't seek to 0x15967124 !
Auto-selected AVI video ID = 0
AVI video size=360750780 (177997)  audio size=0
VIDEO:  [WMV3]  1280x720  24bpp  119.880 fps  1943.7 kbps (237.3 kbyte/s)
[V] filefmt:3  fourcc:0x33564D57  size:1280x720  fps:119.88  ftime:=0.0083
get_path('sub/') -> '/home/robh/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours LAYER FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [dmo] DMO video codecs
get_path('registry') -> '/home/robh/.mplayer/registry'
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
GetOutput r=0x0   size:2764800  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555 RGB565 RGB24 RGB32 
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 1280 x 720 (preferred colorspace: Packed YUY2)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (1280x720->1280x720,flags=0,'MPlayer',0x32315659)
VO: [x11] 1280x720 => 1280x720 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGRA special converter
INFO: Win32/DMO video codec init OK.
Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
*** [vo] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
V:   0.0   1/  1 ??% ??% ??,?% 0 0 50% 
V:   0.0   2/  2 ??% ??% ??,?% 0 0 50% 
V:   0.0   3/  3 ??% ??% ??,?% 0 0 93% 
V:   0.0   4/  4 ??% ??% ??,?% 0 0 93% 
V:   0.0   5/  5 ??% ??% ??,?% 0 0 93% 
V:   0.0   6/  6 ??% ??% ??,?% 0 0 93% 
V:   0.1   7/  7 ??% ??% ??,?% 0 0 93% 
V:   0.1   8/  8 ??% ??% ??,?% 0 0 93% 
V:   0.1   9/  9 ??% ??% ??,?% 0 0 93% 
V:   0.1  10/ 10 ??% ??% ??,?% 0 0 93% 
V:   0.1  11/ 11 ??% ??% ??,?% 0 0 92% 
V:   0.1  12/ 12 ??% ??% ??,?% 0 0 92% 
V:   0.1  13/ 13 ??% ??% ??,?% 0 0 92% 
V:   0.1  14/ 14 ??% ??% ??,?% 0 0 92% 
V:   0.1  15/ 15 ??% ??% ??,?% 0 0 92% 
V:   0.1  16/ 16 ??% ??% ??,?% 0 0 92% 
V:   0.1  17/ 17 ??% ??% ??,?% 0 0 92% 
V:   0.1  18/ 18 ??% ??% ??,?% 0 0 92% 
V:   0.2  19/ 19 ??% ??% ??,?% 0 0 92% 
V:   0.2  20/ 20 ??% ??% ??,?% 0 0 92% 
V:   0.2  21/ 21 ??% ??% ??,?% 0 0 91% 
V:   0.2  22/ 22 ??% ??% ??,?% 0 0 91% 
V:   0.2  23/ 23 ??% ??% ??,?% 0 0 91% 
V:   0.2  24/ 24 ??% ??% ??,?% 0 0 91% 
V:   0.2  25/ 25 ??% ??% ??,?% 0 0 91% 
V:   0.2  26/ 26 ??% ??% ??,?% 0 0 90% 
V:   0.2  27/ 27 ??% ??% ??,?% 0 0 90% 
V:   0.2  28/ 28 ??% ??% ??,?% 0 0 90% 
V:   0.2  29/ 29 ??% ??% ??,?% 0 0 90% 
V:   0.2  30/ 30 ??% ??% ??,?% 0 0 90% 
V:   0.3  31/ 31 ??% ??% ??,?% 0 0 89% 
V:   0.3  32/ 32 ??% ??% ??,?% 0 0 89% 
V:   0.3  33/ 33 ??% ??% ??,?% 0 0 89% 
V:   0.3  34/ 34 ??% ??% ??,?% 0 0 89% 
V:   0.3  35/ 35 ??% ??% ??,?% 0 0 89% 
V:   0.3  36/ 36 ??% ??% ??,?% 0 0 88% 
V:   0.3  37/ 37 ??% ??% ??,?% 0 0 88% 
V:   0.3  38/ 38 ??% ??% ??,?% 0 0 88% 
V:   0.3  39/ 39 ??% ??% ??,?% 0 0 88% 
V:   0.3  40/ 40 ??% ??% ??,?% 0 0 88% 
V:   0.3  41/ 41 ??% ??% ??,?% 0 0 87% 
V:   0.3  42/ 42 ??% ??% ??,?% 0 0 87% 
V:   0.4  43/ 43 ??% ??% ??,?% 0 0 87% 
V:   0.4  44/ 44 ??% ??% ??,?% 0 0 87% 
V:   0.4  45/ 45 ??% ??% ??,?% 0 0 87% 
V:   0.4  46/ 46 ??% ??% ??,?% 0 0 86% 
EOF code: 1  

Uninit video: dmo
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
Failed to open registry file '/home/robh/.mplayer/registry' for writing.
vo: uninit ...

Exiting... (End of file)


More information about the MPlayer-users mailing list