View Full Version : tivo2divx for linux

05-28-2004, 11:53 AM
Hi all,

I wrote a very simple Linux command line utility to convert MPEG2 files from a TiVo into DivX. It's mostly a very tight Bash shell script with a little bit of C thrown in. Give it a try if you have need of such a thing!


:) TiVo2DivX (http://www.justinweaver.com/tivo2divx.html) :)


very high quality 2-pass Variable Bitrate Encoding (VBR)
ability to specify output filesize _or_ bitrate
audio is directly copied without re-encoding, for optimal quality and to maintain perfect sychronization between the audio and video streams
output scaled to the correct 4:3 aspect ratio, with several options for output size
very good de-interlacing filter


Mencoder (http://www.mplayerhq.hu/) (usally comes with MPlayer)
Bash (http://www.gnu.org/software/bash/bash.html)

PS: Check out Philips DVP642 player. Ultra-cheap, progressive, plays DivX and everything else I have thrown at it. $70 at compusa.

06-01-2004, 05:08 PM
this looks very cool. any chance on it being able to run on OS X? It would be much appreciated.


06-01-2004, 05:15 PM
In theory, it should run fine on any platform that has bash (Bourne Again Shell) and MPlayer & Mencoder.

06-01-2004, 09:02 PM
I do have mencoder and mplayer binaries for OS X and I am running bash. I however do not have your tivo2divx_mencoder_filter which is a binary file. I think this is gonna cause a problem, right? Don't I need to have a version compiled under OS X for this to work?


06-01-2004, 11:03 PM
i'm gessing here but try
gcc tivo2divx_mencoder_filter.c -o tivo2divx_mencoder_filter

06-02-2004, 04:06 PM
lart2150's suggestion should work fine.

I included a makefile in the source. Change to the tivo2divx-xxx/ directory and type:
make all

It should compile assuming you have gcc, then:
make install

there is also the ever-handy:
make uninstall

06-10-2004, 03:54 PM

I've released a new version that _should_ work well on OSx as well as other platforms. See the link at the top of this post. Let me know how it goes! :D

06-12-2004, 01:19 AM
Does this thing cope with the frame order flipping problems in DirecTV streams? I'm once again looking for a solution to encode to DivX or XviD without having half of the show be all jittery because DirecTV flipped the field order around...


06-12-2004, 02:12 PM
I wasn't aware of that problem.

I have viewed tivo2divx output that came from Dish Network and I haven't noticed any jitter or studdering when the camera pans.

If you can describe the problem more, or link to somewhere that does, I'll look into it.

06-12-2004, 02:38 PM
If you can describe the problem more, or link to somewhere that does, I'll look into it.

Here's a thread discussing the problem: