[Mplayer-dvb] cpu (system) load with dvb-card at 100%

bln_77 bln_77 at yahoo.de
Sat Jan 11 19:28:48 CET 2003


hello everyone,

first i want say that mplayer is really a great video player. i use
with my dvb to watch video on my tv and it works great. but i also
have al tiny little problem...
the cpu load (system) on my computer (p4 with 2.4 GHz) is mostly at
100%. when i give mplayer more priority to avoid stocking of playing
from others running tasks the whole system nearly freeze.
under top i can see that mplayer is consuming the cpu power.

i played a normal avi file with mp3 audio over my soundblaster live
with spdif out (alsa9). if i play with the -nosound option mplayer
only take 25% cpu power but when i play the same file on my X windows
WITH sound, mplayer even take only 30% - 40 %. so i think that the
sound is not the problem. i also tried mplayer (a older version, i
think it was 0.9pre8) on a other computer with the same sound and dvb
card and its the same problem!
have anyone an idea, please?
thx
thomas


my hardware:
p4 2,4
soundblaster live 5.1 with spdif out
dvb-s rev 1.6
harddisk dma is enabled

software:
mplayer 0.90rc2
alsa-driver-0.9.0rc6

mplayer parameters:
mplayer -vo mpegpes -ao  alsa9:hw:0,3  -vop
  lavc,expand=-1:476:-1:-1:1,scale=720:576 -aop list=volnorm -fps 25
  -quiet -framedrop -cache 10000

output from top and mplayer:


########### top output:
 19:10:31 up 6 days, 22:36,  5 users,  load average: 0.85, 0.29, 0.10
65 processes: 62 sleeping, 3 running, 0 zombie, 0 stopped
CPU states:  51.7% user,  48.3% system,   0.0% nice,   0.0% idle
Mem:    514520K total,   506092K used,     8428K free,   123436K buffers
Swap:   498004K total,    21748K used,   476256K free,   327248K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
23642 root      24  -1 23180  22M 11784 R <  99.8  4.5   0:55 mplayer
23644 root      15   0   956  956   748 R     0.1  0.1   0:00 top
    1 root      15   0   112   72    72 S     0.0  0.0   0:05 init
###########


############ mplayer output:
VIDEO:  [DIV3]  576x312  24bpp  25.00 fps  870.3 kbps (106.2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
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)
==========================================================================
Opening video filter: [lavc]
Opening video filter: [expand=-1:476:-1:-1:1]
Expand: -1 x 476, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale=720:576]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
[pl_volnorm] Normalizer plugin in use.
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: soundcard set to hw:0
alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [plugin] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
FPS forced to be 25.000  (ftime: 0.040)
Start playing...
VDec: vo config request - 576 x 312 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
VO: [mpegpes] 720x576 => 720x576 Mpeg PES 

##################

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de



More information about the MPlayer-dvb mailing list