If there are broken (incomplete) video files in a folder, it slows down the thumbnail creation process. In fact, the whole application is stuck until XNView realizes: oh, that one's broken - let's ignore it and go for the next one.
I guess the problem is that it doesn't skip those files fast enough. So maybe they should be marked as problematic or something within the thumbnail cache. It then shall not try to recreate the thumbs for those files on reselecting the folder until you manually refresh the folder view (pressing F5 and so on).
That, or just make it skip faster. ;p
Broken video file handling
Moderators: helmut, XnTriq, xnview
For example stuff you are currently downloading but haven't finished yet. Like some videogame trailer torrent files.helmut wrote:Display of thumbnails in XnView browser must be fast, so this is an an important issue.
What do you mean with "broken/incomplete video files"? Could you provide samples?
Or simply files that have frames missing, but you need to keep them nonetheless.
I think that the problem is in DirectShow, i ask for a frame, that's all...Danny wrote:For example stuff you are currently downloading but haven't finished yet. Like some videogame trailer torrent files.helmut wrote:Display of thumbnails in XnView browser must be fast, so this is an an important issue.
What do you mean with "broken/incomplete video files"? Could you provide samples?
Or simply files that have frames missing, but you need to keep them nonetheless.

Pierre.
All i can say is that ACDSee does not get stuck on those files. It will simply not create a thumbnail and skip to the next one.xnview wrote:I think that the problem is in DirectShow, i ask for a frame, that's all...
XNView, on the other hand, will most likely be able to create a thumbnail. But it can take up to 20 seconds for one such file. Now, if you have like 10 of those in one folder.... you do the math...

One can argue which behaviour is better. Skipping problematic files or trying to get a thumbnail - no matter what.
So, my 2 suggestions are: either
- skip the thumbnail creation process after X seconds
or
- mark files that needed a long time to create thumbnails from within the cache so it will not automatically recreate thumbs for those but only when manually refreshing them
Just my 2 cents.