[MPlayer-users] Problem with XV and SDL vo driver

Kostko kostko at jweb-network.net
Tue Dec 2 18:48:13 CET 2003


well, mplayer works fine with -vo x11 but not with xv or sdl. mplayer -v 
outputs the following:

MPlayer 1.0pre2-3.2.3 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 1830 MHz (Family: 
6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/kostko/.mplayer/config
Reading /home/kostko/.mplayer/codecs.conf: Reading 
/usr/share/mplayer/codecs.conf: 61 audio & 157 video codecs
CommandLine: '-v' '-ao' 'sdl' '-vo' 'xv' '3x11 Carpenter Street.avi'
get_path('font/font.desc') -> '/home/kostko/.mplayer/font/font.desc'
Font /home/kostko/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/home/kostko/.mplayer/input.conf'
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed: 52 binds
get_path('3x11 Carpenter Street.avi.conf') -> 
'/home/kostko/.mplayer/3x11 Carpenter Street.avi.conf'

Playing 3x11 Carpenter Street.avi
[file] File size is 366858240 bytes
STREAM: [file] 3x11 Carpenter Street.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0

Cache fill:  0.00% (0 bytes)    AVI file format detected.
list_end=0x22DE
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 60184   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 352
==========================
list_end=0x113C
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 24000/1001 = 23.976
Start: 0   Len: 60184
Suggested BufferSize: 71841
Quality 10000
Sample size: 0
==========================
found 'bih', 108 bytes of 40
======= VIDEO Format ======
   biSize 40
   biWidth 640
   biHeight 352
   biPlanes 1
   biBitCount 24
   biCompression 1145656920='XVID'
   biSizeImage 675840
===========================
list_end=0x21D2
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 104589
Suggested BufferSize: 23040
Quality -1
Sample size: 0
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16359
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=392
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x22DE
list_end=0x232A
hdr=Software  size=5
Software  : HUH?
hdr=Name  size=1
Name      :
hdr=Subject  size=1
Subject   :
hdr=Artist  size=1
Artist    :
hdr=Copyright  size=1
Copyright :
hdr=Comments  size=1
Comments  :
Broken chunk?  chunksize=1230  (id=JUNK)
list_end=0x15B5920C
Found movie at 0x280C - 0x15B5920C
Reading INDEX block, 164749 chunks for 60184 frames (fpos=0x15b59214)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x5A0C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=321775144 (60184) audio size=41087568 (104589)
VIDEO:  [XVID]  640x352  24bpp  23.976 fps  1025.5 kbps (125.2 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:640x352  fps:23.98  ftime:=0.0417
Clip info:
  Software: HUH?
  Name:
  Subject:
  Artist:
  Copyright:
  Comments:
get_path('sub/') -> '/home/kostko/.mplayer/sub/'
get_path('default.sub') -> '/home/kostko/.mplayer/default.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
XXX initial  v_pts=0.000  a_pos=23040 (1.408)

MPEG 1.0, Layer III, 48000 Hz 160 kbit Joint-Stereo, BPF: 480
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 20000->192000 (160.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
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
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
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 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit 
(Little-Endian)
SDL: buf size = 4096
AO: [sdl] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: SDLlib audio output
AO: Author: Felix Buenemann <atmosfear at users.sourceforge.net>
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
Starting playback...
[ffmpeg] aspect_ratio: 1.818182
VDec: vo config request - 640 x 352 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO Config (640x352->640x352,flags=4,'MPlayer',0x32315659)
VO: [xv] 640x352 => 640x352 Planar YV12  [zoom]
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 77 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 376
*** [vo] Allocating (slices) mp_image_t, 640x352x12bpp YUV planar, 
337920 bytes
[xv] dx: 0 dy: 0 dw: 640 dh: 376
A:   0.8 V:   0.0 A-V:  0.790 ct:  0.000    1/  1   0%  0%  0.0% 0 0 30%
*** [vo] Allocating (slices) mp_image_t, 640x352x12bpp YUV planar, 
337920 bytes
A:   0.9 V:   0.0 A-V:  0.833 ct:  0.004    2/  2   0%  0%  0.0% 0 0 30%
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x859ace0
Successfully enabled DPMS
SDL: Audio Subsystem shutting down!
vo: uninit ...

Exiting... (Quit)

Kostko.

Martin Collins wrote:
> I believe it is, I have the same and it is the default value for
> mplayer. Looks like you are going to have to try something else.
> What does mplayer -v say? Does it work with -vo x11?
> 
> Martin
-- 
Kostko <kostko at jweb-network.net>
JWeb-Network




More information about the MPlayer-users mailing list