[MPlayer-users] Matrox Mystique - black screen with -vo sdl

Marek Janukowicz child at t17.ds.pwr.wroc.pl
Wed Mar 26 22:09:36 CET 2003


Hello

When I run mplayer with -vo sdl I get audio, but no video output - only
black window with small green rectangle at top-right corner. This is
mplayer -v output:

ksydry at child krotkie $ mplayer -vo sdl -v Eric.Armstrong_-_The.ChubbChubbs\!.avi 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
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/ksydry/.mplayer/config
Reading /home/ksydry/.mplayer/codecs.conf: can't open
'/home/ksydry/.mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Reading /usr/share/mplayer/codecs.conf: 50 audio & 136 video codecs
CommandLine: '-vo' 'sdl' '-v' 'Eric.Armstrong_-_The.ChubbChubbs!.avi'
get_path('font/font.desc') -> '/home/ksydry/.mplayer/font/font.desc'
font: can't open file: /home/ksydry/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Brak dostępu (mplayer should be setuid root or
/dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/ksydry/.mplayer/input.conf'
Can't open input config file /home/ksydry/.mplayer/input.conf : Nie ma
takiego pliku ani katalogu
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed : 52 binds
Setting up LIRC support...
get_path('Eric.Armstrong_-_The.ChubbChubbs!.avi.conf') ->
'/home/ksydry/.mplayer/Eric.Armstrong_-_The.ChubbChubbs!.avi.conf'

Playing Eric.Armstrong_-_The.ChubbChubbs!.avi
Not an URL!
File size is 48930816 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill:  0,00% (0 bytes)    AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 40000  (fps=25,000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 8192   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  640 x 352
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25000/1000 = 25,000
Start: 0   Len: 8192
Suggested BufferSize: 52328
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 352
biPlanes 1
biBitCount 24
biCompression 861292868='DIV3'
biSizeImage 675840
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> 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: 13653
Suggested BufferSize: 960
Quality -1
Sample size: 0
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 19590
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=470
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x2308
hdr=Software  size=15
Software  : Nandub v1.0rc2
hdr=Name  size=17
Name      : The ChubbChubbs!
hdr=Subject  size=17
Subject   : The ChubbChubbs!
hdr=Artist  size=1
Artist    : 
hdr=Copyright  size=1
Copyright : 
hdr=Comments  size=1
Comments  : 
Broken chunk?  chunksize=1264  (id=JUNK)
list_end=0x2E549AA
Found movie at 0x280C - 0x2E549AA
Reading INDEX block, 21845 chunks for 8192 frames
(fpos=0x2e549b2)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4
idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=41967803 (8192) audio size=6424248
(13653)
VIDEO:  [DIV3]  640x352  24bpp  25,00 fps  1024,6
kbps (125,1 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:640x352
fps:25,00  ftime:=0,0400
Clip info:
Software: Nandub v1.0rc2
Name: The ChubbChubbs!
Subject: The ChubbChubbs!
Artist: 
Copyright: 
Comments: 
get_path('sub/') -> '/home/ksydry/.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, 48000 Hz 128 kbit Joint-Stereo,
BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: Yes,
emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio:
16000->192000 (128,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG
layer-2, layer-3)
==========================================================================
SDL: Using driver: x11
SDL: deactivating XScreensaver/DPMS
SDL: X11 Resolution 1024x768
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec
codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg
DivX ;-) (MS MPEG-4 v3))
==========================================================================
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: 0,000000
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 undefined - no prescaling applied.
VO Config
(640x352->640x352,flags=4,'MPlayer',0x32315659)
VO: [sdl] 640x352 => 640x352 Planar YV12  [zoom]
VO: Description: SDL YUV/RGB/BGR renderer (SDL
v1.1.7+ only!)
VO: Author: Ryan C. Gordon <icculus at lokigames.com>,
Felix Buenemann <atmosfear at users.sourceforge.net>
SDL: Using 0x32315659 (Planar YV12) image format
SDL: using hardware-surface
SDL: setting zoomed fullscreen with modeswitching
SDL Mode: 0:  1024 x 768
SET SDL Mode: 0:  1024 x 768
*** [vo] Allocating (slices) mp_image_t,
640x352x12bpp YUV planar, 337920 bytes
get_path('subfont.ttf') ->
'/home/ksydry/.mplayer/subfont.ttf'
XXX initial  v_pts=0,000  a_pos=2208 (0,113) /  1
0%  0%  0,0% 0 0 36%
*** [vo] Allocating (slices) mp_image_t,
640x352x12bpp YUV planar, 337920 bytes
Uninit audio filters... 0,019 ct:  0,045   30/ 30
11% 79%  1,1% 0 0 99%
[libaf] Removing filter dummy 
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x84b6160  
SDL: activating XScreensaver/DPMS
SDL: Audio Subsystem shutting down!
vo: x11 uninit called but X11 not inited..

Exiting... (Quit)


With -vo xv not working either (I get Xvideo extension loaded, but when
I run xvinfo my TV tuner card is the only adaptor showing up) I am
forced to use x11, which is very slow.

SDL works with some video codecs (eg. divx4), but is even slower than
x11.

The problem occured with several versions of mplayer - from mplayer
.90-pre to mplayer-0.90-rc5.

Thanks for any suggestions.

-- 
Marek Janukowicz



More information about the MPlayer-users mailing list