Carlos A. M. dos Santos unixmania at
Sat Oct 11 01:11:37 UTC 2008

On Thu, Oct 9, 2008 at 9:28 AM, Michel Talon <talon at> 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

More information about the freebsd-ports mailing list