Commercial Remover app for Vista Media Center
posted on Tuesday, September 04, 2007 by bobby @ 3:59 pm

10.18.07 9:46am - Application Released

Can be downloaded at http://www.lifextender.com


10.10.07 9:24am - Application Release Coming

I've been hard at work on this commercial-removing app. I'm currently testing it and throwing a website together to support it. Since I plan to have this up within a week or so, I won't be distributing the URL of the old app. Check back in a few days for a new post regarding this topic.


I'm not a fan of commercials. They make me set down my beer to pick up the remote and skip past them. So awhile ago I checked out a project called DVRMSToolbox and blogged about it here

DVRMSToolbox comes with a lot of small applications that allow you to sorta create your own flow. I'm a developer and I found this approach to be a tad bit overwhelming. While it gives you a great deal of flexibility, it also is a bit more complicated if you simply want to cut commercials out of the video file. I also had issues w/ the FileSystemWatcher and the MC add-in acting up. I just want something more straightforward and stable.

Over the holiday break, I decided to start up a new project to deal w/ commercials as well as a few other annoying issues that plague my Media Center library.

This app (which doesn't have a definite name yet) does 3 things:

1) Removes duplicate shows
2) Removes partial shows
3) Removes commercials from .dvr-ms files permanently

It's a windows forms app that runs in the background. It has a tray icon to let you know it's running and to let you 1) start/stop it's heartbeat and 2) manually perform scans.


Every X minutes, it scans your Media Center library for dupes, partials, and shows w/ commercials. If duplicate or partial shows are found, they are moved to the recycle bin. If shows with commercials are found, they are processed.



Why the need to remove dupes?

Media Center does a pretty good job about not recording the same show twice in a given time period. It knows what shows it's recorded because it stores this info in a recordings.xml file on the main OS partition. Unfortunately, I use True Image to backup/restore my C: drive and the recordings.xml file gets wiped out. Thus, Media Center will record shows that already exist in my library.

Why the need to remove partials?

Because every now and again, I have to shut my computer down while a show is 5 minutes into recording - and I'm left w/ a 5 minute show which is useless. Or I boot my machine back up just in time for Media Center to record the last 10 minutes. Whatever the reason, it's not hard to get partial shows in your library. The minimum minute threshold is configurable.

So what about that commercial removal?

Commercials are removed completely from the video. This means your video files will be smaller and shorter in duration. It also means you don't need any Media Center add-in to play these files. The only downside is that if the analyzer is wrong and removes non-commercial video, you don't have a backup outside your recycle bin.

On my AMD dual-core 3.0ghz machine, a half-hour show (best-quality) typically took less than 5 minutes to remove commercials. That includes analyzing the show, cutting out the commercial video, merging the metadata from the original file, and updating the Media Center library.

The current analyzer that I'm using is ComSkip (site). So far, it's performed exceptionally well. I've not yet run into a case where ComSkip mistakenly marked actual content as a commercial. It's also free and fast. Once a video file has had it's commercials removed, the original file is moved to the recycle bin.

I'm still chuggin' away on this project, but it's working pretty nicely. Need to add some UI for the options/features as they are currently only changeable via app.config. If anyone is interested in trying out this commercial-removal-sweetness on their machine, use the contact form above or leave a comment below.

Just want to say how frickin' awesome it is to watch 3 shows in an 60 minutes.

CommentsComments
posted on Sunday, September 09, 2007  by Anonymous @ 3:01 PM

Any plans on giving out your current app in beta for others to test/use/enjoy? I used DVR MS Toolbox a few months ago, and I abandoned it for a number of reasons. I've been looking for another tool for some time.
posted on Monday, September 10, 2007  by bobby @ 10:27 AM

Absolutely. Use the contact form to let me know you're interested and I'll send you a url to the installer.

If you are interested in source code too, please make a note of that.

Cheers
posted on Tuesday, September 11, 2007  by bobby @ 1:18 PM

If you used the contact form to request the commercial removing app within the last few days, please re-send your request. GMail decided to start treating my blog email as spam all the sudden, so a few requests were eaten.

Sorry about that guys.
posted on Tuesday, September 18, 2007  by pji @ 9:11 PM

Before upgrading to Vista Ultimate I used GB-PVR. It has code to allow a few different programs to process commercials. I used comskip. It worked very well until the end of many recordings where it would miss that last 2 minute "recap moment." With GB-PVR, it marks and skips the commercials on playback... While I don't believe that is a possibility with VMCE, may I suggest one of the future features optionally be to save the original and rename the commercial free version.

Oh, and I'm all aboard the testing train...
posted on Thursday, September 20, 2007  by Paul @ 8:26 AM

I tried it out last night and it worked well, I will continue testing this week. My only suggestion so far would be an option to specify where the uncommercializer working dir shoull be. I currently have 3 drives, a 250 C: and 2 x 500 data drives. The program uses the same drive for it's working folder as the recorded tv, which causes a lot of read/writes to the same drive. It would be nice to be able to specify a different drive as the working folder.
posted on Thursday, September 20, 2007  by bobby @ 1:34 PM

@pji

That is a possibility w/ MCE. In fact, that is exactly how DVRMS-Toolbox does it by default. It takes an additional MCE add-in to make the playback work correctly - something I was trying to avoid. As far as adding in additional options to allow you to save both the original and the uncommercialized version, I can add that to the to-do list.

@Paul

I agree with you. Using the same drive (parent folder of your recording path) was done to minimize the amount of time it takes to move the large (1.5+gb) dvr-ms files around. However, I definitely understand the need to process these large file elsewhere, especially when the media library drive is near maximum capacity. I'll look into adding in some options that enable the user to choose the processing location w/out sustaining additional IO lag.

Thanks for the feedback guys - please continue to submit ideas/requests and issues you are experiencing.
posted on Friday, September 21, 2007  by pji @ 8:19 PM

Your process has been running great! Now comskip is a different story... It completely skipped the last minute of three shows I recorded. I'll have to mess with the comskip.ini.

The DVRMS-Toolbox must have made quite a bit of progress since my last check. I was manually marking and deleting commercials in a seperate, and super buggy, application.
posted on Wednesday, October 03, 2007  by Anonymous @ 3:34 PM

I would like to try to the commerical remover app. Please send the url to my email. Thanks.
posted on Thursday, October 04, 2007  by Rafik @ 12:25 PM

hey there, excellent idea! DVRMS Toolbox is starting to annoy me too! Could i get the url to the installer to test out this excellent prog? Thanks!
posted on Tuesday, October 09, 2007  by ne0 @ 10:35 AM

I'd like to give it a try on Vista Ultimate MC
posted on Friday, November 16, 2007  by Anonymous @ 2:58 PM

I'd like to try your commercial removal application.

Thanks!
posted on Sunday, November 18, 2007  by hnic410 @ 10:25 AM

Sounds like a very useful application. I would like to give a try.
posted on Monday, November 19, 2007  by bobby @ 9:29 AM

The application is available at http://www.lifextender.com
posted on Saturday, December 01, 2007  by RRA @ 9:00 AM

Guess what?
Though this program is designed for Vista
It apparently works fine on XP Media Edition 2005 - at least thus far.
>>>> THANK YOU ! <<<<
posted on Friday, December 14, 2007  by XMS @ 11:32 AM

By far the most seamless commercial removal tool for Vista Media Center I have used to date. Thank you!!!
posted on Sunday, December 14, 2008  by Anonymous @ 5:10 AM

Damn it! This worked perfectly for most of my recordings, but a few of them, including some of my favorites, it shortened from a half hour to 5 minuites! Now i dont have most of the episode. Dang it.
posted on Sunday, April 12, 2009  by Anonymous @ 3:28 PM

I'm planning on giving your tool a shot as soon as I get my new box built. Will it remove the backed up original file after I delete the commercial free version? Would be nice to have the original version so I don't lose shows like the last poster, but I don't want to have to manage my backup folder either.
posted on Friday, November 27, 2009  by Web Developer @ 4:06 AM

Thank you for sharing. I will install it and let you know my feedback. If it can get rid of commercials then great.
posted on Friday, November 27, 2009  by Web Developer @ 4:11 AM

The application working the way it should be. you can download and use it..
posted on Friday, November 27, 2009  by Bonusse für Black Jack @ 10:26 PM

I have install window Vista some times ago on my laptop .But it creates some problem on my laptop.Some program or software do not run on this window but i do not understand why they are not installed.Then I asked from my friend ,he says it may be due to your window is not compatible with your software.I just check it and find he is right.
But i like the designing and functioning of window vista and his looks.Thats why I installed it.
posted on Wednesday, December 30, 2009  by health insurance @ 8:12 AM

wow! i agree! i've been searching for so long for a site where i could find everything that i want, and i've just found it!! really, i've visited your blog, and it's amazing, i will keep visiting!
posted on Thursday, January 14, 2010  by How to play craps and win @ 10:20 PM

What would be the opposite of this class? I would like to have the XmlTextWriter actually write characters such as '<' and '>' or Is there a way to tell the XmlTextWriter to allow for these characters when writing an XML file?


New Post Notification

Search Posts

Recent Posts


About Meeself
People call me Bobby DeRosa
I live somewhere in San Diego, CA
MCSD, MCAD, MCP

This theme was adapted from fUnique by fahlstad        Icons by FamFamFam        XHTML 1.0 Strict; tuned for Mozilla-powered browsers

Admin Login Administrator Login
Invalid login attempts are logged.
  Username:
  Password: