X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=README;h=dd7efa30e5f71cbd1d696a033c0509b059e2231f;hb=0dd2093c203da3a877be5ef0238062a7869dd47a;hp=8fb2589e2a629e0319f8814871d7145416f51cb8;hpb=d8e47179263f32bd14841c09e2bcf8c70e416075;p=rip_dvd%2F.git diff --git a/README b/README index 8fb2589..dd7efa3 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 +> cd xvidcore/build/generic +> ./configure --prefix=/usr +> make +> sudo make install +> cd /usr/lib +> sudo rm libxvidcore.so.4 +> sudo 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 ---------------------------------------------- @@ -59,13 +84,13 @@ I choose to place it on the optical menu. COMMAND LINE EXAMPLES ---------------------------------------------- -Rip a DVD into a compressed AVI file with default xvid profile: +Rip a DVD into a compressed AVI file with default xvidvhq profile: > rip_dvd -d /path/to/dest/dir -b 2000 -x -Rip a DVD into a compressed AVI file with default xvid profile scaling to 320x240 compressed video size: +Rip a DVD into a compressed AVI file with default xvidvhq profile scaling to 320x240 compressed video size: > rip_dvd -d /path/to/dest/dir -b 2000 -x -a 320:240 -Rip a DVD into a compressed AVI file with default xvid profile targetting a certain compressed video filesize (in MB): +Rip a DVD into a compressed AVI file with default xvidvhq profile targetting a certain compressed video filesize (in MB): > rip_dvd -d /path/to/dest/dir -b 2000 -x -s 650 Rip a DVD into a VOB file: @@ -90,6 +115,6 @@ Rip a DVD into a compressed MP4 file for an ipod AND again for a compressed AVI > dvdname=`volname /dev/dvd | awk '{ print $1 }'` > rip_dvd -d /path/to/dest/dir -v > rip_dvd -d /path/to/dest/dir/ipod -b 2000 -x -p ipod -n /path/to/dest/dir/$dvdname.VOB -> rip_dvd -d /path/to/dest/dir/xvid -b 2000 -x -p xvid -n /path/to/dest/dir/$dvdname.VOB +> rip_dvd -d /path/to/dest/dir/xvid -b 2000 -x -p xvidvhq -n /path/to/dest/dir/$dvdname.VOB > rm /path/to/dest/dir/$dvdname.VOB