[MPlayer-users] BUG: Xv output clipped and stretched on Radeon 9500

Thor Kristoffersen Thor.Kristoffersen at nr.no
Sat Feb 8 14:32:08 CET 2003


When I am using the Xv video driver with a Radeon 9500, only the left half
of the picture is visible, and it is stretched horizontally so that it
retains the original aspect.

System Information:

MPlayer version: CVS 2002-02-08
OS: Debian Linux (Sarge)
kernel version: 2.4.19
libc version: 2.2.5
X version: 4.2.1
gcc version: 2.95.4
ld version: 2.13.90.0.10
binutils version: 2.13.90.0.10

CPU: AMD XP1700+
Video card: Sapphire Radeon 9500 64M (ATI R300)
Video driver: ATI Linux Driver Version 2.5.1

mplayer -v -vo xv Star\ Wars\ -\ Clone\ War.avi > mplayer.log 2>&1

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer CVS-030208-13:12-2.95.4 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/thor/.mplayer/config
Reading /home/thor/.mplayer/codecs.conf: can't open '/home/thor/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 50 audio & 135 video codecs
CommandLine: '-v' '-vo' 'xv' 'Star Wars - Clone War.avi'
get_path('font/font.desc') -> '/home/thor/.mplayer/font/font.desc'
font: can't open file: /home/thor/.mplayer/font/font.desc
Font /usr/share/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/thor/.mplayer/input.conf'
Can't open input config file /home/thor/.mplayer/input.conf : No such file or directory
Can't open input config file /etc/mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) input config
get_path('Star Wars - Clone War.avi.conf') -> '/home/thor/.mplayer/Star Wars - Clone War.avi.conf'

Playing Star Wars - Clone War.avi
Not an URL!
File size is 28813312 bytes
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 41666  (fps=24.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 3467   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 272
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: MSVC (4356534D)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 1040100/43337 = 24.000
Start: 0   Len: 3467
Suggested BufferSize: 42106
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 640
  biHeight 272
  biPlanes 1
  biBitCount 24
  biCompression 808802372='DX50'
  biSizeImage 522240
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 44100/1152 = 38.281
Start: 0   Len: 5529
Suggested BufferSize: 418
Quality -1
Sample size: 0
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16000
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=417
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x22B6
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1346  (id=JUNK)
list_end=0x1B57140
Found movie at 0x280C - 0x1B57140
Reading INDEX block, 8996 chunks for 3467 frames (fpos=0x1b57148)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1AE)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=26273165 (3467) audio size=2310896 (5529)
VIDEO:  [DX50]  640x272  24bpp  24.00 fps  1455.0 kbps (177.6 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:640x272  fps:24.00  ftime:=0.0417
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/thor/.mplayer/sub/'
==========================================================================
Opening 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
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Unknown wm type...
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int 
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 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 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 128/128  (1024 bytes/frag)  free: 131072
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...
This file was encoded with DivX500 Build413
[ffmpeg] aspect_ratio: 2.352941
VDec: vo config request - 640 x 272 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO Config (640x272->640x272,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x272 => 640x272 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 67 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 272
*** [vo] Allocating mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 272
A:   0.1 V:   0.0 A-V:  0.056 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
XXX initial  v_pts=0.000  a_pos=7941 (0.496) 
*** [vo] Allocating mp_image_t, 640x272x12bpp YUV planar, 261120 bytes
A:   0.1 V:   0.0 A-V:  0.021 ct:  0.002    2/  2   0%  0%  0.0% 0 0 0%
A:   0.1 V:   0.1 A-V:  0.000 ct:  0.002    3/  3   0%  0%  0.0% 0 0 0%
A:   0.1 V:   0.1 A-V: -0.000 ct:  0.002    4/  4   0%  0%  0.0% 0 0 0%
A:   0.2 V:   0.2 A-V:  0.000 ct:  0.002    5/  5   0%  0%  0.0% 0 0 0%
A:   0.2 V:   0.2 A-V:  0.001 ct:  0.002    6/  6   0%  0%  0.0% 0 0 0%
A:   0.2 V:   0.2 A-V: -0.000 ct:  0.002    7/  7   0%  0%  0.0% 0 0 0%
A:   0.3 V:   0.3 A-V:  0.000 ct:  0.002    8/  8   0%  0%  0.0% 0 0 0%
A:   0.3 V:   0.3 A-V:  0.000 ct:  0.002    9/  9   0%  0%  0.0% 0 0 0%
A:   0.4 V:   0.4 A-V: -0.000 ct:  0.002   10/ 10   0%  0%  0.0% 0 0 0%
A:   0.4 V:   0.4 A-V:  0.000 ct:  0.002   11/ 11   0%  0%  0.0% 0 0 0%
A:   0.5 V:   0.5 A-V:  0.001 ct:  0.002   12/ 12   0%  0%  0.0% 0 0 0%
A:   0.5 V:   0.5 A-V: -0.000 ct:  0.002   13/ 13   0%  0%  0.0% 0 0 0%
A:   0.5 V:   0.5 A-V:  0.001 ct:  0.003   14/ 14  13%  4%  1.7% 0 0 0%
A:   0.6 V:   0.6 A-V: -0.001 ct:  0.002   15/ 15  12%  4%  1.7% 0 0 0%
A:   0.6 V:   0.6 A-V: -0.000 ct:  0.002   16/ 16  11%  4%  1.6% 0 0 0%
A:   0.7 V:   0.7 A-V:  0.000 ct:  0.002   17/ 17  11%  4%  1.6% 0 0 0%
A:   0.7 V:   0.7 A-V:  0.001 ct:  0.003   18/ 18  10%  4%  1.5% 0 0 0%
A:   0.7 V:   0.7 A-V: -0.000 ct:  0.003   19/ 19  10%  4%  1.5% 0 0 0%
A:   0.8 V:   0.8 A-V:  0.000 ct:  0.003   20/ 20   9%  4%  1.5% 0 0 0%
A:   0.8 V:   0.8 A-V: -0.000 ct:  0.003   21/ 21   9%  4%  1.4% 0 0 0%
A:   0.9 V:   0.9 A-V: -0.000 ct:  0.002   22/ 22   9%  4%  1.4% 0 0 0%
A:   0.9 V:   0.9 A-V:  0.000 ct:  0.003   23/ 23   9%  4%  1.4% 0 0 0%
A:   1.0 V:   1.0 A-V:  0.001 ct:  0.003   24/ 24   8%  4%  1.3% 0 0 0%
A:   1.0 V:   1.0 A-V:  0.000 ct:  0.003   25/ 25   8%  5%  1.3% 0 0 0%
A:   1.0 V:   1.0 A-V: -0.001 ct:  0.003   26/ 26   8%  5%  1.3% 0 0 0%
A:   1.1 V:   1.1 A-V: -0.000 ct:  0.003   27/ 27   7%  4%  1.3% 0 0 0%
A:   1.1 V:   1.1 A-V: -0.000 ct:  0.003   28/ 28   7%  4%  1.3% 0 0 0%
A:   1.2 V:   1.2 A-V:  0.000 ct:  0.003   29/ 29   7%  4%  1.2% 0 0 0%
A:   1.2 V:   1.2 A-V: -0.000 ct:  0.003   30/ 30   7%  4%  1.2% 0 0 0%
A:   1.2 V:   1.2 A-V: -0.000 ct:  0.003   31/ 31   7%  4%  1.2% 0 0 0%
A:   1.3 V:   1.3 A-V: -0.001 ct:  0.003   32/ 32   7%  4%  1.2% 0 0 0%
A:   1.3 V:   1.3 A-V: -0.000 ct:  0.002   33/ 33   6%  4%  1.2% 0 0 0%
A:   1.4 V:   1.4 A-V:  0.004 ct:  0.003   34/ 34   6%  4%  1.2% 0 0 0%
Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x84767a0  
vo: uninit ...

Exiting... (Quit)



More information about the MPlayer-users mailing list