Page 1 of 1

Crash when creating thumbnail for certain video files

Posted: Wed Dec 30, 2020 2:50 am
by JimDossan
Hello!

When creating the thumbnails for certain files, either by opening the folder or by adding it in Settings->Browser->Catalog, XnView crashes.

I narrowed the files down to some, heres the MediaInfo of two of them:

Code: Select all

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3
Format settings                          : 1 Ref Frames
Format settings, CABAC                   : No
Format settings, Reference frames        : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 6 min 14 s
Bit rate                                 : 401 kb/s
Width                                    : 628 pixels
Height                                   : 354 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.072
Stream size                              : 17.9 MiB (89%)
Writing library                          : x264 core 120
Encoding settings                        : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x3:0x13 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=24 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=24.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.41 / aq=1:1.00
Language                                 : Swedish
Codec configuration box                  : avcC

Code: Select all

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline@L2.1
Format settings                          : 3 Ref Frames
Format settings, CABAC                   : No
Format settings, Reference frames        : 3 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 7 min 59 s
Bit rate                                 : 274 kb/s
Width                                    : 580 pixels
Height                                   : 326 pixels
Display aspect ratio                     : 16:9
Original display aspect ratio            : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.058
Stream size                              : 15.7 MiB (83%)
Writing library                          : x264 core 133 r2334 a3ac64b
Encoding settings                        : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=24 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=28.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Encoded date                             : UTC 1970-01-01 00:00:00
Tagged date                              : UTC 1970-01-01 00:00:00
Codec configuration box                  : avcC
I can't find anything special with the files in question. The thumbnails are generated fine in windows explorer and the files are playable in MPC-HC.
The problematic files I've found so far are all .mp4, but excluding these files the thumbnail generation for .mp4 works fine in general.
If someone has a hunch that one of the characteristics above is problematic, I'll check whether one of the functioning (thumbnail-wise) files I have has the same characteristic to falsify.

I'm on XnView MP Windows - Version 0.98.0 64bits (Dec 14 2020) - Libformat version 7.64 and K-Lite Codec Pack 15.9.5 Mega.

Has anyone an idea why this might be? Is there a crashlog somewhere I could look into? Thanks in advance!

Re: Crash when creating thumbnail for certain video files

Posted: Wed Dec 30, 2020 9:24 am
by xnview
It's a known issue which will be fixed in next release

Re: Crash when creating thumbnail for certain video files

Posted: Wed Dec 30, 2020 11:28 am
by JimDossan
Wow, thanks a lot for your reply, great to hear theres a fix en route!

I naturally searched for my problem first, using the terms "thumbnail" and "crash". I assumed the search to be AND and it told me 'ignored: thumbnail' after searching, so I thought no topic with both keywoards existed. Even after using the advanced search and +thumbnail it showed me the same 3504 results which only seemed to contain "crash".
After looking again now, the second page showed me relevant results with "thumb" or "thumbnailing" in the title, and some pages later even your post you just referenced. Sorry for repeating a known issue!

Re: Crash when creating thumbnail for certain video files

Posted: Sun Jan 17, 2021 9:01 pm
by roby803
Same problem Crashing when opening a folder with many videos !
It's unusable for me, I'm waiting for next version (0.98.1 when ?)
Thank You !
Roby803
PS it's possible to get previous version ? please

Re: Crash when creating thumbnail for certain video files

Posted: Sun Jan 17, 2021 9:30 pm
by cday
roby803 wrote: Sun Jan 17, 2021 9:01 pm Same problem Crashing when opening a folder with many videos !
It's unusable for me, I'm waiting for next version (0.98.1 when ?)
Thank You !
Roby803
PS it's possible to get previous version ? please
Old versions

Re: Crash when creating thumbnail for certain video files

Posted: Thu Jan 21, 2021 8:24 am
by xnview
This problem is supposed to be fixed in XnView MP 0.98.1. Please check and confirm the bug fix here.

Re: Crash when creating thumbnail for certain video files

Posted: Thu Jan 21, 2021 12:32 pm
by JimDossan
Can confirm on a small-ish (~130GB) subset of files, on which the problem occured in 98.0, that no crash is happening in 98.1 anymore!
I have some other sets that let to a crash in 98.0 as well that I'll test soon; I'm confident that the issue is resolved, but if the other sets make problems I'll report again.
Thanks!

Re: Crash when creating thumbnail for certain video files

Posted: Fri Jan 22, 2021 12:07 am
by roby803
I confirm that no crash anymore creating tumbnail with this version 0.98.1
Thank You
Roby