|
| To: | Lee Revell <rlrevell@xxxxxxxxxxx> |
| Subject: | [MPlayer-users] Re: mplayer + heavy io: why ionice doesn't help? |
| From: | Denis Vlasenko <vda.linux@xxxxxxxxxxxxxx> |
| Date: | Sun, 20 Aug 2006 18:43:58 +0200 |
| Cc: | mplayer-users@xxxxxxxxxxxx,Eric Piel <Eric.Piel@xxxxxxxxxxxxxxxx>,Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>,linux-kernel@xxxxxxxxxxxxxxx |
| Delivered-to: | itdp@localhost |
| Delivered-to: | mplayer-users@mplayerhq.hu |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com;h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id;b=XfV56HSToutUEDH6ZC/dXLJzql8BzqzNcGh8oH2e01j+NkixDfTpLqlUsYwC34BwEO+96vuwPYv/zv6Oxp5ke2ITB0AeaiExcQHPnr57dyZTrytSquZ+wpbotLk/qBxr+GZlpFrk7pP7Ug1uTzNH670oIWkCv7uBqaLpk0YWYdA= |
| In-reply-to: | <1156085026.10565.39.camel@mindpipe> |
| References: | <200608181937.25295.vda.linux@googlemail.com><Pine.LNX.4.61.0608201021340.9707@yvahk01.tjqt.qr><1156085026.10565.39.camel@mindpipe> |
| User-agent: | KMail/1.8.2 |
On Sunday 20 August 2006 16:43, Lee Revell wrote: > On Sun, 2006-08-20 at 10:22 +0200, Jan Engelhardt wrote: > > > > > >It helps. mplayer skips much less, but still some skipping is present. > > > > Try with -ao alsa, then it should skip less, or at least, if it skip, skip > > back so that less audio is lost. > > When playing audio-only files, it is always wise to specify e.g. -cache 320 > > which proved to be a good value for my workloads. > > > > Only with the very latest versions of mplayer does ALSA work at all. > It's unusable here because it resets the auduio stream on each underrun > rather than simply ignoring them. I'm not sure that I ever got an underrun (may check it for you if you need that, how to do it?), but mplayer -ao alsa is working for me just fine. I eliminated skips due to CPU and disk using nice and -cache 8000. I still can make it skip when my KDE background picture is changing. I think that these skips are caused by the X server. It has no prioritization for request handling and thus it does not paint mplayer output fast enough: it needs to repaint background and semi-transparent konsole(s), and that is taking a few seconds at least. This is probably aggravated by serializing nature of Xlib, according to: http://en.wikipedia.org/wiki/XLib http://en.wikipedia.org/wiki/XCB -- vda _______________________________________________ MPlayer-users mailing list MPlayer-users@xxxxxxxxxxxx http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
| [Prev in Thread] | Current Thread | [Next in Thread] |