07/07/01 Building the Tools for ripping Tivo media files onto VCD/SVCDs Note: Though I've put a LOT of time into this, I have come to the conclusion that the current state of the Linux MPEG utilities just aren't up to the quality of the Windows tools. I currently ONLY use the Linux tools to create the .bin/.cue files (vcdimager) and then burn the CD (cdrdao) If you've found other ways to get better quality out of the mplex, mpeg2dec, and mpeg2enc tools.. please let me know. --David dranch@trinnet.net The following worked on Mandrake 7.0 and 7.2 -------------------------------------------- 1) Required the installation of SDL-1.2.1 ./configure make make install #I had to do a "make install" since older versions would #give errors with the other packages needed below 2) Required the installation of mpeg2dec-0.2.1-mjpegtools ftp://mjpeg.sourceforge.net/pub/mjpeg/ cd libvo patch < video_out_YUV-patch.c ./configure make #copy the binary back to the main tivo directory cp src/mpeg2dec .. 3) http://download.sourceforge.net/mjpeg/jpeg-mmx-1.1.2.tar.gz ./configure make 4) Making mjpegtools-1.4.1 ./configure --with-sdl-prefix=/usr/local/ NOTE: From the docs, it would seem that running configure would work but.. This didn't work: --with-jpeg-mmx=/mnt/hda2-80gig/tivo/jpeg-mmx/ and this didn't work either --include=../jpeg-mmx Had to edit the makefile in both the mpeg2enc and mjpeg dirs: DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. -I../../jpeg-mmx #copy the binary back to the main tivo directory cp mpeg2enc ../.. cd mplex make cp mplex ../../..w 5) create the toolame file http://members.dingoblue.net.au/~mikecheng/layer2/toolame-02h.tar.gz make #copy the binary back to the main tivo directory cp toolame .. Other Required programs (if they aren't already on your machine) - nasm - mpg123 6) Get the vcdimager v0.6.2 http://www.gnu.org/software/vcdimager/ ./configure make cp frontends/cli/vcdimager .. 7) Get the pccts133mr.zip files (required by cdrdao) unzip pccts133mr.zip make 8) get the cdrdao-1.1.5 ./configure --with-pcctsbin=/mnt/hda2-80gig/tivo/pccts/bin --with-pcctsinc=/mnt/hda2-80gig/tivo/pccts/h #You need to install this as cdrdao needs to access the driver file to #know what your CDR is capable of. make install 9) To use all these tools, please see the "convert-it" script at http://rocko.csuchico.edu/~dranch/tivo ------------ ExtractStream for a 30min Simpsons over NFS at medium quality took 22 minutes New ExtractStream http://pvrhack.sonnik.com/tivo/downloads/e-stream_6_13_2001.zip cat simpsons-whoshotburns2.m2v | ./mpeg2dec -o YUVh | ./mpeg2enc -s -r 24 -o simpsons-whoshotburns2.m1v On a P200MMX w/ 128M of ram, I averaged 41598 frames decoded in 9992.96 seconds (4.16 fps) it took 2hrs 46min. The MPEG2 file is about 2.2 times larger than the MPEG1 file