From owner-freebsd-ports@FreeBSD.ORG Sat Oct 11 01:11:37 2008 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 015C3106568A for ; Sat, 11 Oct 2008 01:11:37 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id 81D9C8FC0C for ; Sat, 11 Oct 2008 01:11:36 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so39877uge.39 for ; Fri, 10 Oct 2008 18:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0vLwcKzCFyN+lsQvfpsuSJ210tDxT0hY9H8SaQLUsp4=; b=IHdDJpD/29YwtHpQ27XxJ/OkerDWlNz8gPsw+Hz1PEHrT8zPSEOS6GwyqgoYIXfEaI manVmPrGxWyVsDjDJso6moFw7ZMwleti1epntWJRBJZV3VApfeoZirdBF+k+lMu1rmaU zewf+Lw9q8o+5Z5lD44MwEcM72fVRi+nYv63c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=XRpDRzSQ0Ih5ak+UoWUQgudKVSKuSkF/n3IvPuTehVPvvk+/3jPekUwdJkBHke4cTA S/rvy6u+CH/S59SyH3wyqrg9RGFqO0A0foJdivcpqCyVbrb9pmXYElpZE7BQYzNUgfiF 0fMnj6zmMOljAht8vTAyIBCfuCe4qitcbhqGA= Received: by 10.102.253.6 with SMTP id a6mr1547602mui.92.1223687495190; Fri, 10 Oct 2008 18:11:35 -0700 (PDT) Received: by 10.103.231.14 with HTTP; Fri, 10 Oct 2008 18:11:35 -0700 (PDT) Message-ID: Date: Fri, 10 Oct 2008 22:11:35 -0300 From: "Carlos A. M. dos Santos" To: "Michel Talon" In-Reply-To: <20081009122839.GA58927@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081009122839.GA58927@lpthe.jussieu.fr> Cc: freebsd-ports@freebsd.org Subject: Re: multimedia/xvid 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: Sat, 11 Oct 2008 01:11:37 -0000 On Thu, Oct 9, 2008 at 9:28 AM, Michel Talon wrote: > Trying to encode with mencoder and the xvid codec(*), i discovered that it > is awfully slow (around 3 frames/s on my P4 machine). So i played a > little bit with the options in the Makefile without any success. Finally > i understood that the cause was that the build system requires nasm, but > doesn't use it! There are several assembly files in the xvid codec which > are not used due to that. The solution i have found by looking at the > configure script is to install the yasm port. Then the build system > picks the yasm dependency and compiles the assembly files, which enables > SSE instructions. The net result is that, without any other tweak, i now > encode the same stuff at 11 frames/s. > > So to be short, multimedia/xvid should require a dependency on yasm. > > (*) in find that the end result is better (less artifacts at the same > bitrate) with xvid than with lavc. Standard questions: 1. O which architectures did you test this? 2. Did you send a PR? 3. The port currently has no maintainer. Would you like to take it? :-) -- cd /usr/ports/sysutils/life make clean