From owner-freebsd-multimedia@FreeBSD.ORG Mon Dec 7 20:46:31 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 08E811065762 for ; Mon, 7 Dec 2009 20:46:30 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id D22318FC13 for ; Mon, 7 Dec 2009 20:46:29 +0000 (UTC) Received: by ewy3 with SMTP id 3so7378ewy.33 for ; Mon, 07 Dec 2009 12:46:27 -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=hLVJX7tVQkSZvT7Z6gEITr+iR6gbPM9rzIKhDlI3CFI=; b=LIFwyfB4hSQ15ytO6XjSUDUtiztR83yax66J2j1WcKYFuGOG3GQemNiq7k1bVIvVui wPchDCVUBxWWCwkavW1pixKH5AEh0kHH7sv4kLY/S+ndX7y4cxzGvuvf2RvQBHzaUOY0 Q2YVK+tWrBTjxpsvrriNM7LX6b7AG/kgNeW8c= 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=h9EGJ8vK1n+fY7VmeF7j3PQYqShtlD6e2jctL+Kf7Vern+OgVKkuXYnIJn/18o6urk JuST9H9YjdCClTTVxY6ofidYWmA6Dtfi8kDIQqCdEIbKu5Sa6YOUQqT/dN1LD27/rANv L96YvTNa6JuD2Yv5H1mC0HiETFx/+qFV0jmA8= MIME-Version: 1.0 Received: by 10.213.0.139 with SMTP id 11mr57621ebb.86.1260218748382; Mon, 07 Dec 2009 12:45:48 -0800 (PST) In-Reply-To: References: <2e027be00912070613y5b3c4841tcd4d9ff58e1db330@mail.gmail.com> <2e027be00912071114t6a69b0a5vfdefea06e6ea9273@mail.gmail.com> Date: Mon, 7 Dec 2009 20:45:48 +0000 Message-ID: <2e027be00912071245r1df3c421w611133d06c4d3239@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 20:46:31 -0000 2009/12/7 Andrius Mork=C5=ABnas : > On Mon, 07 Dec 2009 21:14:14 +0200, Tom Evans > wrote: >> >> I sent this to the mplayer mailing list earlier today, without >> thinking that probably someone on multimedia@ has tried to compile >> mplayer from svn. Has anyone succesfully managed to do it? - and get a >> working player out of it! > > I've seen quite a lot of reports of working SVN mplayer on FreeBSD and I'= ve > yet to run into a version that doesn't build/work, but I don't update > mplayer > too often. > > My setup on amd64: > $ svn diff > Index: vidix/pci.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- vidix/pci.c (revision 29978) > +++ vidix/pci.c (working copy) > @@ -481,7 +481,7 @@ > =C2=A0#include "sysdep/pci_arm32.c" > =C2=A0#elif defined(__powerpc__) > =C2=A0#include "sysdep/pci_powerpc.c" > -#elif defined(__x86_64__) || defined(__sh__) > +#elif (defined(__x86_64__) || defined(__sh__)) && !defined(__FreeBSD__) > =C2=A0/* Nothing here right now */ > =C2=A0#else > =C2=A0#include "sysdep/pci_x86.c" > > $ cat build > #!/bin/sh > ./configure --extra-cflags=3D-DBROKEN_RELOCATIONS > gmake -j2 > > In case you just updated your drivers and compiled mplayer, you may want = to > restart FreeBSD, because I've had some issues (not similar to yours) unti= l I > restarted after installing xorg. > > Also, did you try building without infinity of configure args? > > -- > Andrius > 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