Video Thumbnails - Using a Different Frame?


Recommended Posts

I would like to find a way to get the thumbnail feature in Windows XP to display something besides the first frame of the movie as the thumbnail. In most cases the first frame of a video is completely black and this makes thumbnail view pretty borring. Windows Vista manages to do this (by displaying what looks like a random frame), and I was hoping that someone knew a way to do this in Windows XP as well.

Thanks in advance!

Edited by 12Iceman

As much as I hate to bump my own thread (at least give me credit for waiting a couple of days), I would really like to see if there is anything out there that can do this. Windows XP's video thumbnails are almost useless in their current form and it would be nice to have something useable without having to go all out and use Vista.

I have the same problem. :crazy: I don't know who was the master mind behind making the first frame the thumbnail. Like you said, 99% of the time, the first frame is black. I was hoping they'd change that in Vista, but apparently, it will still be the first frame. On the macs they usually choose a random frame, and display that. I would also love to know if there is a patch, or some kind of software that could do that.

  Supex said:

I have the same problem. :crazy: I don't know who was the master mind behind making the first frame the thumbnail. Like you said, 99% of the time, the first frame is black. I was hoping they'd change that in Vista, but apparently, it will still be the first frame. On the macs they usually choose a random frame, and display that. I would also love to know if there is a patch, or some kind of software that could do that.

Actually, they do fix this problem in Vista (at least in RC1 its there). I am just trying to find some way to do something similar in XP.

What would be truly great is if they had little animated icons so you can differentiate between images and video without having extensions visible or how about a play button watermark over a random video frame(kinda like a smaller version of youtube).

http://windowsxp.mvps.org/videothumb.htm

http://msdn.microsoft.com/library/default....s/shell_ext.asp

http://msdn.microsoft.com/library/default....etthumbnail.asp

Well, I'm no programmer, so I can't make much of all this. However, it seems to me that it is possible to do this with a simple registry edit.

  • 4 months later...

Actually we have 2 options:

1 decompile Shmedia.dll and find the function that create the thumbnail,and modify it.

2 copy the windows vista dll, MediaMetadataHandler.dll and patch it to Xp.

both things are diffcult to do,

Another method could me make a program that generate the thumbnails and then register it to be on Explorer.exe in thumbnails view.

This can be made doing a shell extension and replacing the default:

[HKEY_CLASSES_ROOT\.avi\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]

@="{c5a40261-cd64-4ccf-84cb-c394da41d590}"

I think this can be make but don't know how to start

i think this might be an easy work-around. directshow is used to capture the first frame, what needs to be done is to make it so the filter skips the first few frames, or decodes only a certain frame in the middle, like 1 minute in.

do it with ffdshow and avisynth. add

  Quote
trim(1500,1501)

in the avisynth section and make sure ffdshow is the default decoder. delete all the thumbs.dll files from your folders and visit them again in thumbnail view. you should end up with nice thumbnails for all your videos.

i haven't tried it, im just quoting a good friend of mine, who is a moderator at a video forum told me it will probably work

Omg!! I am going to try it!

  zmysta said:
i think this might be an easy work-around. directshow is used to capture the first frame, what needs to be done is to make it so the filter skips the first few frames, or decodes only a certain frame in the middle, like 1 minute in.

do it with ffdshow and avisynth. add

in the avisynth section and make sure ffdshow is the default decoder. delete all the thumbs.dll files from your folders and visit them again in thumbnail view. you should end up with nice thumbnails for all your videos.

i haven't tried it, im just quoting a good friend of mine, who is a moderator at a video forum told me it will probably work

What file shoud we modify??, please explain a little bit.

you don't need to modify anything. to roughly quote him:

  Quote
*install avisynth

*install ffdshow, from here http://sourceforge.net/projects/ffdshow-tryout/. make sure you tick avisynth processing/plugin while installing

*click start, then programs, then ffdshow, then video decoder configuration. select avisynth and tick the box next to it. type "trim(1500,1501)" without the quotes, then click ok

*find yourself an xvid or divx avi file and go to the folder it is contained in. click tools, then folder options. select show hidden files and folders and untick hide protected operating system files, then click ok.

*check if there is a thumbs.dll file in the folder your video file is in. if there is, delete it. close the window

*go back to the folder and windows will generate a new thumbnail

  • 7 months later...

i just tried the avisynth/ffdshow idea and my cpu spiked for a while, like it was reeeeeeeeeeeeeeally trying to do something, but in the end cpu use died off and no thumbnails were generated at all.

anybody know an ms engineer who would understand the logic behind wanting this changed/figured out? :D

  • 1 year later...
  • 1 month later...

I've finally came up to this thread, while I was struggling to find this answer, and the proposed solution seems to work.

But I'm facing two problems:

- mp4 & wmv thumbnails are spoiled: upside down, or "frame B" (looks like the rendering has been done without using keyframes

- half of flv have a white thumbnails

regardless of what offset is being used.

It looks like Haali Media Splitter is doing something wrong, or may I solve the problem tweaking ffdshow...

Can someone help?

(the only codecs I have installed are CCCP)

  • 1 year later...

Sorry to bump an old thread, but I have a riff on vktRus's fix that is a bit of an improvement.

There are a few important things to know about this issue.

On 19/12/2009, Shell Integration was removed from Haali Media Splitter. That's the bit that generates the thumbnails! Supposedly it will later be available as a stand alone download. At the moment it's non-existent.

The fix previously posted works around the issue by installing the last version of the Haali filter that still has the feature.

The attached file has the missing component (mmfinfo.dll) which you want to copy to your Haali installation folder and register it.

This gives us a fix that will work with all recent versions of HMS. (You can download the latest here: http://haali.su/mkv/)

The other problem is that occasionally the {BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} key already has a (default) value.

If it is not {327669A0-59A7-4be9-B99E-1C9F3A57611A}, the thumbnail_enable.reg may not replace it with the correct value.

So if you still have a few stubborn thumbnails, go to HKEY_CLASSES_ROOT\.XXX\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} (.xxx is your problem file type), and make sure (Default) is {327669A0-59A7-4be9-B99E-1C9F3A57611A}. If not change it or create new keys/strings as needed.

Besides adding extra steps to the readme file, I expanded the thumbnail_enable.reg file to include:

.asf, .avi, .mpe, .m2v, .mpeg, .mpg, .wmv, .ogm, .mp4, .mpv, .flv and .mkv.

Feel free to add or subtract whatever you want.

Btw, some people say that .mkv thumbnails do not work with Haali/CoreAVC. I use CoreAVC and my thumbnails work just fine with this method.

So now you know the root of the problem and have a fix to go with it that you can customize as needed.

Edit: Hmm. Can't make the attachment stick (yes the file is below 2mb.)

Here's a RapidShare link. Maybe someone else can figure out what I'm doing wrong and attach it: http://rapidshare.com/files/410938832/Enable_Thumbnails.zip

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • They are still b-hurt about Apple allowing users to block their ability to see what you do across other apps too. Did Android also get this functionality? It’s been a while since using it.
    • Meta's next chatbot might message you first and want to keep talking to you by Usama Jawad Original robot image designed by Freepik Chatbots have been on the rise ever since the meteoric rise of ChatGPT back in January 2023. While large language models (LLMs), the technology powering chatbots, has various other use-cases, one of the most popular scenario for AI involvement continues to be chatbots. Now, it appears that Meta is considering making AI assistants even more proactive and talkative in future iterations. Leaked documents seen by Business Insider indicates that Meta is training AI chatbots that can message you unprompted to bring up past topics. Internally, the initiative is known as "Project Omni", and its aim is to increase user retention and engagement by providing more value to customers. Examples of proactive messages from the chatbot include an inquiry into your discovery of any new music composers, or checking if you require any movie recommendations for the night. A Meta spokesperson confirmed these plans to the news outlet, saying that "Like many companies, we're testing follow-up messaging with AIs in Meta's AI Studio. After you initiate a conversation, AIs in Meta AI Studio can follow up with you to share ideas or ask additional questions. This allows you to continue exploring topics of interest and engage in more meaningful conversations with the AIs across our apps." Contractors from data labeling firm Alignerr are reportedly helping Meta build different personas that can interact with the user. Once these capabilities become generally available in AI Studio, they will allow customers to create personalized chatbots that are specialized in particular areas, such as responding to fan messages across Meta's social media networks. It is important to note that this project is in active development, but an Alignerr contractor noted that it's been given to them as a "long-term project". The Meta spokesperson specified that follow-up messages to a conversation will only be sent on threads originally initiated by the user. If the user does not respond to this follow-up, no other messages will be sent. Follow-ups will be sent within 14 days of the original message and in order to be eligible, you have to have sent at least five messages to the chatbot in the previous two weeks. Other guidelines in the requirements document emphasize the need for the follow-up conversation to be positive, personalized, avoid harmful or sensitive content, and refer to something concrete from previous conversations. It will be interesting to see if this new way of interaction with AI chatbots changes the way we engage with them.
    • It would make more sense to do that, but instead it looks like he wants the batch script to display a message telling him to manually enable the VPN rather than getting the batch script to connect it for him.
    • With laws changing, they (tech companies) may need to pivot fast to ID checking. They (generally speaking) don’t want to hold that info due to accountability, penalties for data breaches. It also helps if they can comply but not know who when law comes asking. @RejZor
  • Recent Achievements

    • Week One Done
      Devesh Beri earned a badge
      Week One Done
    • Week One Done
      956400 earned a badge
      Week One Done
    • First Post
      loose_observer earned a badge
      First Post
    • Week One Done
      BeeJay_Balu earned a badge
      Week One Done
    • Week One Done
      filminutz earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      447
    2. 2
      ATLien_0
      158
    3. 3
      +FloatingFatMan
      151
    4. 4
      Nick H.
      65
    5. 5
      +thexfile
      62
  • Tell a friend

    Love Neowin? Tell a friend!