From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rynjm-0004A9-IH for garchives@archives.gentoo.org; Sat, 18 Feb 2012 17:06:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3044AE100B; Sat, 18 Feb 2012 17:05:49 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id 271A0E1066 for ; Sat, 18 Feb 2012 17:04:09 +0000 (UTC) Received: from weird.wonkology.org (xdsl-78-35-136-222.netcologne.de [78.35.136.222]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id 63C9EDC04C for ; Sat, 18 Feb 2012 18:04:08 +0100 (CET) Date: Sat, 18 Feb 2012 18:04:07 +0100 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] I want to play movies without hangs Message-ID: <20120218180407.74055f5e@weird.wonkology.org> In-Reply-To: References: <20120216162948.7eea6070@weird.wonkology.org> <20120218021302.GA13950@waltdnes.org> <20120218064552.1ff2d025@weird.wonkology.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 4ac3cbe6-31f8-47e0-b326-84fb948ad592 X-Archives-Hash: 6db951d5c0fe15b7140e249884cda6be James Broadhead writes: > Please try: > ~/.mplayer/config > lavdopts=threads=2 > # Use 128MiB input cache by default. > cache = 131072 > # Prefill 20% of the cache before starting playback. > cache-min = 20.0 > > Which should eliminate disk IO somewhat James, thanks for your input. I already had threads = 2 in my config, now I notice that this syntax is not valid. My cache setting was only 10M, and I did not know about cache-min. First, I thought these settings would help, the video I tested this with this night no longer had problems. I commented the settings one after another in order to find out which settings exactly helped most, and even without them, it played fine. Maybe the whole video was in the cache at that time already. Then I tried another video, again with the settings you suggested, and it stuttered. There were small pauses when the system did some stuff, and when I did my dd test, the pauses were as long as five seconds. FIVE SECONDS! Wonko