[MPlayer-users] Voodoo3 + tdfx_vid + subtitles = problem

jakubpol jakubpol at poczta.onet.pl
Tue Sep 21 17:06:07 CEST 2004


Hello everybody. I have an old box with a voodoo3 2000 and decided to install 
mplayer and watch dvds/videos on it. I've read that the tdfx_vid is the 
fastest vo for that card. Unfortunately, it wouldn't compile under the 2.6 
kernel so I had to downgrade (the whole system -I'm using Gentoo) and finally 
- after a week of recompiling - it compiled, installed and loaded. And it 
works. And it's great (fast).

There are only two problems I'm having with it:

1) after having used '-vo tdfx_vid' I cannot use '-vo xv' any more (the video 
plays but the sceen is black), but it wouldn't be an issue it it weren't for 
problem 2),

2) I cannot get the subtitles for *.avi files to work. Here's how I launch 
mplayer (I've read a thread in which the author of tdfx_vid said it should 
work; you can also deduce this from the man page):

a) a dvd:
mplayer -vf expand=-1:-1:-1:-1:1 -double -vo xover:tdfx_vid dvd:// -framedrop 
-nosound -subfont-autoscale 3 -font /home/myuser/.mplayer/font/font.desc

For DVDs the subtitles work. Moreover, the whole OSD system works (if I 
rewind, I can see the beautiful progress bar, the same with the volume bar).

b) an avi file (tried many of them):

mplayer -vf expand=-1:-1:-1:-1:1 -double -vo 
xover:tdfx_vid /mnt/cdrom/some_film.avi -framedrop -nosound 
-subfont-autoscale 3 -font /home/myuser/.mplayer/font/font.desc

And it doesn't work at all.

And here's the output:
***********************************************************
MPlayer 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron A Mendocino/Pentium II Dixon 501.8 MHz (Family: 6, 
Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Reading /usr/share/mplayer/codecs.conf: 73 
audio & 180 video
codecs
Font /home/myuser/.mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Input config file /usr/share/mplayer/input.conf parsed: 53 binds

Playing /mnt/cdrom/some_file.avi.

Cache fill:  0,00% (0 bytes)
Cache fill: 10,45% (876544 bytes)    AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [DX50]  512x384  24bpp  23,976 fps  880,2 kbps (107,4 kbyte/s)
dvdsublang...casablanca 1942 michael curtiz pl
SUB: Detected subtitle file format: subviewer
SUB: Read 1537 subtitles.
SUB: added subtitle file (1): /mnt/cdrom/some_file.srt
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
tdfx_vid version 1
  Ram: 16777216
  Screen: 1024 x 768
  Format: BGR32
Opening video filter: [expand w=-1 h=-1 x=-1 y=-1 osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 512 x 384 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [xover] 512x384 => 512x384 Planar YV12  [fs]
Using colorkey: ff00
tdfx_vid: Overlay ready : 512(1024) x 384 @ 2 => 512(4096) x 384 @ 4
Full DR not possible, trying SLICES instead!
V:   0,0    1   0%  0%  0,0% 0 0 0%
Full DR not possible, trying SLICES instead!
V:   0,0    2   0%  0%  0,0% 0 0 0%
Full DR not possible, trying SLICES instead!
V:   0,1    3   0%  0%  0,0% 0 0 0%
V:   0,1    4   0%  0%  0,0% 0 0 0%
V:   0,2    5   0%  0%  0,0% 0 0 0%

etc.
***********************************************************

So, as far as I can tell, mplayer seems to find the subtitles, and they are 
loaded, but not displayed (there is no OSD whatsoever, e.g. when you rewind or 
change volume). When using the xv video out, the subtitles are displayed.

My specs: kernel 2.4.25, Gentoo, gcc-3.3.3, mplayer-1.0_pre5-r3, xorg-6.8.0 
(I've also tried 6.7.0-r2) with the tdfx driver. Any help (or even vague - 
very vague - suggestions) would be very appreciated.

Jakub




More information about the MPlayer-users mailing list