4 thumbnails not working

*** Please report new bugs here! ***

Moderator: Dreamer

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

4 thumbnails not working

Post by jadO » Sun Dec 06, 2015 6:42 am

I have checked the option to create 4 thumbnails per video. For some reason it only creates 1, 2 or 3 thubnails for some videos.
The videos are playing fine in xnviemps viewer so it's likely not a problem of missing codecs.

Oh yes, and sometimes it shows 4 thumbs for a file but its the same picture for all 4.

User avatar
xnview
Author of XnView
Posts: 31918
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 4 thumbnails not working

Post by xnview » Mon Dec 07, 2015 9:20 am

jadO wrote:I have checked the option to create 4 thumbnails per video. For some reason it only creates 1, 2 or 3 thubnails for some videos.
which format?
Oh yes, and sometimes it shows 4 thumbs for a file but its the same picture for all 4.
??? do you have a screenshot?
Pierre.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: 4 thumbnails not working

Post by jadO » Tue Dec 08, 2015 8:07 am

I did some more investigation into this.

Still 4 thumbnails does not produce 4 thumbnails for every movie file. I checked if that maybe is about broken files. I reverted to 1 single thumbnail and changed the perventage of the timestamp and it shows that xnviemp can show any timestamp of that file correctly in single thumbnail mode.

This means that for some reason in 4 thumbnail mode, xnviemp is not creating the 4 thumbnails correctly.

Now in regards to the 4 same thumbnails it might have to do with database upgrade from previous versions. I have recreated some thumbnails and for most files xnviewmp has again only created 1 thumbnail instead of 4 but this was the same picture that was displayed 4 times previously. So to me it looks that for some reason it does only create 1 thumbnail instead of 4 and that the remaining 3 empty positions got filled up with the same thumbnails. This might have happend when database has been updated in the past.

So best way would be to fix the issue of not creating 4 thumbnails, then there is no empty space left that has to get filled up.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: 4 thumbnails not working

Post by jadO » Wed Dec 09, 2015 8:53 pm

I did some more testing. The 4 thumbnails feature is NOT working for most of the video files. It is working for a small portion and is displaying 4 thumbs. But most files only show 1, 2 or 3 thumbs very randomly.
So this feature is not working.

Additionally the feature should respect the precentage setting. A lot of movies have black frames or intros at the beginning, so even with 4 thumbnails working, it is useless to capture the very first frames in a lot of cases, resulting in a black frame as first thumbnail.

So again, 4 thumbnails too should respect the timeframe percentage setting to get 4 useful thumbnails once the bug has been removed.

User avatar
xnview
Author of XnView
Posts: 31918
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 4 thumbnails not working

Post by xnview » Thu Dec 10, 2015 3:14 pm

jadO wrote:I did some more testing. The 4 thumbnails feature is NOT working for most of the video files. It is working for a small portion and is displaying 4 thumbs. But most files only show 1, 2 or 3 thumbs very randomly.
So this feature is not working.
.
i have no problem, i have always the 4 thumbnails :(
Pierre.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: 4 thumbnails not working

Post by jadO » Mon Dec 14, 2015 11:01 am

xnview wrote:
jadO wrote:I did some more testing. The 4 thumbnails feature is NOT working for most of the video files. It is working for a small portion and is displaying 4 thumbs. But most files only show 1, 2 or 3 thumbs very randomly.
So this feature is not working.
.
i have no problem, i have always the 4 thumbnails :(
Ok then look at my problem here. This is a fresh xnviemp zip which i have instracted and opened a folder with test files. All extensions have been set as video extensions in the settings manager.
You can see that the first 2 although both flv do not produce a consistent thumbnail output. The first one gives 4 the second one only 1 thumpnail. 3gp gives 1 big tumbnail, mkv only 2, mp4 only 1.

Image

I hope you can understand now the problem.

User avatar
xnview
Author of XnView
Posts: 31918
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 4 thumbnails not working

Post by xnview » Tue Dec 15, 2015 8:46 am

oh ok, so it seems that thumbnails extract have problem with some of your format codec... Could you send me one of each format video?
Pierre.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: 4 thumbnails not working

Post by jadO » Wed Dec 16, 2015 7:55 pm

You can download from her: http://www.sample-videos.com/

User avatar
xnview
Author of XnView
Posts: 31918
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 4 thumbnails not working

Post by xnview » Thu Dec 17, 2015 9:03 am

there is error to seek in the video file to retrieve frame...
Pierre.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: 4 thumbnails not working

Post by jadO » Thu Dec 17, 2015 8:02 pm

xnview wrote:there is error to seek in the video file to retrieve frame...
Well these were only sample files that are on the internet. How can I check for seek errors myself? If that is the reason I have seek errors in 75% of my video files which I find hard to believe.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: 4 thumbnails not working

Post by jadO » Sat Dec 19, 2015 11:14 am

One additional note: Currently it seems that Icaros is the best thumbnail creator for any type of media. As far as I know K-lite codec pack has incorporated it as well.
Suggestion to incorporate it into XnviewMP too: http://shark007.net/forum/Forum-Icaros-Development

It cannot create 4 thumbnails for a video but XnviewMP could use it to create the required thumbnails per video, store them and use them for displaying.

Edit: Another idea or question is: These files play well. The files I have tested XnvieMP was able to provide the thumbnail from any position in single thumnail mode. But if it can display any thumbnail in single thumbnail mode, it should not be too hard to run that function 4 times to get the required thumbnails for 4 thumbnails mode.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: 4 thumbnails not working

Post by jadO » Sat Apr 02, 2016 6:50 am

Will there be a fix for this issue?

User avatar
omniplex
Posts: 127
Joined: Thu Feb 10, 2011 1:52 pm
Location: Hamburg
Contact:

Re: 4 thumbnails not working

Post by omniplex » Sat Apr 02, 2016 12:15 pm

Inspired by this thread I checked that commons has the Big Buck Bunny, and in fact they have an 93 MB medium bitrate OGV (Ogg Video) created six years ago with ffmpeg2theora. Because that might be not state of the art (wrt video format conversions) I also checked what YouTube "offers for download" with one of those sites listing the download links for a given YouTube URL. Then I downloaded the biggest WEBM video + WEBA audio, planning to mux it with FFmpeg and upload the result to commons as alternative medium bitrate WEBM (video+audio), after all the license should be okay.

Something with Big Buck Bunny might be hard for thumbnails, Windows explorer crashes when I try to rename BBB, and the Media Preview configuration test page (based on a 2014 FFmpeg libav) is unresponsive for BBB. It works for almost all video formats on my box (+ several image formats not handled by other thumbnail generators not limited to XnView.) Maybe BBB is a special case, if we trust that a WEBM as found on YouTube is by definition a good WEBM.

P.S. some hours later, commons also had the 2.76 GB Big Buck Bunny 4K.webm, but I didn't try to download it. :wink: Now they also have a 88.88 MB WEBM alternative.

jadO
Posts: 413
Joined: Wed Apr 29, 2015 6:36 am

Re: 4 thumbnails not working

Post by jadO » Sat Apr 02, 2016 9:07 pm

I did the same with a different provider and downloaded the videos as follows:

http://keepvid.com/?url=https%3A%2F%2Fw ... -ZSoZScqBU
http://keepvid.com/?url=http%3A%2F%2Fww ... AtP7au_Q9w
http://keepvid.com/?url=https%3A%2F%2Fw ... AtP7au_Q9w
http://keepvid.com/?url=https%3A%2F%2Fw ... P6SlDSfcLE
http://keepvid.com/?url=https%3A%2F%2Fw ... Hy6bBKu0j4

Any download turned out to be only one preview picture with XnvieMP despite 4 thumbnail preview had been enabled. I don't believe all of them get suddenly corrupted or have seek errors. It simply does not work.

User avatar
omniplex
Posts: 127
Joined: Thu Feb 10, 2011 1:52 pm
Location: Hamburg
Contact:

Re: 4 thumbnails not working

Post by omniplex » Mon Apr 04, 2016 2:44 am

jadO wrote:It simply does not work.
Your one thumbnail instead of four with XnView beats my "no thumbnail at all" with Media Peview for a Big Buck Bunny WEBM, but one day later I saw that I got a VP9 from YouTube: VP9 is new, the FFmppeg libav in Media Preview presumably does not yet support it.

After some minutes (sic!) del and ren on a command line finally worked for me, ditto rename and delete in explorer, i.e., there was a "preparing for recycling" popup open for some minutes, and another long delay before it actually happened. Do you have a shorter example, not Big Buck Bunny at almost 100 MB, and also not VP9 WEBM, where it's hard to tell if that's supported at all?

Post Reply