I don’t rebuild the thumbnails - not knowingly that is.
To give you some more info:
Starting kphotoalbum from cli with
QT_LOGGING_RULES='kphotoalbum*.debug=true' LANG=en_US.UTF-8
, at start up I do get messages about the thumbnail cache:
kphotoalbum.ImageManager: ThumbnailCache::saveFull(): cache not dirty.
about once every second or so, until I confirm the “Work in progress” dialogue.
Then kphotoalbum starts searching for new files in directories.
Next the recurring messages:
kphotoalbum.ImageManager: ThumbnailCache::saveFull(): cache not dirty.
starts again.
Then appears the dialogue:
Unable to extract video thumbnails from some files. Either the file is damaged in some way, or the video is ultra short. For your convenience, the token 'N' has been set on those videos.
(You might need to wait till the video extraction led in your status bar has stopped blinking, to see all affected videos.)
(We are now up to “N” for this specific one video.)
Selecting “tokens” I see this list:
Clicking from token C to token N shows the preview of same video file.
Info about this file:
Exif-info tab: empty
File metadata: video/mp4, 50,71 MiB (53.175.628 B), rw-r–r-- (0644)
With the preview window open cli is showing a lot of (at times several per second):
photoalbum.ImageManager: Video thumbnail frames for "2018/video/VID_20180120_121424.mp4" was not cached.
kphotoalbum.ImageManager: Thumbnail file ".videoThumbnails/aa192d8746c8f216e8726b17c0bf33b3-0" exists: true
kphotoalbum.ImageManager: Video thumbnail frame 0 for "2018/video/VID_20180120_121424.mp4" is on disk.
kphotoalbum.ImageManager: Thumbnail file ".videoThumbnails/aa192d8746c8f216e8726b17c0bf33b3-1" exists: true
kphotoalbum.ImageManager: Video thumbnail frame 1 for "2018/video/VID_20180120_121424.mp4" is on disk.
kphotoalbum.ImageManager: Thumbnail file ".videoThumbnails/aa192d8746c8f216e8726b17c0bf33b3-2" exists: true
kphotoalbum.ImageManager: Video thumbnail frame 2 for "2018/video/VID_20180120_121424.mp4" is on disk.
kphotoalbum.ImageManager: Thumbnail file ".videoThumbnails/aa192d8746c8f216e8726b17c0bf33b3-3" exists: false
kphotoalbum.ImageManager: ThumbnailCache::saveFull(): cache not dirty.
kphotoalbum.ImageManager: Using video frame 20
kphotoalbum.ImageManager: Inserting video thumbnail still frame for "2018/video/VID_20180120_121424.mp4" : ".videoThumbnails/aa192d8746c8f216e8726b17c0bf33b3-1"
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
kphotoalbum.BackgroundTaskManager: Starting Job (#116): Extracting Thumbnail 2018/video/VID_20180120_121424.mp4 #2
kphotoalbum.ImageManager: /usr/bin/ffmpeg -ss 15.2000 -analyzeduration 200M -i /home/willemh/SSD2TB/Fotomappen/2018/video/VID_20180120_121424.mp4 -vf thumbnail -vframes 20 /tmp/KPA-kxhBEO/000000%02d.png
kphotoalbum.ImageManager: Using video frame 20
kphotoalbum.ImageManager: Inserting video thumbnail still frame for "2018/video/VID_20180120_121424.mp4" : ".videoThumbnails/aa192d8746c8f216e8726b17c0bf33b3-0"
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
I’ve been watching these cli messages for several days now and I’m pretty confident that it’s always this number that’s being shown: aa192d8746c8f216e8726b17c0bf33b3
.
This also shows up a lot:
kphotoalbum.BackgroundTaskManager: Starting Job (#144): Extracting Thumbnail 2018/video/VID_20180120_121424.mp4 #8
kphotoalbum.ImageManager: /usr/bin/ffmpeg -ss 60.8000 -analyzeduration 200M -i /home/willemh/SSD2TB/Fotomappen/2018/video/VID_20180120_121424.mp4 -vf thumbnail -vframes 20 /tmp/KPA-ZxQIGe/000000%02d.png
QImage::scaled: Image is a null image
dataChanged() called with an invalid index range:
topleft: QModelIndex(-1,-1,0x0,QObject(0x0))
bottomRight:QModelIndex(-1,-1,0x0,QObject(0x0))
Returning with “Back” to the starting window cli is constantly showing (several times per second, continuously):
kphotoalbum.ImageManager: Video thumbnail frame 1 for "2018/video/VID_20180120_121424.mp4" is on disk.
kphotoalbum.ImageManager: Thumbnail file ".videoThumbnails/aa192d8746c8f216e8726b17c0bf33b3-2" exists: true
kphotoalbum.ImageManager: Video thumbnail frame 2 for "2018/video/VID_20180120_121424.mp4" is on disk.
And, as far as I can see, this keeps going on as long as I have kphotoalbum running.
Not sure if this is normal behavior.
Should I report this as a bug?