Tuesday, September 16, 2008

Decrypting and Removing Commercials from TiVo recordings the easy way

I found this article on lifehacker and though that if you own a TiVo you might want to know this. I found it very helpful (although I don't use a TiVo myself, I know some of my friends who do and found this tool useful)

---Written as obtained from lifehacker. ---

While TiVo Desktop can transfer TiVo recordings to your computer or iPod, KMTTG downloads your TiVo's recordings, decrypts .TIVO files to a less proprietary file format like .AVI, and can detect and remove commercials to reduce the file size (and the time it takes to fast-forward through ads). Let's take a look at how to decrypt and scrub commercials from your TiVo recordings with KMTTG.



Note: KMTTG is a Perl program that works on either Windows or Linux and requires some light command line work. The instructions below are Windows-focused. KMTTG presumably stands for Kevin Moye TiVo To Go (Moye is KMTTG's developer). Moye explains what KMTTG is and why he built it:

KMTTG is a Perl/Tk program I wrote to facilitate TivoToGo (TTG) transfers that can download, create metadata, decrypt, run comskip & comcut (commercial detection and removal) and re-encode multiple shows you select from your Tivos all in one step. The program also has the capability to transfer and process shows automatically from your Tivos based on titles and keywords you set up.

You can select one or more shows at a time and then with one click of a button the program will download all the selected items, with the options of also automatically creating a metadata file for pyTivo, decrypting .TiVo files to .mpg, running comskip (commercial detection and removal program), and automatically re-encoding to a more portable format using mencoder, ffmpeg or any other command line encoder of your choosing. The program queues up multiple jobs and displays time, size and speed statistics for ongoing jobs.

Previously I was using different point tools to accomplish this, such as Tivo Desktop or TivoPlayList for downloads, pyTivoMetaGen for generating metadata files, Tivo Decoder UI for decrypting and various GUIs built around ffmpeg for re-encoding. I did not want to pay for or be limited by Tivo Desktop Plus. This is my attempt to simplify and automate these different tasks all into one simple GUI.

What You'll Need to Run KMTTG

Before you get started, gather up all the info and downloads you need to run KMTTG:

* A Windows or Linux PC on the same network as your TiVo.
* Your TiVo's IP address, which you can get by going to Messages & Settings > Settings > Phone & Network on your TiVo.
* Your TiVo's MAK (Media Access Key), which you can find by going to Messages & Settings > Account & System Information > Media Access Key on your TiVo.
* ActiveState Perl with the Tk module. Version 5.8 includes Tk, but the latest version 5.10 does not. I grabbed version 5.8 and had no problems.

Install and Run KMTTG

Got all that? Good. Let's set this sucker up.

1. Extract the KMTTG .ZIP file to a directory on your hard drive, like C:\kmttg\.
2. Extract the KMTTG third party tools (required for KMTTG to run) to your hard drive, and make sure all the subfolders go below your KMTTG source directory. In my example, I've got a curl, ffmpeg, and comskip subfolder in my c:\kmttg\ folder.

Once KMTTG and its dependencies are extracted and ready to use, if you have ActiveState Perl installed, you can just double-click on the kmttg.pl file to launch it.
First Things First: Configure KMTTG

Before you do anything with KMTTG, you have to tell it where your TiVo is, give it the Media Access Key, and also tell it where to save files. From the File menu choose Configure (or hit Ctrl+O). Enter your TiVo name and IP address and hit the Add button. Set your output directory to where you want KMTTG to save the resulting files, and enter your MAK, as shown. Then, select any other options you want. (I checked off "Remove .TiVo file after decrypt", for example, to save hard drive space.)


Click OK to save your options

If you've read this far, I assume you want to know how to do the whole setup. For complete details visit: lifehacker's complete article and instructions here

Source: Gina Trapani of lifehacker

No comments: