Hacking Windows 7 Media Center

Using WTVWatcher and Lifextender to Cut Commercials from Recorded Shows

by Michael Healy @ 10:15 am on November 20th, 2009 in commercial skip, converting files with 23 Comments and Permalink

Commercial Cut One major advantage to be had when using a Windows 7 Media Center over your standard cable DVR is the ability to scan and remove commercials from Recorded TV shows. Programs such as Lifextender, which can be setup to use either comskip or Showanalyzer, can arrange for new shows to be scanned and the commercials removed without having to process each file by hand. Unfortunately, Lifextender doesn’t work with the new WTV format so first we’ll need to convert the files using a program such as WTVWatcher.

To get started you’ll need to download and install both WTVWatcher and Lifextender or, if you prefer, we’ve also got a guide on using DVRMSToolbox with Lifextender. Once you’ve got both programs installed you’ll need to setup WTVWatcher to monitor the Recorded TV location. Use the preferences to set the location of your Recorded TV folder, typically C:\Users\Public\Recorded TV. WTVWatcher will begin to go to work converting the WTV recordings into DVR-MS files that are readable by Lifextender.

preferences

WTVWatcher uses the built-in conversion program provided by Microsoft to convert each WTV file into a DVR-MS file. For even more information on WTVWatcher check out our previous review of this handy little tool right here. Once the files have been converted we can setup Lifextender to automatically scan for and cut commercials from these files. Next, open Lifextender and choose Options by right-clicking the icon in the system tray.

lifextender settings

Under the general settings be sure to set the TV Recording path to the same directory as the one you set previously inside WTVWatcher. Also, unless you plan to run the process by hand enable the Automated Library Scanning so that Lifextender will automatically find your new shows for processing. To test your settings you can start a manual processing of the files by right-clicking the Lifextender system tray icon and selecting Scan Media Center Library.

Lifextender’s processing dialog will appear as the program scans each recorded show for commercials. This can take quite a bit of time depending on the length of the show and the complexity of commercial scanning process.

processing from wtvwatcher

After processing each file will be added to the “blacklist” inside Lifextender’s options. This allows you to check the progress of Lifextender’s processing of files as well as preventing the program from scanning the same program each time the library is scanned for new content. You can find the blacklist under the Options –> Advanced tab. Here you can also add individual files to be excluded from processing, though if you have a certain show or channel you’d like to permanently exclude from processing there is an included Rules feature to allow for easier management.

processed files

Unfortunately, there has been some issues reported with Lifextender not accepting the converted files from WTVWatcher and the Lifextender program is no longer in active development. If you experience the same issue your only option may be to use the DVRMSToolbox method in this guide using an alternative program for converting the WTV files to DVR-MS. Also, be sure to drop a line in the comments below with as much detail as you can provide including which version of Windows 7 you’re using, Lifextender log info and anything else noteworthy. Perhaps we can sort out the issue with more information.

For most people, however, this method should provide a simple solution to easy commercial removal from Windows 7 Media Center recordings. Hopefully the future will bring us an alternative to Lifextender and more active development (and hopefully more open source projects as well!).

23 Comments


Pete1122
Comment #4966 from Pete1122 [Reply]

Correct me if I am wrong but Lifextender cuts the commercials while DVRMS skips the commercials. The advantage to DVRMS is when showanalyzer accidently skips part of the show (which it will at some point) you can manually rewind however with lifexteder that part of the show is gone forever unless you want to go digging in your recycle bin for the old file.

Comment left November 20, 2009 at 10:58 am with Permalink
@Reply #4972 from Michael Healy [Reply]

DVRMSTb can be used in combination with Lifextender to cut the commercials. There’s no need to use DVRMSTb’s commercial processing feature if you go this route. Of course, DVRMSTb can also be setup to cut the commercials from the show as well.

Comment left November 20, 2009 at 12:35 pm with Permalink
@Reply #4982 from chadd [Reply]

actually, lifextender has an option to move the file to a specified dir instead of deleting it.

then you could probably write a batch file of some sort to periodically empty that dir.

Comment left November 20, 2009 at 5:52 pm with Permalink
Comment #4969 from Jemel [Reply]

Does anyboy no if this works with x264 HD recordings?

Comment left November 20, 2009 at 11:18 am with Permalink
Comment #4970 from JeffClyne [Reply]

Never had any luck with this. Neither option works very well at this point.

Comment left November 20, 2009 at 12:07 pm with Permalink

mikeS
Comment #4978 from mikeS [Reply]

What kind of power does the HTPC need to convert and cut commercials? My HTPC is hobbling along as it is, with typical CPU use 70-100% on my 2.4ghz dual core pentium4.

Also, I am using an external 1TB usb drive for recorded shows so it maxes at 35 MB/s transfers.

I think what I will do is record the shows onto the internal IDE drive (scratch drive) then move and convert the shows then cut commercials as they are copied to the external drive.

Do you guys have any advice on how I should do all this? My plan so far is to use DVRMS toolbox to convert the shows to the external drive and then lifextender to cut the commercials on the external drive (hopefully it will not cut out pieces of shows). All advice appreciated!

Comment left November 20, 2009 at 4:49 pm with Permalink
@Reply #4989 from Michael Healy [Reply]

I would say a dual-core, possibly even a Core2 or better would be required for smoothly processing files while watching TV. Comskip will likely use 100% of a single core of a multicore CPU as it’s not a multi-threaded program.

Comment left November 20, 2009 at 11:00 pm with Permalink
Comment #4980 from chadd [Reply]

how long should a typical hour long HD OTA broadcast program take to run through lifextender?

Comment left November 20, 2009 at 5:41 pm with Permalink

Jorge
Comment #4985 from Jorge [Reply]

I’m tired of hearing about all this software that only works on DVRMS! DVRMS has been dead since TV Pack came out over 1 year ago. The format is OBSOLETE! Conversion to DVRMS is lame. Come on LifeExtender and ShowAnalyzer, you can do better!

Comment left November 20, 2009 at 9:09 pm with Permalink
@Reply #4988 from Michael Healy [Reply]

The latest ShowAnalyzer betas support WTV but requires you to sign up for the forums to download it. A lot of the problem is actually attributed to the extremely poor documentation of the format on Microsoft’s part.

Comment left November 20, 2009 at 10:58 pm with Permalink

mikeS
Comment #5008 from mikeS [Reply]

The problem with showanalyzer is more about pricing than the signup. They want $30USD per year, lol.

Comment left November 21, 2009 at 4:00 pm with Permalink
Comment #5010 from BillMadsen [Reply]

Cannot get Lifeextender to work just hangs on the first dvr-ms file. oh well back to dvrmstb.

Comment left November 21, 2009 at 8:51 pm with Permalink

Rick
Comment #5031 from Rick [Reply]

I have found two issues that can cause corrupted files. First make certain you have WTVwatcher set to wait at least 10 mins before trying to convert a file. I had it try to convert afew files that were had not completely recorded yet if I set the timer less then 10 mins.

Second make certain that Lifextender does not try to decommercialize a file before wtvwatcher has completed finished converting it. I had to change my lifextender settings to not automatically convert files as twice it tried to decommercialize a file that had not yet finished coverting…

Comment left November 22, 2009 at 8:53 pm with Permalink
Comment #5060 from DamianP [Reply]

So right now what is the best solution to take a wtv, strip out the commercials, and convert to an mkv? Right now I use a somewhat crappy process of using WTVWatcher to convert the wtv to dvrms, then use DVRMSToolbox to cut out the commercial and convert to mpeg, and finally handbrake to convert to mkv. I feel like DVRMSToolbox should be able to do it all but I can’t get it to recognize my wtv files

Comment left November 23, 2009 at 5:13 pm with Permalink
Comment #5073 from Stephen Barash [Reply]

Un, no. LifeExtender is only supposed to add program to its blacklist when it has problems with the conversion – or a program has been added manually. I used LifeExtender for years with Vista – it does not automatically add programs that were successfully processed to the blacklist.

However, it certainly seems to do this after WTVWatcher has converted the file. And yes, the commercials are removed, but if you look in the event logs, you’ll see that LifeExtender is erroring badly with these converted files.

In all, it looks like the WTV format is so secret, that even Microsoft’s own utility (used by wtvwatcher) can’t even get it right.

The very latest version of showanalyzer still blows chunks on wtv files, look at all the happy posts in Dragonglobal’s forums. Beginning to wonder if there’s some sort of conspiracy going on here….

Comment left November 24, 2009 at 12:19 am with Permalink
Comment #5099 from chadd [Reply]

after setting this all up and letting run for a while and converting about a dozen or so files, i have:

1) an events log full of errors
2) a lifextender blacklist that seems to grow with each file de-commercialized
3) shows displaying with a length of 1 minute in 7mc, along with other metadata missing
4) no commercials in my recorded shows

does #4 make up for the rest? i guess so, at least for now until a bug free solution is available.

Comment left November 24, 2009 at 7:45 pm with Permalink

Anonymous
Comment #5168 from Anonymous [Reply]

When I was using my All in wonder, it would automatically remove commerciails for me. I hate that Windows Media Center does not have a built in option to remove them. And using a third party software to go through to do it is lame.

Some one should work it into Media Center so it is part of it.

Comment left November 28, 2009 at 6:49 pm with Permalink

Ben
Comment #5276 from Ben [Reply]

I’m having an odd problem with the WTVWatcher and Lifextender combo. WTVWatcher works fine and Lifextender picks up the files without any trouble and always runs Comskip just fine. But sometimes Dvrcut hangs up and gums up the whole works. It’ll sit there with the Dvrcut process taking zero cpu until I hit skip, then merrily continue on its way. Then the next file may go through just fine, and not have any trouble with Dvrcut at all. Do I need to try a compatibility option with Dvrcut maybe? I am running Windows 7 but I confess I don’t know a ton about the options in there.

Comment left December 3, 2009 at 12:07 am with Permalink

Busker
Comment #5761 from Busker [Reply]

doesnt work in windows 7. Just scans and says its removed the commercials, when infact it hasnt

Comment left December 17, 2009 at 2:36 am with Permalink
@Reply #5768 from chadd [Reply]

did you set up wtvwatcher to convert to dvr-ms first?
lifextender doesn’t work on wtv files…

Comment left December 17, 2009 at 10:17 am with Permalink

tonsan8
Comment #6181 from tonsan8 [Reply]

If the .wtv file is DRM copy-protected, you cannot perform .wtv to DVR-MS conversion. Windows 7 MC.

In addition, right-clicking on the .wtv file to convert to DVR-MS will not work if the .wtv file is DRM protected.

I have not come across a way round the DRM copy-protection to enable .wtv to DVR-MS conversion.

Comment left December 31, 2009 at 11:16 am with Permalink
@Reply #7181 from chadd [Reply]

i’ve not come across any ota broadcasts that were drm protected…

Comment left January 28, 2010 at 6:01 pm with Permalink

Leave A Comment

Post Anonymously, Fill in your details or Use one of the Social Networks below to login and post a comment!