[MPlayer-users] general speedup hints

Igor Grabin violent at death.kiev.ua
Fri Nov 28 15:19:40 CET 2003


Hiya,

I have a bit of a weird setup...
IBM Thinkpad 380XD. It's a 233 MMX, 64MB Ram, 2MB NeoMagic.
OpenBSD.
I want to be able to watch anime on that.

What I did in the past:
used mencoder on a powerful machine to convert divx5 to 512x384 mpeg1,
and watched that.
( mencoder -oac copy -vf scale -zoom -ovc lavc -lavcopts \
vcodec=mpeg1video -xy 512 )

However, I did an upgrade, and OpenBSD 3.2 + mplayer 0.90 turned to
OpenBSD 3.4 + mplayer 1.0pre2.

Things got slow. REAL slow. before the upgrade, I was watching
512x384, and slowups/complaints about slow hardware appeared only on
the scenes with massive moving backgrounds. Now the playback works
'like in the old times' with 320x256

what I did:
1. tried mplayer -ac dummy. video got way faster. "maybe slowdowns"
instead of "rarely keyframes"
2. tried to compile mplayer-0.92 on the fresh os to compare the speed.
I failed :(.
3. compiled cvs version, as of today.
it fixed a couple of crashes I was having with 1.0pre2,
but the speed stayed +- the same.
4. options tried with little or no effect:  -dr -noslices
-autosync {0,30,1000}
-abs {0,1000}

what speedup steps may I take, if reencoding the files "for that
notebook only" is an option? (btw, I tried to make an .avi with pcm
sound. no improvements).

mplayer.conf:
# sound doesn't work without af. weird sound card. mpg123 uses it, tho
af=resample=22050,format=1:unsigned
osdlevel=0
idx=yes
vo=xv
fs=yes
framedrop=yes
monitoraspect=4:3

bugreports' info:
OpenBSD 3.4-current

-r--r--r--  1 root  bin  657388 Nov  2 00:05 /usr/lib/libc.so.30.1

XFree86 Version 4.3.0 (for OpenBSD)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: OpenBSD 3.4 i386 [ELF]
Build Date: 17 October 2003

Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.4/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease, propolice)

GNU ld version 2.11.2 (with BFD 2.11.2)

GNU assembler 2.11.2

cpu0: Intel Pentium/MMX (Tillamook) ("GenuineIntel" 586-class) @232 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,MMX

videocard info from X:
Neomagic Corporation NM2160 [MagicGraph 128XD] rev 1
Total Mem: 1984 kB

sb0 at isa0 port 0x220/24 irq 5 drq 1: dsp v3.02
mpg123 uses the card fine, however, mplayer with no af options
concludes that:
audio_setup: your card doesn't support 2 channel, Signed 16-bit
(Little-Endian), 44100 Hz samplerate

-- 
Igor "CacoDem0n" Grabin, http://violent.death.kiev.ua/



More information about the MPlayer-users mailing list