From: Alan J. Pippin Date: Fri, 22 May 2009 04:59:09 +0000 (-0600) Subject: Added instructions for making xvid encoding multi-core. X-Git-Tag: 1_0~13 X-Git-Url: http://git.pippins.net/embedvideo/.git/static/images/%27.%24link.%27?a=commitdiff_plain;h=754d450bb4caeb775d08a3424deb63e5d545afbd;p=rip_dvd%2F.git Added instructions for making xvid encoding multi-core. --- diff --git a/README b/README index 89e8224..4afadc7 100644 --- a/README +++ b/README @@ -25,6 +25,31 @@ To pull updates in the future of this project into your local directory: > cd rip_dvd > git pull origin +---------------------------------------------- +ENABLING XVID TO ENCODE USING MULTICORES +---------------------------------------------- +The libxvidcore4 package that you can get through ubuntu or debian +is version 1.1.0. They didn't enable multi-core encoding using this +library until version 1.2.0. Since you can't get that in a package, +you can build it from source easily. Since the xvid codec (this lib) +is used by mencoder by rip_dvd in all of its xvid profiles (the default), +you can speed up the encode process quite a bit if you enable multi-cores. +Follow these instructions to enable the xvid encoding to use multi-cores: + +> wget http://downloads.xvid.org/downloads/xvidcore-1.2.1.tar.gz +> gunzip xvidcore-1.2.1.tar.gz +> tar xvf xvidcore-1.2.1.tar.gz +> cd xvidcore/build/generic +> ./configure --prefix=/usr +> make +> sudo make instal +> cd /usr/lib +> rm libxvidcore.so.4 +> ln -s libxvidcore.so.4.2 libxvidcore.so.4 + +After you do these steps, when rip_dvd is running using any xvid profile, +you will note with 'top' that the mencoder process is using > 100% of your CPU. + ---------------------------------------------- CONFIGURATION ----------------------------------------------