[MPlayer-dev-eng] XV bug?

Julian J. M. bandit at telecable.es
Sat May 4 03:18:26 CEST 2002


Hi
	There is a problem with xv output. There is a black horizontal bar on
top of the image, and a thinner vertical bar on the left. It doesn't
happen with vo x11.

	It's a new bug, since it didn't happen with recent (less than a week)
versions. BTW, i'm using the open nvidia driver and XFree 4.1.0 (no
kernel module)

	Here are mplayer logs both for x11 and xv ouput:

====================================================================
$ mplayer file.avi -vo xv

MPlayer CVS-020504-00:25-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/bandit/.mplayer/codecs.conf: 34 audio & 86 video codecs
CommandLine: '/mnt/down/DVDRip/Fundir/Yamakasi.avi' '-vo' 'xv' '-v'
get_path('font/font.desc') -> '/home/bandit/.mplayer/font/font.desc'
font: can't open file: /home/bandit/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/bandit/.mplayer/input.conf'
Parsing input config file /home/bandit/.mplayer/input.conf
Input config file /home/bandit/.mplayer/input.conf parsed : 50 binds
Playing /mnt/down/DVDRip/Fundir/Yamakasi.avi
Not an URL!
File size is 733073326 bytes
Detected AVI file format!
list_end=0x146
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 130207   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 272
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0   Len: 130207
Suggested BufferSize: 44518
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 272
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 522240
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x146
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 48000/1152 = 41.667
Start: 0   Len: 217031
Suggested BufferSize: 960
Quality 0
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 12882
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
Broken chunk?  chunksize=1714  (id=JUNK)
list_end=0x2B5D0946
Found movie at 0x80C - 0x2B5D0946
Reading INDEX block, 347238 chunks for 130207 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 347238 chunks for 130207 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0xFC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=724520523
VIDEO:  [DIVX]  640x272  24bpp  25.00 fps  1112.9 kbps (135.8 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:640x272  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/bandit/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 48000 Hz 80 kbit Joint-Stereo, BPF: 240
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 10000->192000
X11 opening display: :1
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":1" =>
local display)
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
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
vo_xv: get: XV_BRIGHTNESS = 0
vo_xv: assume: XV_BRIGHTNESS = 0
vo_xv: get: XV_CONTRAST = 4096
vo_xv: assume: XV_CONTRAST = 0
vo_xv: get: XV_SATURATION = 4096
vo_xv: assume: XV_SATURATION = 0
vo_xv: get: XV_HUE = 0
vo_xv: assume: XV_HUE = -1000
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 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 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
Start playing...
XXX initial  v_pts=0.000  a_pos=6432 (0.499) 
VDec: vo config request - 640 x 272, Planar YV12    0%  0%  0.0% 0 0 0%
[PP] Sorry, postprocessing is not available
[vo] query(Planar YV12) -> 3
vo_debug: query(Planar YV12) returned 0xC37 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(640x272->640x272,flags=0,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0  
VO: [xv] 640x272 => 640x272 Planar YV12 
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 42 for hw scaling
vo_xv: reset gamma correction
[xv] dx: 0 dy: 0 dw: 640 dh: 272
*** [pp] Exporting mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
[xv] dx: 6 dy: 19 dw: 640 dh: 272
*** [vo] Allocating mp_image_t, 640x272x12bpp YUV planar, 261120 bytes%
using npp filters 0x7/0x7
[xv] dx: 6 dy: 19 dw: 640 dh: 272  0.003    4/  4   0%  0%  0.0% 0 0 0%
A:   3.5 V:   3.5 A-V:  0.010 ct: -0.034   87/ 87   6% 14%  1.7% 0 0 0%
*** free_stream() called ***

Exiting... (Quit)

====================================================================

$ mplayer file.avi -vo x11

MPlayer CVS-020504-00:25-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
Reading /home/bandit/.mplayer/codecs.conf: 34 audio & 86 video codecs
CommandLine: '/mnt/down/DVDRip/Fundir/Yamakasi.avi' '-vo' 'x11' '-v'
get_path('font/font.desc') -> '/home/bandit/.mplayer/font/font.desc'
font: can't open file: /home/bandit/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/bandit/.mplayer/input.conf'
Parsing input config file /home/bandit/.mplayer/input.conf
Input config file /home/bandit/.mplayer/input.conf parsed : 50 binds
Playing /mnt/down/DVDRip/Fundir/Yamakasi.avi
Not an URL!
File size is 733073326 bytes
Detected AVI file format!
list_end=0x146
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 130207   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 272
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0   Len: 130207
Suggested BufferSize: 44518
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 272
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 522240
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x146
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 48000/1152 = 41.667
Start: 0   Len: 217031
Suggested BufferSize: 960
Quality 0
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 12882
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=1152
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
Broken chunk?  chunksize=1714  (id=JUNK)
list_end=0x2B5D0946
Found movie at 0x80C - 0x2B5D0946
Reading INDEX block, 347238 chunks for 130207 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 347238 chunks for 130207 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0xFC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=724520523
VIDEO:  [DIVX]  640x272  24bpp  25.00 fps  1112.9 kbps (135.8 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:640x272  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/bandit/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow!Ex optimized decore!
MPEG 1.0, Layer III, 48000 Hz 80 kbit Joint-Stereo, BPF: 240
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 10000->192000
X11 opening display: :1
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":1" =>
local display)
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 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 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
Start playing...
XXX initial  v_pts=0.000  a_pos=6432 (0.499) 
VDec: vo config request - 640 x 272, Planar YV12    0%  0%  0.0% 0 0 0%
[PP] Sorry, postprocessing is not available
[vo] query(Planar YV12) -> 1
[vo] query(Planar I420) -> 1
[vo] query(Planar IYUV) -> 1
vo_debug: query(Planar YV12) returned 0xC45 (i=0) 
vo_debug: query(Planar I420) returned 0xC45 (i=1) 
vo_debug: query(Planar IYUV) returned 0xC45 (i=2) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(640x272->640x272,flags=0,'MPlayer',0x32315659)
REQ: flags=0x445  req=0x0  
VO: [x11] 640x272 => 640x272 Planar YV12 
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
*** [pp] Exporting mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
*** [vo] Allocating mp_image_t, 640x272x12bpp YUV planar, 261120 bytes%
using npp filters 0x7/0x7
A:   1.9 V:   1.9 A-V:  0.008 ct: -0.029   48/ 48   8% 24%  1.9% 0 0 0%
*** free_stream() called ***

Exiting... (Quit)



Greetings,
	Julián

====================================================================





More information about the MPlayer-dev-eng mailing list