From owner-freebsd-multimedia@FreeBSD.ORG Mon Dec 7 21:34:14 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B496A106566B for ; Mon, 7 Dec 2009 21:34:14 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 463948FC13 for ; Mon, 7 Dec 2009 21:34:13 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so1242823eye.9 for ; Mon, 07 Dec 2009 13:34:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=mV7RAjry+Uhe5nvGKeGUx1iNC9mQvlOGhObRBsoTlqI=; b=c30lp5Zgp7kbpRQP1nyoX22qSLZia2zQfFU4anicm2Hbc17ixDFg0UuxRYrVZlO5z7 C6ldfqKQ4mYKKMK4zI/tDnx/ZOVlwu35dp1PpMyra93cT3lNfYgyBxOLSFlX/0n2A/O3 D8JqFla5BgGmGV0vIU7BlRsrD3kOK4ApXEgIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=nK3ns+IM8qzZQgqdgm+9+XbrQJzqCrmqX3oG8Bx9ckPhlbeA7T8LhP3BBeC6DV28+A KolHsLZIXQvgjIDb+vSqS8JYU6CafW/4fegOBv1NFDYe+MpPsqZ3jRBsQB6f/zkoI6X3 HvVdDgmWVfqLFdbDhfcBLdDkZVzCuIHeBgFlQ= MIME-Version: 1.0 Received: by 10.213.0.139 with SMTP id 11mr109487ebb.86.1260221653072; Mon, 07 Dec 2009 13:34:13 -0800 (PST) In-Reply-To: References: <2e027be00912070613y5b3c4841tcd4d9ff58e1db330@mail.gmail.com> <2e027be00912071114t6a69b0a5vfdefea06e6ea9273@mail.gmail.com> <2e027be00912071245r1df3c421w611133d06c4d3239@mail.gmail.com> Date: Mon, 7 Dec 2009 21:34:13 +0000 Message-ID: <2e027be00912071334j3941bf49m52a8b4548fe121da@mail.gmail.com> From: Tom Evans To: =?UTF-8?Q?Andrius_Mork=C5=ABnas?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org Subject: Re: mplayer SVN plays video too fast on FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 21:34:14 -0000 2009/12/7 Andrius Mork=C5=ABnas : > On Mon, 07 Dec 2009 22:45:48 +0200, Tom Evans > wrote: >> >> Most of the changes in that diff are fbsd fixes - I'm a bit surprised >> your mplayer works properly/efficiently without the bswap fix (it will >> be using the naive C version). I'll try recompiling the whole package >> with -DBROKEN_RELOCATIONS. I don't think the number of configure >> options are affecting it, but I'll try a minimal version as well, just >> to see. >> >> Thanks >> >> Tom >> > > Not the number of configure options, but maybe there is a particular opti= on > that causes problems, and with so many of them, it's hard to tell. > Afaik -DBROKEN_RELOCATIONS is amd64-only thing, I didn't see what arch yo= u > are running on (maybe I just fail at reading). Considering the number of > patches it looks like i386, since last time I checked it required more wo= rk > (local patches) than amd64 version. > I'm not an expert and I didn't look at local patches for mplayer too much= , > just making it compile was the goal, and it works now. Performance is goo= d. > It's not significantly faster/slower than whatever I've tried on Windows. > > -- > Andrius > It's amd64 - I actually already had -DBROKEN_LOCATIONS as one of the diffs, in the libavcodec Makefile. This was to apply it to the whole build and see if it helped - it didn't :/ I applied all the patches that were in the ports directory that were sane and still valid as far as I could tell from the new code and the cvs log of the patch - most weren't necessary any more, but I guess the FreeBSD specific bug fix ones hadn't been merged upstream. Can you tell me what revision you are currently running? I'll try that revision, see if it works and bisect the breaking change. svnversion in the checkout, or I think it is printed each time you run mplayer. Cheers Tom