Date: Fri, 10 Oct 2008 22:11:35 -0300 From: "Carlos A. M. dos Santos" <unixmania@gmail.com> To: "Michel Talon" <talon@lpthe.jussieu.fr> Cc: freebsd-ports@freebsd.org Subject: Re: multimedia/xvid Message-ID: <e71790db0810101811l6c77fc38ve0afecdb0c7cb92e@mail.gmail.com> In-Reply-To: <20081009122839.GA58927@lpthe.jussieu.fr> References: <20081009122839.GA58927@lpthe.jussieu.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 9, 2008 at 9:28 AM, Michel Talon <talon@lpthe.jussieu.fr> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e71790db0810101811l6c77fc38ve0afecdb0c7cb92e>