Page 1 of 1

Video thumbnail issues

Posted: Wed Jul 12, 2023 6:43 am
by 101924
Hi

Short:

With Icaros i have thumbnails for all videos but XnViewMP does not create 4 thumbnails for all formats anymore.

Long:

I recently cleaned my pc and uninstalled some older software (some portable ones and a few with uninstall.exe) and now XnViewMP no longer displays thumbnails for mkv, avi and other formats.
MP4 files and some others are showing a thumbnail but only 1 instead of 4 ("Show 4 thumbnails" is checked).
After using Icaros to re-enable thumbnails for all other formats they show thumbnails again.
Icaros wasn't necessary before.

Can you explain why system changes are changing the thumbnail creation?
I thought ffmpeg is used for thumbnail creation.
The setting "Show 4 thumbnails instead of 1" doesn't work properly anymore except for mpg, wmv and some avi files.
MPG files and avi xvid are showing 4 thumbnails but there is only 1 image in it (left upper corner) and 3 black ones.
Avi x264 shows 1 thumbnail only.

Something is totally wrong.
It is possible that i installed some software years ago to make the (4) thumbnails work for all formats but i forgot which one.
It looks like i accidentally uninstalled this software and i cant use windows event logs because i delete them frequently.
This is so annoying, why do i need third party software to make this work.

Please help me.

Show thumbnails for videos is checked
Show 4 thumbnails is checked
useinternalplayer=true

Debug log of a folder i created with different video formats:

Code: Select all

setPathname <D:/Test/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : e7c97860
######ThumbLoaderThread :: forever : e7c97860
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : e7c97860
CHECK <0>
######ThumbLoaderThread :: forever : e7c97860
 ** start condition wait
## OPEN FOLDER
## Check folder
  ## Check companion  0
  ## Check companion ok  0
  ## OPEN DB FOLDER ok  4
  ## UPDATE DB FOLDER ok  5
  ## OPEN FOLDER ok  6
## updateLabel  6
## updateLabels ok  7
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 1
SORT the list... 2
BitmapLoadThread :: stop()
Add watcher <D:/>
Add watcher <D:/Test/>
## UPDATE ==> (Test)
## OPEN FOLDER done  173
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(9)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : e7c97860
CHECK <9>
sizeHints : 512
### START 9
######ThumbLoaderThread :: start : 9     -1 -1
==> D:/Test/Test1.mkv 0
LOAD BITMAP <D:/Test/Test1.mkv>
my_error_exit...<Not a JPEG file: starts with 0x1a 0x45>
sizeHints : 512
GFF :: LoadThumbnail : 0 0  (2)
LOADED & CREATED
==> D:/Test/Test2.mpg 0
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
==> D:/Test/Test2.mpg 25
 hresult: 1
==> D:/Test/Test2.mpg 50
 hresult: 1
==> D:/Test/Test2.mpg 75
 hresult: 1
LOADED & CREATED
==> D:/Test/Test3.ts 0
LOAD BITMAP <D:/Test/Test3.ts>
my_error_exit...<Not a JPEG file: starts with 0x47 0x40>
GFF :: LoadThumbnail : 0 0  (2)
LOADED & CREATED
==> D:/Test/Test4.mp4 0
LOADED & CREATED
==> D:/Test/Test5.avi 0
LOADED & CREATED
==> D:/Test/Test6.flv 0
LOAD BITMAP <D:/Test/Test6.flv>
my_error_exit...<Not a JPEG file: starts with 0x46 0x4c>
GFF :: LoadThumbnail : 0 0  (2)
LOADED & CREATED
==> D:/Test/Test7.MOV 0
LOAD BITMAP <D:/Test/Test7.MOV>
my_error_exit...<Not a JPEG file: starts with 0x00 0x00>
GFF :: LoadThumbnail : 0 0  (2)
LOADED & CREATED
==> D:/Test/Test8.webm 0
LOAD BITMAP <D:/Test/Test8.webm>
my_error_exit...<Not a JPEG file: starts with 0x1a 0x45>
GFF :: LoadThumbnail : 0 0  (2)
LOADED & CREATED
==> D:/Test/Test9.wmv 0
==> D:/Test/Test9.wmv 25
 hresult: 1
==> D:/Test/Test9.wmv 50
 hresult: 1
==> D:/Test/Test9.wmv 75
 hresult: 1
LOADED & CREATED
######ThumbLoaderThread :: forever : e7c97860
 ** start condition wait
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 2
SORT the list... 3
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
sizeHints : 512

Re: Video thumbnail issues

Posted: Wed Jul 12, 2023 7:32 am
by xnview
on linux?

Re: Video thumbnail issues

Posted: Wed Jul 12, 2023 7:57 am
by 101924
Windows 10 Pro

Re: Video thumbnail issues

Posted: Wed Jul 12, 2023 8:14 am
by xnview
if you try 1.4.5, no problem to show thumbnails for video file?

Re: Video thumbnail issues

Posted: Wed Jul 12, 2023 8:25 am
by 101924
There is no difference between 1.45 or 1.50.

Re: Video thumbnail issues

Posted: Wed Jul 12, 2023 9:01 am
by xnview
ok, could you edit xnview.ini, and change debug=2, and send us the content of logs window

Re: Video thumbnail issues

Posted: Wed Jul 12, 2023 6:04 pm
by 101924
I included the debug log in my first post.
But the problem is solved now and i dont know why exactly.
For testing i set useinternalplayer=false and started XnViewMP in debug mode and then closed it.
Then set useinternalplayer=true again and started it in debug mode now thumbnail creation is working again even without Icaros.
In normal mode too.
I did the same thing in normal mode too at the beginning and it didn't work.
I dont know why switching this setting off and on again in debug mode solved the problem but the topic can be closed, thank you for your time.