The Mac mini as a DVR

In April of last year, the FCC mandated that all cable boxes must come with a FireWire port if requested by the consumer. The ruling came based on an interpretation of Section 304 of the Telecommunications Act of 1996. The ruling is also affected by another FCC mandate, in which all electronic devices capable of recording content must recognize and respect a broadcast bit that determines how the content can be shared across multiple devices.


FireWire ports are now on most cable boxes.

With this capability on modern day cable boxes, you would think that it would be fairly easy to record content, including HD content, on your computer using a simple FireWire cable. Unfortunately, it's not that easy. Despite the fact that support has been around for almost a year now, software to take advantage of the FCC mandated FireWire ports on cable boxes is still in a very infant stage. What is even more interesting is that an interface to FireWire enabled cable boxes is actually provided by Apple through their FireWire SDK. And although PCs have more recently been given a similar type of application, the support was first given to Macs.

The application included in Apple's FireWire SDK is called Virtual D-VHS, which as the name implies, allows your Mac to act as a Virtual D-VHS recorder fully capable of recording both standard and High Definition content over your cable box's FireWire port.

Before we get to the details of implementation, the first thing that must be noted and understood is that the Virtual D-VHS application is not a full-blown DVR nor was it designed to be. As a part of the FireWire SDK, the Virtual D-VHS application is more of a proof of concept or an enabling tool for developers to go out and make something interesting out of it - not to use as a turnkey DVR solution.

In many ways, this article isn't about using the Mac mini as a HTPC, but rather, its viability of being used as one if certain elements fall into place. At this point, your best bet for a polished HTPC with DVR functionality is something running Windows XP Media Center Edition. But for those who are interested in using the Mac mini as a HTPC, here's what can be done today.

The installation and setup of your cable box is extremely simple. We had a Motorola 6200 unit at our disposal, which made things even easier as you'll soon see. All you need is a 6-pin to 6-pin FireWire cable, plug one end into the cable box and the other end into your Mac mini and you're done.

The Motorola 6200 cable box is recognized automatically. The same applies to most cable boxes with FireWire ports.

The next step is to fire up the Virtual D-VHS application and here you have a couple of options. You can use the Virtual D-VHS application provided in Apple's FireWire SDK, but there are some alternatives. The first alternative is Patrick Edson's AV/C Browser Enhanced, a modified version of the AV/C browser that also comes with Apple's FireWire SDK. The AV/C browser is necessary to connect to some cable boxes, but Patrick's modified version eliminates the need to have two applications - it integrates the functionality of Virtual D-VHS (recording and channel tuning) into the AV/C application.

Patrick's AV/C Browser Enhanced will let you change the channels on your cable box over FireWire, so you can do away with your remote. The only requirement is that you have to connect to your cable box first, which involves nothing more than setting your cable box (using your remote) to a channel below 63 (0 or 1 are the easiest) and doing the same in the AV/C application, then telling it to connect.

Then you can use the AV/C Browser to tune to whatever channel you want, hit record and it will start recording. Now, what you're recording is effectively a MPEG-2 transport stream. As such, the file size is quite large - most HD content recorded off of cable is between 15 and 19Mbps, translating into 6-9GB of storage required for each hour of recorded content. Standard definition content is a little more manageable, at 3 - 13Mbps (1 - 6GB/hr).

While there are many limitations of the AV/C Browser, some of them are solved through another program by Patrick Edson called iRecord.

The iRecord program is interesting as it takes the functionality of the AV/C Browser, but puts it in a much simpler interface with one clear purpose - scheduled recording of shows.

To add a show, simply click the + button and fill out the necessary information, including the channel from which you want to record. An unfortunate limitation here is that you can't set the name of the file to which it records, regardless of what you input as the title of the recording in iRecord.

At the time of publication, the latest version of iRecord was 0.2.6 and the program still has a long way to go before it is anything that can be used without frustrating crashes or missing shows. Currently, iRecord only supports changing channels on the Motorola 6200, which works well for us, since that was our test platform, but not so well for others who will then be left with either changing the channel manually on their cable box or with AV/C Browser.


Recording the State of the Union address in 720p proved to be a success using iRecord.

When it does work, however, it works quite well. We had no problems using it (or the AV/C Browser Enhanced) to record both SD and HD channels. To playback the MPEG-2 transport streams, you'll need a program that can obviously read the streams. For that, we used the OS X port of VLC.

The Mac mini as a Video Editor Limitations of iRecord & AV/C Browser
POST A COMMENT

38 Comments

View All Comments

  • Saist - Wednesday, February 16, 2005 - link

    I made the suggestion to ATi that they look at conspiring with Apple to add the Digital TV tuner used in the X800 and X600 AIW cards to a "new" mac mini, and port the multimedia center over. Figured that the Mac Mini would rock as a HTPC.

    Also, bubbled to the surface later, about just porting the multi-media center, and adding a USB driver for the USB TV-wonders...
    Reply
  • gekko513 - Wednesday, February 16, 2005 - link

    You can buy mpeg-2 playback capabilities for Quicktime 6 for $19.99. Maybe that takes advantage of hardware accelerated mpeg-2 decoding? Reply
  • msva124 - Wednesday, February 16, 2005 - link

    Are the first four paragraphs of the article in any way related to the use of the Mac Mini as an HTPC? Reply
  • OCedHrt - Wednesday, February 16, 2005 - link

    I want firewire on my cable box, I don't remember it having one! Reply
  • Jynx980 - Wednesday, February 16, 2005 - link

    The first screen on page 6 looks like hes dodging bullets from The Matrix Reply
  • Jigga - Wednesday, February 16, 2005 - link

    LOL, "HTMac" sounds like a character on some 80's TV cop show. Reply
  • Lifted - Wednesday, February 16, 2005 - link

    I want a Big Mac. Reply
  • yvesmailhot - Saturday, September 11, 2010 - link

    Used with eCrisper software makes a great kiosk with a large HDTV

    Yves
    http://ecrisper.com
    Reply

Log in

Don't have an account? Sign up now