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 <gentoo-user+bounces-134783-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RwefU-00071g-Vw
	for garchives@archives.gentoo.org; Sun, 12 Feb 2012 19:01:01 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D74A2E07F1;
	Sun, 12 Feb 2012 19:00:46 +0000 (UTC)
Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 7D9B3E05DB
	for <gentoo-user@lists.gentoo.org>; Sun, 12 Feb 2012 18:59:23 +0000 (UTC)
Received: by iakl21 with SMTP id l21so4372914iak.40
        for <gentoo-user@lists.gentoo.org>; Sun, 12 Feb 2012 10:59:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type:content-transfer-encoding;
        bh=qzk7DgnFXPY4n8CAxk6k8/tOtAf0trQ37pnVRbEEU7Q=;
        b=i1bDqpT1brXBarzRE35GRb88k7jVZp+2nWDYx479sIRPKBCQ/TlyQjdjjzD/sEPUVU
         7uhQxn7VBYEb4UZOtUdanzYPdKaX5SfrMlI3J29wF/drBzvV12j8GwxJTFn9eaRAZoi3
         zTmYiWKbNQzKhk4VwIUzchZeS5yK92mJJRGfs=
Received: by 10.50.178.73 with SMTP id cw9mr23016955igc.23.1329073162991; Sun,
 12 Feb 2012 10:59:22 -0800 (PST)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.42.222.201 with HTTP; Sun, 12 Feb 2012 10:59:01 -0800 (PST)
In-Reply-To: <CAHNvW1JxyY1LtscDDhZG4DRRHZDV6nD4VaEaP=Y1Em29ur98dg@mail.gmail.com>
References: <CAHNvW1JxyY1LtscDDhZG4DRRHZDV6nD4VaEaP=Y1Em29ur98dg@mail.gmail.com>
From: James Broadhead <jamesbroadhead@gmail.com>
Date: Sun, 12 Feb 2012 18:59:01 +0000
Message-ID: <CA+hid6GnBw6ubXSdsH8+-Cmtw-JekkNZ=UbEFdVUo6G-FCyx5g@mail.gmail.com>
Subject: Re: [gentoo-user] Slow not in sync movie playing with mplayer2,
 ffmpeg, x264 with intel core i5
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: d4e7cdc6-fbf6-426d-819e-bc7daec05af4
X-Archives-Hash: e893face4fc2f636ffe859a623e7375f

On 12 February 2012 08:51, Kfir Lavi <lavi.kfir@gmail.com> wrote:
> Hi,
> I'm trying to play a mkv movie that is encoded with x264 720p.
> The movie get out of sync very quickly.
> I tried some suggestions in the gentoo forum, but they didn't help.
> It seems unreasonable to me that my cpu Intel(R) Core(TM) i5 CPU
> M 560=C2=A0 @ 2.67GHz
> can't play this files.
> When playing the movie, I can see clearly that both cores are in ~90% cpu=
.
>
> I tried to compile with -O2, -O3, with use flags 'mmx sse sse2 ssse3
> dri dri2 3dnow 3dnowext mmxext' and without.
> Playing stay the same.
> I'm using the command:
> mplayer2 -vfm ffmpeg -lavdopts lowres=3D1:fast:skiploopfilter=3Dall file.=
mkv
>

threads=3D2 is a nice option to try in most circumstances. :)

You should also make sure that XVideo is set up correctly (if that's
what you're using).
`xvinfo` will inform you of that.
Try some other -vo options.

You should also try media-video/mplayer (which is a separate project)

The console output from mplayer2 itself would also help.

Finally, your lspci output would be more useful if you ran
`update-pciids` beforehand.