From owner-freebsd-ports@FreeBSD.ORG Wed Dec 21 12:58:09 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36FB5106564A; Wed, 21 Dec 2011 12:58:09 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id D56F98FC08; Wed, 21 Dec 2011 12:58:08 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so9944933vcb.13 for ; Wed, 21 Dec 2011 04:58:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/hv/6qOKy5a14JeC733y35y2oyg26yxOxUwWuo2Axk4=; b=XabgvZEaDOQ9ZHreVvZ7VZ06TQ+p8Xbh7oW26cd5NlznEThU1VOT1M58aEJDMxEHoZ 2BfAtYGc4L7Ip1MgM0t7efqUD6VJ9ULqcdpabVYhHtdoSVndoJAYPNA4c1Z+RhGbLu+N 5ZdQ5KHRYzVT247aqFmeubs2zy84cQtfdPNw4= MIME-Version: 1.0 Received: by 10.52.89.71 with SMTP id bm7mr3552004vdb.41.1324470550113; Wed, 21 Dec 2011 04:29:10 -0800 (PST) Received: by 10.52.162.202 with HTTP; Wed, 21 Dec 2011 04:29:05 -0800 (PST) In-Reply-To: References: Date: Wed, 21 Dec 2011 12:29:05 +0000 Message-ID: From: Tom Evans To: Thomas Zander Content-Type: text/plain; charset=UTF-8 Cc: multimedia@freebsd.org, FreeBSD - Ports Subject: Re: CFT: mplayer and mencoder updates X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 12:58:09 -0000 On Mon, Dec 19, 2011 at 10:35 PM, Thomas Zander wrote: > Hi list, > > on http://www.rrr.de/~riggs/mplayer/m20111219.tar.bz2 you can find the > draft of updates to the mplayer and mencoder ports. > > Please have a look, play with it and let me know what you think. > I tested it on 8.2 STABLE i386 and amd64 only so far, so I hope it > works for 9 and 10 as well. > > As always, comments, suggestions and especially patches are more than welcome. > > Best regards > Riggs Hi Riggs I notice in Makefile.shared there is no longer a dependency on binutils, and there is a patch to define BROKEN_RELOCATIONS. If you do this, CABAC H264 decoding is ~40% slower on amd64 boxes, and you lose other speed benefits (SSE2+). In order to build the best performing, bug free, tested version of mplayer, you should build with lang/gcc46 and devel/binutils. Both my ffmpeg and mplayer builds come straight from git master, and work without patches - in fact, the only thing I must do to build them is pass configure: --with-cc=/usr/local/bin/gcc46 \ --with-as=/usr/local/bin/as \ --extra-libs=-L/usr/local/lib \ --extra-cflags=-I/usr/local/include \ --prefix=/usr/local --mandir=/usr/local/man In a similar vein, mplayer's configure does not check for existence of a feature if you explicitly bake it in. For instance, the libbluray in freebsd ports is not up to date with the version required for mplayer, but selecting "bluray" from OPTIONS forces mplayer to build it in. If it was not forced, mplayer's configure would detect the library is there, but of an older version, and it would not attempt to compile in bluray support, and you would not get build errors. I'm going to go through the patches in files directory and see what can be pushed back. I think most of them fix issues with libraries I don't use (gsm, udp, arts) or with features that I don't use (libao-oss - well, I use SPDIF). Cheers Tom