tollie.org/blog thoughts and reflections of Tollie Williams

15Mar/100

How to automate tivodecode on Mac OSX, so you can convert your TiVo files to save space, add them to iTunes, etc.

For the impatient, there's a summary at the bottom...

TiVo is great for being able to transfer the shows you record to your computer so you can save them. However, as always, the problem is with the restrictive wrappers put on by the TiVo, which prohibits you from doing things like transcoding the files to save space and watching them in the player of your choice.

Thankfully, there's a way to strip the shackles from the TiVo files and leave yourself with a standard MPEG2 file, that you can then convert to the encoding of your choice. It's a no-brainer: 4 GB/hour for an HD TiVo file that only plays in proprietary software, versus a H.264 file that looks great and plays in any player, at less than 500MB/hour.

If you don't have the TiVo Transfer software, you can use http://tdm.sourceforge.net/, which takes care of connecting to the TiVo, downloading the files, de-shackling the files, and transcoding - however, it feels buggy, and I prefer to use the standard TiVo Transfer program that's included with Roxio's Toast.

Once you have your TiVo shackled files on OSX, the next step is running them through a program called TiVoDecode. It's open source, and you can compile it yourself from http://sourceforge.net/projects/tivodecode/ or if you don't have the Developer tools installed, you can download the above mentioned TiVo Decode Manager, and pull the binary out of it. (Right Click TiVoDecode Manager › Show Package Contents › Contents › Resources › copy the 'tivodecode' file elsewhere, I recommend ~/Applications/.)

Once you have tivodecode as a binary file you can use terminal (just execute the command to get the syntax) or - what sparked this post - you can use my very simple Automator workflow to automate the process.

Just open the workflow in Automator, insert you MAK (Media Access Key) into the shell script (you can get this from your TiVoTransfer preferences), run the workflow, and select your TiVo files.

As you can tell from the shell script, the workflow assumes your tivodecode binary is in ~/Applications - that's not your standard Applications folder, it's inside your Home user folder. If you don't have one, just open your home folder and create it.

(If you're the type that prefers to mv tivodecode to /usr/bin/, then I'm sure you'll be able to modify the shell script accordingly.)

After running the workflow, your TiVo files will be run through the tivodecode binary and .mpg added. The original .tivo files will be moved to your trash, but not emptied. Then you can transcode into your preferred encoding. I recommend using Handbrake and the iPhone preset.

The more skilled among you may wish to transcode the files automatically in the workflow using ffmpeg or mencoder, however, that's a bit beyond me for the moment, and I like using Handbrake for its intelligent cropping on a file by file basis. Any suggestions on how I can accomplish this automatically are welcome in the comments.

Summary:

  • This only applies if you use TiVo Transfer or some other means to get the .tivo files onto your Mac, and you don't want to use TDM. (TDM is a little buggy, and I think the quality isn't as good as what I get from Handbrake.)
     
  • Get the tivodecode binary.
    • The easiest place to get the binary is to download TDM, right click the application file › Show Package Contents › Contents › Resources › 'tivodecode' binary is there.
  • Create an Applications folder inside your home folder, and copy the 'tivodecode' binary there.
  • Download the workflow.
  • Open the workflow in Automator and insert your MAK key in the shell script.
    • Find your MAK key in the preferences of the 'Tivo Transfer' application, or in your TiVo settings.
  • Run the workflow, or save it as an application and run the application.
  • Select the TiVo files you wish to destrangle.
  • The .tivo files will be moved to your trash, leaving MPEG2 files.
    • The MPEG2 files will be the same quality and same file size as the originals.
  • I prefer to queue up the MPEG2 files with Handbrake, converting them to the iPhone preset, allowing it to intelligently crop and resize the files.
    • The iPhone preset will use less than 500MB for an hour of HD video, 1/8th the filesize of the original TiVo files at a comparable quality. Also, you'll be able to play them on the device and/or player of your choice.

If you have any questions, comments, or suggestions, please post them in the comments.

15Jan/09Off

Quick review of Twitter apps for the iPhone

Here's a very short blog comparing Twitter apps for the iPhone:

Executive summary: Tweetie wins. Tweetsville in a very close second.

  • Hahlo - web app. Slightly slow, and slightly weak on the timeline view.
     
  • Twitterrific - basic and minimalist. I don't like the way they update your location to GPS coordinates. That was a gimmick in the early days to show off the 3G's GPS, IMHO. They may have changed this behavior in later versions. Still might be best choice for very very light (non-techy) Twitter users.
     
  • Twinkle - the best feature of this app was its nearby feature and the posting of photos, but the nearby is very, very spotty - missing hundreds of tweets - and the photos are only visible to Twinkle users.
     
  • TwitterFon - when I was trying Twinkle, I had to use TwitterFon as a backup for when Twinkle got moody. TwitterFon is as basic as they come. Update: TwitterFon has added what is essentially threading and context-specific views- like Tweetsville has. Useful, but not enough to beat out Tweetie.
     
  • Twittelator Pro - paid for this app because it was the first one that offered multiple Twitter account integration. Wasn't worth it. It feels like the UI was designed by an elementary student learning Visual Basic. Just an emphatic "no."
     
  • Tweetsville - has been my staple Twitter App for a while now, and will remain on my phone alongside Tweetie. Tweetsville has the best Timeline view of all the apps, IMHO. The timeline view is minimalist and concise making it easy to quickly read. Unfortunately, it's rather prone to sluggishness when dealing with massive amounts of tweets. And except for multiple accounts, it matches Tweetie feature for feature. It displays direct messages like iChat, grouping them by person rather than Inbox / Send. So if you're only responsible for one Twitter account and don't care about location based discovery, Tweetsville is probably the app for you.
     
  • Tweetie - If you have multiple Twitter accounts, Tweetie wins by a mile over Twittelator Pro. It also feels a bit snappier than Tweetsville. Everything else ties with Tweetsville, except for the Timeline view, where I prefer the simplicity of Tweetsville's view. I also prefer Tweetsville's Direct Message view. However, like Tweetsville Tweetie does have trends, search, and the whole feature set, but it does it for multiple accounts. So if you're responsible for more than one Twitter account, Tweetie for the win. Update:I almost forgot: Tweetie also includes "nearby" search that works (unlike Twinkle), which helps set it clearly ahead of Tweetsville.

Please add your thoughts or cover anything I missed in the comments. (You can now log in with your Facebook account.)

Update 2: Tweetie clearly pulls way ahead, now with a compacted Timeline view.

12Jul/08Off

Apple Talk – my iPhone Review

Sorry, no time to post a full blog yet, but here's my Apple Talk segment on WAPI 1070's Tech Talk with Chase and Sam, talking about the iPhone.

drop.io/moretechtalk/asset/myiphonereview

8Mar/08Off

More Tech Talk ShowNotes 3.08.08

Coming in June:

iPhone / iPod Touch Enterprise Features

iPhone / iPod Touch SDK - 3rd Party Apps

Java Apps on the iPhone / iPod Touch

Website:

Epocrates - one of the Apps to come to the iPhone already available on the web. Excellent Drug and Medicine reference.

Rumor:

iMac and MacMini updates coming soon

Personal Story:

Installing DVD playback "for research purposes" on Edubuntu. How to article here. Note: I had to modify the terminal command slightly, to sudo /usr/share/doc/libdvdread3/install-css.sh as the script was no longer in an examples folder, when I pulled it off the repositories. I also used VLC instead of Xine as my DVD player of choice.

16Feb/08Off

More Tech Talk ShowNotes 2.16.08

Links for Apple Talk Segment: Feb 16, 2008:

$100 Price Drop on iPod / iPhone?

Aperture 2 now available. Advanced photo editing and organizing for your Mac.

Will Adobe AIR be the SDK for the iPhone?

Don't know what Adobe AIR is? It's a platform for applications that allows application developers to write one version that works on any computer that runs AIR, ie. Mac and Windows. Check out the Pownce, Snitter, and Spaz.AIR apps.

And lastly, the program I mentioned: 1PassWord for $30 - all your passwords safely encrypted on your computer. Use them in your browser with one click.

And add me as a friend on Pownce and tell me you're a Tech Talk listener. Pownce lets you share links and files, as well as post short messages. I post each week's Apple Talk and other random good stuff through out the week. pownce.com/tollie

9Feb/08Off

MoreTechTalk ShowNotes February 9, 2008

Links for Apple Talk Segment: Feb 9, 2008:

Battery Life Tests for MacBook Air

New 32GB iPod Touch, 16GB iPhone