Hacking Windows 7 Media Center

Increasing Replay and Pause Buffer Length in Windows 7 Media Center

by Michael Healy @ 9:00 am on July 13th, 2009 in commercial skip, recording tv with 18 Comments and Permalink

Buffer Length This week in place of Reader Question and Answer we have a hot reader tip from a member named N3M3515 to share. If you’ve got a tip of your own to share with the Hack7MC readers be sure to send it in through our contact form. This particular tip involves increasing the default buffer length for Live TV in Windows 7 Media Center. Increasing the buffer size allows you to pause or rewind Live TV over a longer period of time.

If you’ve ever paused a show in Media Center only to have the end of the show cut off once you resume watching it or have the show simply start playing again while you’re taking care of more important business, you likely need to increase your buffer size to avoid these problems in the future. Luckily solving this problem is relatively easy.

To get started open up regedit by typing “regedit” into the search box in your start menu and pressing enter. Next navigate through the hierarchy to get to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\Video\Tuners

Then add the following as DWORD entries by right-clicking the right hand pane and selecting New –> DWORD:

  1. BackingStoreEachFileDurationSeconds
  2. BackingStoreMaxExistingBackingFiles
  3. BackingStoreMaxNumBackingFiles

regedit tuners

Now the default values for these entries is 300 seconds and 8 files. To increase the buffer length you can increase the length of each file or simply increase the number of files to be created. Using many small files can save hard drive space while using fewer large files may increase performance, though likely only marginally.

To edit the length of each file double click BackingStoreEachFileDurationSeconds and change the base option to Decimal. This will allow you to input a regular value instead of a hexadecimal code.

decimal

The length of your buffer will be equal to the number of seconds times the number of files able to be created (300 * 8 for example). Entering a value of 900 in this DWORD would increase the buffer length from 40 minutes to 2 hours. This can be a much better value for those of us who watch shows that run an hour or longer and frequently pause for long durations.

To increase the number of files allowed to be created edit the other two values in the same manner. The BackingStoreMaxExistingBackingFiles value assigns the maximum number of files that can be created for the show currently being viewed while BackingStoreMaxNumBackingFiles refers to the maximum number of files allowed to be created total before a cleanup is performed.

Next, restart your machine for the changes to take effect. That’s it, you should now have a longer buffer length in Windows 7 Media Center. I haven’t had time to test this on extenders but would hazard a guess that it would in fact work as the buffer resides on the main Media Center.

Be sure to return next week for a regularly scheduled Reader Question and Answer. If you’ve got a question for next week drop us a line below!

  -

18 Comments


Anonymous
Comment #2107 from Anonymous [Reply]

Thanks for the tip!

Small comment, your screenshot might be confusing as you seemed to have used 900 Hexamdecimal seconds instead of 900 decimal.

Comment left July 13, 2009 at 9:44 am with Permalink
@Reply #2110 from Michael Healy [Reply]

Yah, I noticed that shortly after I put the image into the article but forgot to go back and change it. Thanks.

Comment left July 13, 2009 at 11:50 am with Permalink

Chumplunt
Comment #2114 from Chumplunt [Reply]

Is there a minimum value you must have? I’m interested in shrinking the size of the buffer as I don’t really use it. But while I could make it, say 120sec x 1 file, will MCE chuck a wobbly at that?

Comment left July 13, 2009 at 11:44 pm with Permalink
@Reply #2121 from Michael Healy [Reply]

Hmm..I’m not sure how it would handle a buffer that small. I suppose it would probably do just fine as long as your hardware doesn’t need more than 2 minutes to decode and present the transmission.

Comment left July 14, 2009 at 9:06 am with Permalink
Comment #2188 from MrMarc [Reply]

I never have this problem with Live/Recorded TV, but I do have it with my transcoded video files (via T360) every now and then. Is it possible to change the settings used playback of those videos?

Comment left July 20, 2009 at 2:35 am with Permalink
Comment #2570 from Nico Oosterwijk [Reply]

How does this differ from the same keys in de sub DVR??

.Nico

Comment left August 7, 2009 at 6:29 am with Permalink

coldracerx
@Reply #2898 from coldracerx [Reply]

Good question. I have an issue where some channels freeze when on live tv after a few minutes but those same channels will record fine when left to do it in the background. Will this help and should the DVR reg keys be edited to. Also is there an optimal setting to have here such a 900 and 10 10 or something else.

Comment left August 25, 2009 at 3:17 pm with Permalink

Andrea
Comment #3710 from Andrea [Reply]

It seems it is not working in Windows 7 x64. Any advice???

Comment left October 2, 2009 at 2:40 pm with Permalink

Neil
@Reply #3955 from Neil [Reply]

Agreed, it didn’t work on my Win7 x64 RTM install either. Would love a fix if anyone comes up with one!

Comment left October 12, 2009 at 1:48 pm with Permalink

Raymond Burkes
@Reply #4013 from Raymond Burkes [Reply]

With Windows 7 RTM 32, the keys are at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Media Center\Service\Video\Tuners\DVR

Comment left October 15, 2009 at 2:51 pm with Permalink

Bill hicks
Comment #5199 from Bill hicks [Reply]

You may also give the MCE Live TV Buffer Manager utility a try. Quick and dirty little GUI that works Well. Tested on Vista and 7.

Download is here:

http://www.dougknox.com/xpmce/utils/mce_livetvbuffermgr.htm

Comment left November 30, 2009 at 3:31 am with Permalink

tranqueirex
Comment #5918 from tranqueirex [Reply]

Hi there. nice tutorial here. I am looking to disable the buffer on watching tv. I assume if I use zero values I can do that rite? thanks

Comment left December 22, 2009 at 8:52 pm with Permalink

Antti
Comment #6642 from Antti [Reply]

Can I disable the buffer by inserting values as 0? I’m using asus eee 900 with the 16gb ssd disk and I’m afraid the buffering will eventually damage the disk with continuous writing and erasing..

Comment left January 14, 2010 at 7:31 am with Permalink

Anonymous
Comment #7017 from Anonymous [Reply]

I’ve tested the hack7mc instructions for increasing the buffer length to try and decrease the buffer so that I can save the buffer to a small ram drive and lighten the load on my overworked hard drive when simultaneously watching TV, recording a show and using ShowAnalyzer to scan for commercials. However, the registry hacks are not working to decrease the values in Windows 7 Media Center 64 bit. Even though I change the registry values, the system still tries to record for 40 minutes, and MC locks up when it runs out of space on my ramdrive. Upon further research, this thread ( http://thegreenbutton.com/forums/t/57676.aspx ) shows that in Vista, Microsoft had hard coded minimum values which override the registry settings (which happened to match the defaults) in the ehome/ehRecvr.exe executable. The thread shows how to modify the executable in Vista, but, as one would expect, the string they indicate to search for has changed in Windows 7. So the logical question is whether there are any techies out there with the ability to look for similar settings within the executable bundled with Windows 7.

Comment left January 23, 2010 at 1:15 pm with Permalink
Comment #7041 from Por [Reply]

Hi, now that I’ve increased the buffer size. Is there a way where the buffered recording can be saved across channels?
I have a PVR which buffers 90 minutes of all channels I have surfed. MCE 7 however only buffers the last channel I was on, all previous channel surfing is gone.
Thanks

Comment left January 24, 2010 at 9:44 am with Permalink

Anonymous
Comment #7183 from Anonymous [Reply]

Running windows 7 x64 bit. None of the idea on the post at all (original regedit post, second regedit post, and the program) worked. Any Ideas?

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

Xainsterr
Comment #7652 from Xainsterr [Reply]

Appreciate the information but it’s not working here. I’ve got windows 7 x86 Ultimate RTM. I’m stuck at 40 mins buffer :*(

Comment left February 13, 2010 at 3:41 pm with Permalink

Xainsterr
Comment #7718 from Xainsterr [Reply]

Got it fixed. Had to change values in the DVR\ too. However the recorder menu inside windows 7 media center still shows the same buffer size. But I can pause for 2 hours or more.

Thanks

Comment left February 15, 2010 at 4:14 am 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!