Better Thumbnails for MKV Files in Windows Media Center

Album Cover: No Line On The Horizon

"I'm running down the road like loose electricity while the band in my head plays a striptease."
U2 / Breathe

Posted on December 22, 2008 5:38 PM in Computers
Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

If you're like me and you've got an HTPC running Windows Media Center, you may have downloaded an MKV file or two and noticed that Windows Media Center doesn't do the greatest job of generating thumbnails of those files automatically. Whereas Windows Media Center does a decent job of generating thumbnails for other video file formats like AVI, typically with MKV files you get a thumbnail of the very first frame of the video. A majority of the time, in my experience at least, this results in a black thumbnail since the first frame of the video is often black.

As it turns out, there is a way around this issue in Windows Media Center. For any MKV file (and probably for any other video file as well), you can drop a JPEG file with the same filename as the video (just a different file extension, obviously) in the same folder as the video, and if Windows Media Center hasn't already cached a thumbnail for that video, it will use the image you've included as the thumbnail instead. So if Windows Media Center is generating a thumbnail for a file called Batman Begins (720p).mkv, for example, and finds a file called Batman Begins (720p).jpg in the same folder, it will use the latter as its thumbnail rather than generating one automatically.

Now the point I made about thumbnail caching is important. By the time you've realized that MKV files typically get black thumbnails generated for them, you've allowed Windows Media Center to generate thumbnails on its own, and they've now gone into the cache. So even if you now include some JPEG files in order to see better thumbnails, there's a good chance Windows Media Center is going to keep on using its automatically generated thumbnails. To get around this, you need to delete the cache file from the folder where the video lives.

I'm currently saving all of my downloaded MKV files to a folder at E:\Movies. Because I'm using the Windows Vista version of Media Center, there is a file that gets created in that directory called ehthumbs_vista.db. It contains all of the cached thumbnails for the MKV files in that folder. All I have to do is delete that file (in order to see it before you delete it, you may need to update your folder view settings to show hidden system files and folders) and then open Windows Media Center and browse to that folder to get it to regenerate the thumbnails and recreate that cache. This time around, though, since I've provided custom JPEG files, it loads my files into the cache instead of generating its own, lame, predominantly black thumbnails.

Another key thing to point out is that Windows Media Center seems to stick to a particular proportion for its thumbnails, so if you try to use JPEG files that are taller than they are wide, they'll likely get cut off at the bottom when displayed in the Windows Media Center interface. I've started sticking with images that are about 4:3 in width-to-height ratio (e.g. 120x90 or 400x300) and that seems to give good results. However, even if an image gets chopped off in the interface, it sure beats those black, auto-generated thumbnails that Windows Media Center created before I became aware of this capability.

Comments

Supacon on February 07, 2009 at 9:23 AM:

I was curious if you've ever found a utility that can generate handy Vista Compatible thumbnails for a folder tree automatically? That'd save a ton of time!

Permalink

Avi on March 01, 2009 at 4:30 AM:

Great guide, I´ll use it as my second option.
I´d like to completelly disable thumbnails for videos. I´d like to see the plain video file name instead of the thumbnail.

Do you know how to do it ?

Permalink

blog comments service on September 03, 2016 at 1:25 AM:

Much appreciated such a great amount for this data. I need to tell you I agree on a few of the focuses you make here and others may require some further audit, yet I can see your perspective.

Permalink

minecraft free on September 08, 2016 at 12:37 AM:

Fabulous site you have here, so much cool data!..

Permalink

free netflix account on September 08, 2016 at 12:37 AM:

Your site is truly cool and this is an awesome motivating article. Much obliged to you to such an extent.

Permalink

agen judi on March 18, 2017 at 12:30 PM:

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post

Permalink

جدة on March 24, 2017 at 12:37 PM:

You just got a new biggest fan!..

Permalink

seo backlinks service on March 30, 2017 at 2:09 AM:

thank you for a great post.

Permalink

mens designer messenger bags on April 04, 2017 at 9:42 AM:

Offering wide collection of men designer bags made from high quality materials. Our bags made in Italy and we ship it for free to you.

Permalink

دكتور on April 09, 2017 at 1:15 PM:

I am pretty much pleased with your good work.

Permalink

carder forum on April 23, 2017 at 11:12 AM:

I have recently started a blog, the info you provide on this site has helped me greatly.

Permalink

made in italy briefcase on April 30, 2017 at 4:32 AM:

Offering wide collection of leather briefcases made in Italy.

Permalink

csgo match betting advice on May 03, 2017 at 5:12 AM:

Bet on an outcome of events in Counter Strike:Global Offensive matches and earn coins for purchasing of skins in the Store.

Permalink

jkrbyxbe on May 15, 2017 at 5:23 AM:
versace jeans on June 02, 2017 at 2:51 PM:

You completed a few fine points there.

Permalink

marathi actress on July 28, 2017 at 5:36 AM:

Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.

Permalink

I read few posts on this web site and I conceive that your blog is very interesting and has sets of fantastic information.

Permalink

auto transport services on August 09, 2017 at 8:56 AM:

Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me.

Permalink

plombier bruxelles on August 12, 2017 at 7:20 AM:

You can be a great author.I will be sure to bookmark your blog and will often come. Thanks

Permalink

labiaplasty on August 19, 2017 at 12:40 AM:

Great Article it its really informative and innovative keep us posted with new updates. its was really valuable. thanks a lot.

Permalink

Post Comments

If you feel like commenting on the above item, use the form below. Your email address will be used for personal contact reasons only, and will not be shown on this website.

Name:

Email Address:

Website:

Comments:

Check this box if you hate spam.