Broken video file handling

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
Danny
Posts: 578
Joined: Sat Sep 04, 2004 5:09 pm

Broken video file handling

Post by Danny »

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
Danny
Posts: 578
Joined: Sat Sep 04, 2004 5:09 pm

Post by Danny »

So? What about a 5 second timeout then? If a thumbnail could not be created within 5 seconds, skip the file and go for the next one. Better? This is really bugging me.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

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?
Danny
Posts: 578
Joined: Sat Sep 04, 2004 5:09 pm

Post by Danny »

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?
For example stuff you are currently downloading but haven't finished yet. Like some videogame trailer torrent files.

Or simply files that have frames missing, but you need to keep them nonetheless.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Danny wrote:
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?
For example stuff you are currently downloading but haven't finished yet. Like some videogame trailer torrent files.

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... ;-)
Pierre.
Danny
Posts: 578
Joined: Sat Sep 04, 2004 5:09 pm

Post by Danny »

xnview wrote:I think that the problem is in DirectShow, i ask for a frame, that's all... ;-)
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, 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.
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

I support this request.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
Post Reply