Bug 498074

Summary: Malloc error with ffmpeg > 7.x.
Product: [Applications] digikam Reporter: frankoz95967943
Component: Thumbs-VideoAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.5.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Heres 1 example where i got a null for thumbnail
added an mp4
file priror to abend
other file

Description frankoz95967943 2024-12-31 06:33:43 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
I have a folder with 40000 twitter images (jpg's, gifs from a twitter archive)
Open folder with digikam - its indexed successfully, but then it crashes.


STEPS TO REPRODUCE
1. open digikam
2. point to twitter archive images
3. crash

OBSERVED RESULT
crash

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.12.4-1-MANJARO
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
$ digikam
digikam.dnnmodelmanager: Cannot find DNN models path
digikam.dnnmodelmanager: Cannot find DNN models path
kf.xmlgui: Unhandled container to remove :  Digikam::DigikamApp
digikam.general: Cannot create thumbnail for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1494858478355361792-FL7N280aMAICtpI.mp4"
digikam.general: Thumbnail is null for  "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1494858478355361792-FL7N280aMAICtpI.mp4"
digikam.general: Cannot create thumbnail for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1511460135196975109-FPnI-f0UcAQRbDe.mp4"
digikam.general: Thumbnail is null for  "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1511460135196975109-FPnI-f0UcAQRbDe.mp4"
digikam.general: Cannot create thumbnail for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1618012388015632386-FnRVsBjacAEnTeB.mp4"
digikam.general: Thumbnail is null for  "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1618012388015632386-FnRVsBjacAEnTeB.mp4"
malloc(): invalid size (unsorted)
Aborted (core dumped)


$ kinfo
Operating System: Manjaro Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 16 × Intel® Core™ i7-10700 CPU @ 2.90GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630

I turned on the trace - when i clicked 1 image this is what was sent to console before it crashed....
digikam.general: Cancel Main Thread
digikam.general: One job is done  Digikam::AlbumsJob(0x61185dd46bb0)  time: 792
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1494858478355361792-FL7N280aMAICtpI.mp4 -all:all -icc_profile -o -.exv"
digikam.general: Finish Main Thread
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 257
digikam.metaengine: EXV chunk size: 9
digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded
digikam.metaengine: ExifTool complete "Load Chunks" for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1494858478355361792-FL7N280aMAICtpI.mp4"
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Loading metadata with "ExifTool" backend from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1494858478355361792-FL7N280aMAICtpI.mp4"
digikam.general: Trying to get thumbnail from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1494858478355361792-FL7N280aMAICtpI.mp4" ( "video" )
digikam.general: Trying to load video preview with FFmpeg
digikam.general: decodeVideoFrame() failed: frame not finished
digikam.general: Cannot create thumbnail for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1494858478355361792-FL7N280aMAICtpI.mp4"
digikam.general: Thumbnail is null for  "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1494858478355361792-FL7N280aMAICtpI.mp4"
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1511460135196975109-FPnI-f0UcAQRbDe.mp4 -all:all -icc_profile -o -.exv"
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 12
digikam.metaengine: EXV chunk size: 9
digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded
digikam.metaengine: ExifTool complete "Load Chunks" for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1511460135196975109-FPnI-f0UcAQRbDe.mp4"
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Loading metadata with "ExifTool" backend from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1511460135196975109-FPnI-f0UcAQRbDe.mp4"
digikam.general: Trying to get thumbnail from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1511460135196975109-FPnI-f0UcAQRbDe.mp4" ( "video" )
digikam.general: Trying to load video preview with FFmpeg
digikam.general: decodeVideoFrame() failed: frame not finished
digikam.general: Cannot create thumbnail for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1511460135196975109-FPnI-f0UcAQRbDe.mp4"
digikam.general: Thumbnail is null for  "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1511460135196975109-FPnI-f0UcAQRbDe.mp4"
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1618012388015632386-FnRVsBjacAEnTeB.mp4 -all:all -icc_profile -o -.exv"
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 12
digikam.metaengine: EXV chunk size: 9
digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded
digikam.metaengine: ExifTool complete "Load Chunks" for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1618012388015632386-FnRVsBjacAEnTeB.mp4"
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Loading metadata with "ExifTool" backend from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1618012388015632386-FnRVsBjacAEnTeB.mp4"
digikam.general: Trying to get thumbnail from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1618012388015632386-FnRVsBjacAEnTeB.mp4" ( "video" )
digikam.general: Trying to load video preview with FFmpeg
digikam.general: decodeVideoFrame() failed: frame not finished
digikam.general: Cannot create thumbnail for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1618012388015632386-FnRVsBjacAEnTeB.mp4"
digikam.general: Thumbnail is null for  "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1618012388015632386-FnRVsBjacAEnTeB.mp4"
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4 -all:all -icc_profile -o -.exv"
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 12
digikam.metaengine: EXV chunk size: 9
digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded
digikam.metaengine: ExifTool complete "Load Chunks" for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4"
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Loading metadata with "ExifTool" backend from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4"
digikam.general: Trying to get thumbnail from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4" ( "video" )
digikam.general: Trying to load video preview with FFmpeg
malloc(): invalid size (unsorted)
Aborted (core dumped)
Comment 1 Maik Qualmann 2024-12-31 06:57:12 UTC
It seems to crash when creating a video thumbnail with FFmpeg, can you please run digiKam in gdb and post the backtrace?

gdb digikam
type "r" + Enter to run
...crash...
type "bt" + Enter for backtrace

Maik
Comment 2 Maik Qualmann 2024-12-31 07:35:34 UTC
It is also strange that no thumbnails can be created for the MP4 files (thumbnail null message). It could also be a package problem (FFmpeg) with your distribution. Can you please provide one of these MP4 files? Please also test our AppImage to see if the problem can be reproduced.

Maik
Comment 3 frankoz95967943 2024-12-31 16:15:28 UTC
Created attachment 177000 [details]
Heres 1 example where i got a null for thumbnail

digikam.general: Thumbnail is null for  "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1616043688890884096-Fm1V-LdagAI8711.jpg"
Comment 4 frankoz95967943 2024-12-31 16:29:09 UTC
[New Thread 0x7fff857fa6c0 (LWP 3043428)]
digikam.general: Thumbnail is null for  "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1620894948773236737-Fn6TMrTaMAA6k3M.jpg"
[Thread 0x7fff791fe6c0 (LWP 3043427) exited]
[New Thread 0x7fff791fe6c0 (LWP 3043431)]
[Thread 0x7fff857fa6c0 (LWP 3043428) exited]
[New Thread 0x7fff857fa6c0 (LWP 3043449)]
[New Thread 0x7fff799ff6c0 (LWP 3043450)]
[Thread 0x7fff857fa6c0 (LWP 3043449) exited]
[Thread 0x7fff799ff6c0 (LWP 3043450) exited]
malloc(): invalid size (unsorted)

Thread 113 "Thread (pooled)" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff3f7fe6c0 (LWP 3043272)]
0x00007ffff40a53f4 in ?? () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff40a53f4 in ?? () from /usr/lib/libc.so.6
#1  0x00007ffff404c120 in raise () from /usr/lib/libc.so.6
#2  0x00007ffff40334c3 in abort () from /usr/lib/libc.so.6
#3  0x00007ffff4034354 in ?? () from /usr/lib/libc.so.6
#4  0x00007ffff40af765 in ?? () from /usr/lib/libc.so.6
#5  0x00007ffff40b2d04 in ?? () from /usr/lib/libc.so.6
#6  0x00007ffff40b3ef4 in malloc () from /usr/lib/libc.so.6
#7  0x00007ffff4868224 in QArrayData::allocate1(QArrayData**, long long, QArrayData::AllocationOption) ()
   from /usr/lib/libQt6Core.so.6
#8  0x00007ffff6bf6d6d in ?? () from /usr/lib/libdigikamcore.so.8.5.0
#9  0x00007ffff648a548 in ?? () from /usr/lib/libdigikamcore.so.8.5.0
#10 0x00007ffff648b725 in Digikam::VideoThumbnailer::generateThumbnail(QString const&, Digikam::VideoThumbWriter&, QImage&) () from /usr/lib/libdigikamcore.so.8.5.0
#11 0x00007ffff648b968 in Digikam::VideoThumbnailer::generateThumbnail(QString const&, QImage&) ()
   from /usr/lib/libdigikamcore.so.8.5.0
#12 0x00007ffff644ec6b in Digikam::ThumbnailCreator::createThumbnail(Digikam::ThumbnailInfo const&, QRect const&) const () from /usr/lib/libdigikamcore.so.8.5.0
#13 0x00007ffff644f6da in Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&, QRect const&, bool, bool) const () from /usr/lib/libdigikamcore.so.8.5.0
#14 0x00007ffff644fc1d in Digikam::ThumbnailCreator::load(Digikam::ThumbnailIdentifier const&, bool) const ()
   from /usr/lib/libdigikamcore.so.8.5.0
#15 0x00007ffff6468dab in ?? () from /usr/lib/libdigikamcore.so.8.5.0
#16 0x00007ffff6461a76 in Digikam::LoadSaveThread::run() () from /usr/lib/libdigikamcore.so.8.5.0
#17 0x00007ffff6490891 in ?? () from /usr/lib/libdigikamcore.so.8.5.0
#18 0x00007ffff48dfd15 in ?? () from /usr/lib/libQt6Core.so.6
#19 0x00007ffff48d90cd in ?? () from /usr/lib/libQt6Core.so.6
#20 0x00007ffff40a339d in ?? () from /usr/lib/libc.so.6
#21 0x00007ffff412849c in ?? () from /usr/lib/libc.so.6
Comment 5 frankoz95967943 2024-12-31 16:31:23 UTC
Note that i was thinking it was just the massive number of images in folder, so i split folder and moved 1/2 of them to a subfolder with hopes that would help.

it didnt.

the folder had over 40000 images, and now has ~20000.

same issue.
Comment 6 caulier.gilles 2025-01-01 10:37:33 UTC
Did you have enough space to store the thumbnails database ?
Comment 7 Maik Qualmann 2025-01-01 10:56:35 UTC
What's strange is that the sample JPG you uploaded reports a null thumbnail for you, but works without a problem here.
A sample of a video file would be interesting.

Maik
Comment 8 frankoz95967943 2025-01-02 03:12:24 UTC
df -h /
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/nvme0n1p2 ext4  469G  337G  108G  76% /

plenty of space
i rebooted and tried again.


$ digikam
digikam.dnnmodelmanager: Cannot find DNN models path
digikam.dnnmodelmanager: Cannot find DNN models path
kf.xmlgui: Unhandled container to remove :  Digikam::DigikamApp
malloc(): invalid size (unsorted)
Aborted (core dumped)

[New Thread 0x7fff797fa6c0 (LWP 13225)]
[New Thread 0x7fff79ffb6c0 (LWP 13226)]
[Thread 0x7fff797fa6c0 (LWP 13225) exited]
[Thread 0x7fff79ffb6c0 (LWP 13226) exited]
malloc(): invalid size (unsorted)


I reran qdb:

Thread 157 "Thread (pooled)" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffaa54f6c0 (LWP 13209)]
Downloading 4.06 K source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44                                                                                                                    
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ffff40a5463 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78
#2  0x00007ffff404c120 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ffff40334c3 in __GI_abort () at abort.c:79
#4  0x00007ffff4034354 in __libc_message_impl (fmt=fmt@entry=0x7ffff41c22f5 "%s\n") at ../sysdeps/posix/libc_fatal.c:132
#5  0x00007ffff40af765 in malloc_printerr (str=str@entry=0x7ffff41c58e0 "malloc(): invalid size (unsorted)") at malloc.c:5772
#6  0x00007ffff40b2d04 in _int_malloc (av=av@entry=0x7fff7c000030, bytes=bytes@entry=262144) at malloc.c:4078
#7  0x00007ffff40b3ef4 in __GI___libc_malloc (bytes=262144) at malloc.c:3336
#8  0x00007ffff4868224 in allocateData (allocSize=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:139
#9  allocateHelper (objectSize=1, alignment=16, capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:181
#10 allocateHelper (objectSize=1, alignment=16, capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:157
#11 QArrayData::allocate1 (dptr=dptr@entry=0x7fffaa54d430, capacity=<optimized out>, option=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qarraydata.cpp:211
#12 0x00007ffff6bf6d6d in QTypedArrayData<unsigned char>::allocate (capacity=<optimized out>, option=<optimized out>) at /usr/include/qt6/QtCore/qarraydata.h:136
#13 QArrayDataPointer<unsigned char>::allocateGrow (position=QArrayData::GrowsAtEnd, from=..., n=168960) at /usr/include/qt6/QtCore/qarraydatapointer.h:479
#14 QArrayDataPointer<unsigned char>::reallocateAndGrow(QArrayData::GrowthPosition, long long, QArrayDataPointer<unsigned char>*) [clone .constprop.0] (this=0x7fffaa54d590, n=168960, old=0x0, where=QArrayData::GrowsAtEnd)
    at /usr/include/qt6/QtCore/qarraydatapointer.h:228
#15 0x00007ffff648a548 in QArrayDataPointer<unsigned char>::detachAndGrow (where=QArrayData::GrowsAtEnd, data=0x0, old=0x0, this=<optimized out>, n=168960) at /usr/include/qt6/QtCore/qarraydatapointer.h:209
#16 QList<unsigned char>::resize_internal (this=0x7fffaa54d590, newSize=<optimized out>) at /usr/include/qt6/QtCore/qlist.h:748
#17 QList<unsigned char>::resize (this=0x7fffaa54d590, size=<optimized out>) at /usr/include/qt6/QtCore/qlist.h:407
#18 Digikam::VideoThumbDecoder::getScaledVideoFrame (this=this@entry=0x7fffaa54d558, scaledSize=<optimized out>, maintainAspectRatio=<optimized out>, videoFrame=...)
    at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threadimageio/video/videothumbdecoder.cpp:281
#19 0x00007ffff648b725 in Digikam::VideoThumbnailer::generateThumbnail (this=this@entry=0x7fffaa54d700, videoFile=..., imageWriter=..., image=...)
    at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threadimageio/video/videothumbnailer.cpp:180
#20 0x00007ffff648b968 in Digikam::VideoThumbnailer::generateThumbnail (this=0x7fffaa54d700, videoFile=..., image=...) at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threadimageio/video/videothumbnailer.cpp:215
#21 0x00007ffff644ec6b in Digikam::ThumbnailCreator::createThumbnail (this=this@entry=0x555555cd29a0, info=..., detailRect=...) at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threadimageio/thumb/thumbnailcreator_engine.cpp:203
--Type <RET> for more, q to quit, c to continue without paging--
#22 0x00007ffff644f6da in Digikam::ThumbnailCreator::load (this=0x555555cd29a0, identifier=..., rect=..., pregenerate=pregenerate@entry=true, onlyStorage=onlyStorage@entry=false)
    at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threadimageio/thumb/thumbnailcreator.cpp:275
#23 0x00007ffff644fd16 in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, identifier=...) at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threadimageio/thumb/thumbnailcreator.cpp:180
#24 0x00007ffff6468b8f in Digikam::ThumbnailLoadingTask::execute (this=0x5555610bcfe0) at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threadimageio/thumb/thumbnailtask.cpp:71
#25 0x00007ffff6461a76 in Digikam::LoadSaveThread::run (this=0x555555d655e0) at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threadimageio/fileio/loadsavethread.cpp:118
#26 0x00007ffff6490891 in Digikam::DynamicThread::Private::run (this=0x555555c06640) at /usr/src/debug/digikam/digikam-8.5.0/core/libs/threads/dynamicthread.cpp:173
#27 0x00007ffff48dfd15 in QThreadPoolThread::run (this=0x55555e7dbf20) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthreadpool.cpp:70
#28 0x00007ffff48d90cd in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:354
#29 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:290
#30 QThreadPrivate::start (arg=0x55555e7dbf20) at /usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:318
#31 0x00007ffff40a339d in start_thread (arg=<optimized out>) at pthread_create.c:447
#32 0x00007ffff412849c in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb) 

i opened up valgrind - for some reason the app doesnt immedaitely crash with this wrapped around the executable.
But theres some interesting info in the console stdout
==17081== 
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec comfortnoise with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec s302m with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec aac with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ac3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ac3_fixed with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec alac with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec aptx with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec aptx_hd with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dca with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dfpwm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec eac3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec flac with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g723_1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mlp with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp2fixed with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec nellymoser with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec opus with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec real_144 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sbc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sonic with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sonicls with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec truehd with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec tta with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec vorbis with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wavpack with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wmav1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wmav2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_alaw with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_bluray with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_dvd with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f32be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f32le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f64be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f64le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_mulaw with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s8 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s8_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s16be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s16be_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s16le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s16le_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s24be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s24daud with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s24le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s24le_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s32be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s32le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s32le_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s64be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s64le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u8 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u16be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u16le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u24be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u24le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u32be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u32le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_vidc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec roq_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_adx with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_argo with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g722 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g726 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g726le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_amv with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_alp with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_apm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_qt with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_ssi with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_wav with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_ws with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ms with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_swf with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_yamaha with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ssa with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ass with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dvbsub with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dvdsub with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mov_text with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec srt with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec subrip with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec text with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ttml with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec webvtt with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec xsub with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libgsm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libgsm_ms with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libmp3lame with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libopencore_amrnb with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libopus with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libspeex with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libvorbis with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec anull with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec comfortnoise with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dvaudio with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec 8svx_exp with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec 8svx_fib with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec rka with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec s302m with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec speex with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec aac with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec aac_fixed with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec aac_latm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ac3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ac3_fixed with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec acelp.kelvin with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec alac with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec als with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec amrnb with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec amrwb with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec apac with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ape with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec aptx with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec aptx_hd with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec atrac1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec atrac3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec atrac3al with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec atrac3plus with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec atrac3plusal with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec atrac9 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec binkaudio_dct with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec binkaudio_rdft with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec bmv_audio with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec bonk with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec cook with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dca with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dfpwm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dolby_e with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dsd_lsbf with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dsd_msbf with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dsd_lsbf_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dsd_msbf_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dsicinaudio with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dss_sp with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dst with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec eac3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec evrc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec fastaudio with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wavesynth with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec flac with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ftr with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g723_1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g729 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec gsm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec gsm_ms with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec hca with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec hcom with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec iac with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ilbc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec imc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec interplayacm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mace3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mace6 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec metasound with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec misc4 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mlp with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp1float with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp2float with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp3float with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp3adufloat with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp3adu with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp3on4float with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mp3on4 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mpc7 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mpc8 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec msnsiren with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec nellymoser with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec on2avc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec opus with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec osq with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec paf_audio with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec qcelp with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec qdm2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec qdmc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec qoa with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec real_144 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec real_288 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ralf with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sbc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec shorten with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sipr with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec siren with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec smackaud with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sonic with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec tak with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec truehd with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec truespeech with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec tta with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec twinvq with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec vmdaudio with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec vorbis with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wavarc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wavpack with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wmalossless with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wmapro with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wmav1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wmav2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wmavoice with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ws_snd1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec xma1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec xma2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_alaw with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_bluray with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_dvd with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f16le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f24le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f32be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f32le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f64be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_f64le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_lxf with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_mulaw with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s8 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s8_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s16be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s16be_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s16le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s16le_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s24be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s24daud with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s24le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s24le_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s32be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s32le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s32le_planar with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s64be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_s64le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_sga with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u8 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u16be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u16le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u24be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u24le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u32be with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_u32le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pcm_vidc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec cbd2_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec derf_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec gremlin_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec interplay_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec roq_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sdx2_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sol_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec xan_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec wady_dpcm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_4xm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_adx with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_afc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_agm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_aica with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_argo with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ct with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_dtk with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ea with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ea_maxis_xa with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ea_r1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ea_r2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ea_r3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ea_xas with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g722 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g726 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec g726le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_acorn with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_amv with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_alp with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_apc with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_apm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_cunning with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_dat4 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_dk3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_dk4 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_ea_eacs with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_ea_sead with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_iss with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_moflex with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_mtf with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_oki with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_qt with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_rad with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_ssi with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_smjpeg with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_wav with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ima_ws with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_ms with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_mtaf with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_psx with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_sbpro_2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_sbpro_3 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_sbpro_4 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_swf with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_thp with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_thp_le with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_vima with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_xa with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_xmd with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_yamaha with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec adpcm_zork with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ssa with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec ass with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec cc_dec with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dvbsub with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec dvdsub with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec jacosub with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec microdvd with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mov_text with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec mpl2 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pgssub with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec pjs with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec realtext with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec sami with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec srt with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec stl with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec subrip with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec subviewer with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec subviewer1 with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec text with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec vplayer with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec webvtt with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec xsub with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libgsm with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libgsm_ms with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libopencore_amrnb with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libopencore_amrwb with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libopus with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libspeex with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec libvorbis with error -22 "Invalid argument"
qt.multimedia.ffmpeg.utils: Failed to retrieve config 0 for codec anull with error -22 "Invalid argument"
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
digikam.dplugin.generic: Key not captured by Slideshow toolbar: 16777251 QFlags<Qt::KeyboardModifier>(AltModifier)
digikam.dplugin.generic: Key not captured by Slideshow toolbar: 16777251 QFlags<Qt::KeyboardModifier>(AltModifier)
digikam.dplugin.generic: Key not captured by Slideshow toolbar: 16777251 QFlags<Qt::KeyboardModifier>(AltModifier)
digikam.dplugin.generic: Key not captured by Slideshow toolbar: 16777251 QFlags<Qt::KeyboardModifier>(AltModifier)

I've attached an mp4
Comment 9 frankoz95967943 2025-01-02 03:13:40 UTC
Created attachment 177025 [details]
added an mp4

added mp4
Comment 10 caulier.gilles 2025-01-02 05:13:21 UTC
One point : 

$ digikam
digikam.dnnmodelmanager: Cannot find DNN models path
digikam.dnnmodelmanager: Cannot find DNN models path

1/ please turn on the debug trace at run time as explained here :

https://www.digikam.org/contribute/#linux-host

2/ the face management model files are not present on your computer. Typically It's not a problem, but this can introduce side effects.

Gilles Caulier
Comment 11 frankoz95967943 2025-01-02 08:18:33 UTC
I re-ran with valgrind to see if it was a heap problem.
$ valgrind --leak-check=yes digikey

Strangely the program did not crash - i ran slide show for the last 30 or so images.

Then closed the program

Here are the last couple of lines from the valgrind log


==17081== 1,869,504 bytes in 428 blocks are possibly lost in loss record 184,006 of 184,051
==17081==    at 0x48447A8: malloc (vg_replace_malloc.c:446)
==17081==    by 0x43099586: sqlite3MemMalloc.lto_priv.0 (sqlite3.c:26991)
==17081==    by 0x43095478: UnknownInlinedFun (sqlite3.c:30725)
==17081==    by 0x43095478: UnknownInlinedFun (sqlite3.c:30771)
==17081==    by 0x43095478: sqlite3Malloc.lto_priv.0 (sqlite3.c:30765)
==17081==    by 0x430A5BCD: pcache1Alloc.lto_priv.0 (sqlite3.c:55620)
==17081==    by 0x430A60E7: UnknownInlinedFun (sqlite3.c:55708)
==17081==    by 0x430A60E7: pcache1FetchStage2 (sqlite3.c:56179)
==17081==    by 0x430A9DB0: UnknownInlinedFun (sqlite3.c:54743)
==17081==    by 0x430A9DB0: getPageNormal.lto_priv.0 (sqlite3.c:62742)
==17081==    by 0x430B134E: UnknownInlinedFun (sqlite3.c:62934)
==17081==    by 0x430B134E: getAndInitPage.lto_priv.0 (sqlite3.c:73051)
==17081==    by 0x430B5021: moveToChild.lto_priv.0 (sqlite3.c:76082)
==17081==    by 0x430B5328: moveToLeftmost.lto_priv.0 (sqlite3.c:76263)
==17081==    by 0x430B562A: sqlite3BtreeTableMoveto.lto_priv.0 (sqlite3.c:76427)
==17081==    by 0x430C554F: sqlite3VdbeFinishMoveto.lto_priv.0 (sqlite3.c:88773)
==17081==    by 0x430D265F: sqlite3VdbeExec.lto_priv.0 (sqlite3.c:96390)
==17081== 
==17081== LEAK SUMMARY:
==17081==    definitely lost: 103,544 bytes in 149 blocks
==17081==    indirectly lost: 21,171 bytes in 243 blocks
==17081==      possibly lost: 10,273,935 bytes in 7,754 blocks
==17081==    still reachable: 898,717,786 bytes in 3,982,500 blocks
==17081==                       of which reachable via heuristic:
==17081==                         length64           : 10,776 bytes in 276 blocks
==17081==                         newarray           : 22,605,456 bytes in 141,570 blocks
==17081==                         multipleinheritance: 813,600 bytes in 1,164 blocks
==17081==         suppressed: 244 bytes in 5 blocks
==17081== Reachable blocks (those to which a pointer was found) are not shown.
==17081== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==17081== 
==17081== Use --track-origins=yes to see where uninitialised values come from
==17081== For lists of detected and suppressed errors, rerun with: -s
==17081== ERROR SUMMARY: 78757 errors from 3237 contexts (suppressed: 2 from 2)
Comment 12 caulier.gilles 2025-01-02 08:27:04 UTC
Valgrind slow down the speed of the application and prevent race conditions. It mask the problem in fact. As the application run in a VM to catch all memory events/exceptions, the crash is not reproducible.

All sound like around the sqlite database. Did you activate the WAL option in digiKam/Setup/Database ? 

I hope that sqlite files are stored locally, not in the network.

Did you reproduce the dysfunction with the Linux AppImage bundle that we provide ?

Best regards

Gilles Caulier
Comment 13 frankoz95967943 2025-01-02 08:36:52 UTC
This run - turned on debug trace
export QT_LOGGING_RULES="digikam*=true"
$ digikam

Downloaded face management model files

Last lines from stdout console:
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826827855889928410-GVonwrCXQAA0hH5.jpg -all:all -icc_profile -o -.exv"
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4 -all:all -icc_profile -o -.exv"
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 20
digikam.metaengine: EXV chunk size: 9
digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded
digikam.metaengine: ExifTool complete "Load Chunks" for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826811401933128106-j-ecG7uWBt6xfmyv.mp4"
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Loading metadata with "ExifTool" backend from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826811401933128106-j-ecG7uWBt6xfmyv.mp4"
digikam.general: Trying to get thumbnail from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826811401933128106-j-ecG7uWBt6xfmyv.mp4" ( "video" )
digikam.general: Trying to load video preview with FFmpeg
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 10
digikam.metaengine: EXV chunk size: 6967
digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded
digikam.metaengine: ExifTool complete "Load Chunks" for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826827855889928410-GVonwrCXQAA0hH5.jpg"
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Loading metadata with "ExifTool" backend from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826827855889928410-GVonwrCXQAA0hH5.jpg"
digikam.dimg: "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826827855889928410-GVonwrCXQAA0hH5.jpg" : "JPEG" file identified
digikam.dimg.jpeg: Start of Image  ( 1 )
digikam.dimg.jpeg: JFIF APP0 marker: version 1.01, density 1x1  0  ( 1 )
digikam.dimg.jpeg: Miscellaneous marker 0xe2, length 6936  ( 1 )
digikam.dimg.jpeg: Define Quantization Table 0  precision 0  ( 1 )
digikam.dimg.jpeg: Define Quantization Table 1  precision 0  ( 1 )
digikam.dimg.jpeg: Start Of Frame 0xc2: width=1179, height=1057, components=3  ( 1 )
digikam.dimg.jpeg:     Component 1: 2hx2v q=0  ( 1 )
digikam.dimg.jpeg:     Component 2: 1hx1v q=1  ( 1 )
digikam.dimg.jpeg:     Component 3: 1hx1v q=1  ( 1 )
digikam.dimg.jpeg: Define Huffman Table 0x00  ( 1 )
digikam.dimg.jpeg:           1   0   2   3   1   1   0   0  ( 2 )
digikam.dimg.jpeg:           0   0   0   0   0   0   0   0  ( 2 )
digikam.dimg.jpeg: Define Huffman Table 0x01  ( 1 )
digikam.dimg.jpeg:           1   1   1   1   0   0   0   0  ( 2 )
digikam.dimg.jpeg:           0   0   0   0   0   0   0   0  ( 2 )
digikam.dimg.jpeg: Start Of Scan: 3 components  ( 1 )
digikam.dimg.jpeg:     Component 1: dc=0 ac=0  ( 1 )
digikam.dimg.jpeg:     Component 2: dc=1 ac=0  ( 1 )
digikam.dimg.jpeg:     Component 3: dc=1 ac=0  ( 1 )
digikam.dimg.jpeg:   Ss=0, Se=0, Ah=0, Al=1  ( 1 )
digikam.database: Adding new item "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826827855889928410-GVonwrCXQAA0hH5.jpg"
digikam.database: Scanning took 34 ms
digikam.database: Finishing took 9 ms
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/other_half/1826967571905531924-GVqwkgkXQAApmuy.jpg -all:all -icc_profile -o -.exv"
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 14
digikam.metaengine: EXV chunk size: 9
digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded
digikam.metaengine: ExifTool complete "Load Chunks" for "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4"
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Loading metadata with "ExifTool" backend from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4"
digikam.general: Trying to get thumbnail from "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4" ( "video" )
digikam.general: Trying to load video preview with FFmpeg
malloc(): invalid size (unsorted)
Aborted (core dumped)
(venv) [me@me-vostro3681 ~]$ 

"Did you activate the WAL option in digiKam/Setup/Database ? "
I dont think so 

"I hope that sqlite files are stored locally, not in the network."
All locally
"Did you reproduce the dysfunction with the Linux AppImage bundle that we provide ?"
Point me to product and i will try 

I will attach the last 3 files that digikam tried to process.
Comment 14 frankoz95967943 2025-01-02 08:37:58 UTC
Created attachment 177031 [details]
file priror to abend

file prior to abend
Comment 15 frankoz95967943 2025-01-02 08:42:44 UTC
Created attachment 177032 [details]
other file

other file
Comment 16 frankoz95967943 2025-01-02 09:28:16 UTC
There could be a problem with ffmpeg or the mp4 for file 1648598052658200576-FuD_L_ZWcAAoDnC.mp4
ffmpeg seems to be choking on it

$exiftool /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4
ExifTool Version Number         : 13.07
File Name                       : 1648598052658200576-FuD_L_ZWcAAoDnC.mp4
Directory                       : /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media
File Size                       : 44 kB
File Modification Date/Time     : 2024:12:29 22:29:34-05:00
File Access Date/Time           : 0000:00:00 00:00:00
File Inode Change Date/Time     : 2024:12:31 00:13:44-05:00
File Permissions                : -rw-------
File Type                       : MP4
File Type Extension             : mp4
MIME Type                       : video/mp4
Major Brand                     : MP4 Base Media v5
Minor Version                   : 0.2.0
Compatible Brands               : iso6, mp41
Movie Header Version            : 0
Create Date                     : 0000:00:00 00:00:00
Modify Date                     : 0000:00:00 00:00:00
Time Scale                      : 100
Duration                        : 8.00 s
Preferred Rate                  : 1
Preferred Volume                : 100.00%
Preview Time                    : 0 s
Preview Duration                : 0 s
Poster Time                     : 0 s
Selection Time                  : 0 s
Selection Duration              : 0 s
Current Time                    : 0 s
Next Track ID                   : 2
Track Header Version            : 0
Track Create Date               : 0000:00:00 00:00:00
Track Modify Date               : 0000:00:00 00:00:00
Track ID                        : 1
Track Duration                  : 8.00 s
Track Layer                     : 0
Track Volume                    : 0.00%
Matrix Structure                : 1 0 0 0 1 0 0 0 1
Image Width                     : 220
Image Height                    : 256
Media Header Version            : 0
Media Create Date               : 0000:00:00 00:00:00
Media Modify Date               : 0000:00:00 00:00:00
Media Time Scale                : 100
Media Duration                  : 8.00 s
Media Language Code             : und
Handler Type                    : Video Track
Handler Description             : Twitter-vork muxer
Graphics Mode                   : srcCopy
Op Color                        : 0 0 0
Compressor ID                   : avc1
Source Image Width              : 220
Source Image Height             : 256
X Resolution                    : 72
Y Resolution                    : 72
Bit Depth                       : 24
Pixel Aspect Ratio              : 1:1
Video Frame Rate                : 10
Media Data Size                 : 42240
Media Data Offset               : 1676
Image Size                      : 220x256
Megapixels                      : 0.056
Avg Bitrate                     : 42.2 kbps
Rotation                        : 0
(venv) [me@me-vostro3681 tweets_media]$ ffmpeg -i "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4" -ss 00:00:01.000 -vframes 1 output.png
ffmpeg started on 2025-01-02 at 04:12:49
Report written to "/tmp/ffmpeg-20250102-041249.log"
Log level: 48
ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.1 (GCC) 20240910
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libdvdnav --enable-libdvdread --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-vapoursynth --enable-version3 --enable-vulkan
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
  Duration: 00:00:08.00, start: 0.000000, bitrate: 43 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 220x256, 42 kb/s, SAR 1:1 DAR 55:64, 10 fps, 10 tbr, 100 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'output.png':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
    encoder         : Lavf61.7.100
  Stream #0:0(und): Video: png, rgb24(pc, gbr/unknown/unknown, progressive), 220x256 [SAR 1:1 DAR 55:64], q=2-31, 200 kb/s, 10 fps, 10 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
        encoder         : Lavc61.19.100 png
[image2 @ 0x58d4cd9fe980] The specified filename 'output.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x58d4cd9fe980] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
[out#0/image2 @ 0x58d4cd9c6dc0] video:69KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.10 bitrate=N/A speed= 7.1x    
(venv) [me@me-vostro3681 tweets_media]$ ffmpeg -i "/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4" -ss 00:00:01.000 -frames:v 1 output.png
ffmpeg started on 2025-01-02 at 04:14:01
Report written to "/tmp/ffmpeg-20250102-041401.log"
Log level: 48
ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.1 (GCC) 20240910
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libdvdnav --enable-libdvdread --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-vapoursynth --enable-version3 --enable-vulkan
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
  Duration: 00:00:08.00, start: 0.000000, bitrate: 43 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 220x256, 42 kb/s, SAR 1:1 DAR 55:64, 10 fps, 10 tbr, 100 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
File 'output.png' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'output.png':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
    encoder         : Lavf61.7.100
  Stream #0:0(und): Video: png, rgb24(pc, gbr/unknown/unknown, progressive), 220x256 [SAR 1:1 DAR 55:64], q=2-31, 200 kb/s, 10 fps, 10 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
        encoder         : Lavc61.19.100 png
[image2 @ 0x64b2de45c980] The specified filename 'output.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x64b2de45c980] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
[out#0/image2 @ 0x64b2de424dc0] video:69KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.10 bitrate=N/A speed=4.62x    
(venv) [me@me-vostro3681 tweets_media]$ ffmpeg -ss 00:00:01.00 -i /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4 -vf 'scale=320:320:force_original_aspect_ratio=decrease' -vframes 1 output.jpg
ffmpeg started on 2025-01-02 at 04:15:02
Report written to "/tmp/ffmpeg-20250102-041502.log"
Log level: 48
ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.1 (GCC) 20240910
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libdvdnav --enable-libdvdread --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-vapoursynth --enable-version3 --enable-vulkan
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
  Duration: 00:00:08.00, start: 0.000000, bitrate: 43 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 220x256, 42 kb/s, SAR 1:1 DAR 55:64, 10 fps, 10 tbr, 100 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'output.jpg':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
    encoder         : Lavf61.7.100
  Stream #0:0(und): Video: mjpeg, yuv420p(pc, progressive), 275x320 [SAR 1:1 DAR 55:64], q=2-31, 200 kb/s, 10 fps, 10 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
        encoder         : Lavc61.19.100 mjpeg
      Side data:
        cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[image2 @ 0x62f2c46378c0] The specified filename 'output.jpg' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x62f2c46378c0] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
[out#0/image2 @ 0x62f2c4603f80] video:6KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=    1 fps=0.0 q=3.0 Lsize=N/A time=00:00:00.10 bitrate=N/A speed=6.05x    



(venv) [me@me-vostro3681 tweets_media]$ cat "/tmp/ffmpeg-20250102-041249.log"
$ cat /tmp/ffmpeg-20250102-041249.log
ffmpeg started on 2025-01-02 at 04:12:49
Report written to "/tmp/ffmpeg-20250102-041249.log"
Log level: 48
Command line:
ffmpeg -i /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4 -ss 00:00:01.000 -vframes 1 output.png
ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.1 (GCC) 20240910
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libdvdnav --enable-libdvdread --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-lib  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Splitting the commandline.
Reading option '-i' ... matched as input url with argument '/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4'.
Reading option '-ss' ... matched as option 'ss' (start transcoding at specified time) with argument '00:00:01.000'.
Reading option '-vframes' ... matched as option 'vframes' (set the number of video frames to output) with argument '1'.
Reading option 'output.png' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Successfully parsed a group of options.
Parsing a group of options: input url /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4.
Successfully parsed a group of options.
Opening an input file: /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4.
[AVFormatContext @ 0x58d4cd9c2b80] Opening '/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4' for reading
[file @ 0x58d4cd9c32c0] Setting default whitelist 'file,crypto,data'
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] ISO: File Type Major Brand: iso5
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] Unknown dref type 0x206c7275 size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] Processing st: 0, edit list 0 - media time: 20, duration: 800
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] Offset DTS by 20 to make first pts zero.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] Setting codecpar->delay to 2 for stream st: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] Before avformat_find_stream_info() pos: 1676 bytes read:32768 seeks:0 nb_streams:1
[h264 @ 0x58d4cd9c5600] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c5600] Decoding VUI
[h264 @ 0x58d4cd9c5600] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c5600] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c5600] Decoding VUI
[h264 @ 0x58d4cd9c5600] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c5600] Decoding VUI
[h264 @ 0x58d4cd9c5600] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c5600] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c5600] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x58d4cd9c5600] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x58d4cd9c5600] Decoding VUI
[h264 @ 0x58d4cd9c5600] Format yuv420p chosen by get_format().
[h264 @ 0x58d4cd9c5600] Reinit context to 224x256, pix_fmt: yuv420p
[h264 @ 0x58d4cd9c5600] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c2b80] After avformat_find_stream_info() pos: 6135 bytes read:32768 seeks:0 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
  Duration: 00:00:08.00, start: 0.000000, bitrate: 43 kb/s
  Stream #0:0[0x1](und), 1, 1/100: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 220x256, 42 kb/s, SAR 1:1 DAR 55:64, 10 fps, 10 tbr, 100 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
Successfully opened the file.
Parsing a group of options: output url output.png.
Applying option ss (start transcoding at specified time) with argument 00:00:01.000.
Applying option vframes (set the number of video frames to output) with argument 1.
Successfully parsed a group of options.
Opening an output file: output.png.
[out#0/image2 @ 0x58d4cd9c6dc0] No explicit maps, mapping streams automatically...
[vost#0:0/png @ 0x58d4cd9fefc0] Created video stream from input stream 0:0
detected 16 logical cores
[h264 @ 0x58d4cd9c9c00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c9c00] Decoding VUI
[h264 @ 0x58d4cd9c9c00] nal_unit_type: 8(PPS), nal_ref_idc: 3
Successfully opened the file.
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> png (native))
[vost#0:0/png @ 0x58d4cd9fefc0] Starting thread...
[vf#0:0 @ 0x58d4cda53680] Starting thread...
[vist#0:0/h264 @ 0x58d4cd9fe800] [dec:h264 @ 0x58d4cd9ff840] Starting thread...
[in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c28c0] Starting thread...
Press [q] to stop, [?] for help
[h264 @ 0x58d4cd9c9c00] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c9c00] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0x58d4cd9c9c00] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0x58d4cd9c9c00] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0x58d4cd9c9c00] Decoding VUI
[h264 @ 0x58d4cd9c9c00] Format yuv420p chosen by get_format().
[h264 @ 0x58d4cd9c9c00] Reinit context to 224x256, pix_fmt: yuv420p
[h264 @ 0x58d4cd9c9c00] no picture 
[h264 @ 0x58d4cda48700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4cda48700] no picture 
[h264 @ 0x58d4cd9f9dc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4cda417c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4cde7b140] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4cdf5cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce03e540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce11ff40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4ce201940] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4ce2e3340] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce3c4d40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce4a6740] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4ce588140] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce669b40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce74b540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4ce82cf40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4cd9c9c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4cda48700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4cd9f9dc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4cda417c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4cde7b140] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4cdf5cb40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce03e540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[graph -1 input from stream 0:0 @ 0x772d08003f40] Setting 'video_size' to value '220x256'
[graph -1 input from stream 0:0 @ 0x772d08003f40] Setting 'pix_fmt' to value '0'
[graph -1 input from stream 0:0 @ 0x772d08003f40] Setting 'time_base' to value '1/100'
[graph -1 input from stream 0:0 @ 0x772d08003f40] Setting 'pixel_aspect' to value '1/1'
[graph -1 input from stream 0:0 @ 0x772d08003f40] Setting 'colorspace' to value '2'
[graph -1 input from stream 0:0 @ 0x772d08003f40] Setting 'range' to value '0'
[graph -1 input from stream 0:0 @ 0x772d08003f40] Setting 'frame_rate' to value '10/1'
[h264 @ 0x58d4ce11ff40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[graph -1 input from stream 0:0 @ 0x772d08003f40] w:220 h:256 pixfmt:yuv420p tb:1/100 fr:10/1 sar:1/1 csp:unknown range:unknown
[format @ 0x772d08004c40] Setting 'pix_fmts' to value 'rgb24|rgba|rgb48be|rgba64be|pal8|gray|ya8|gray16be|ya16be|monob'
[h264 @ 0x58d4ce201940] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce2e3340] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce3c4d40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[auto_scale_0 @ 0x772d08006940] w:iw h:ih flags:'' interl:0
[format @ 0x772d08004c40] auto-inserting filter 'auto_scale_0' between the filter 'Parsed_null_0' and the filter 'format'
[AVFilterGraph @ 0x772d08001000] query_formats: 5 queried, 9 merged, 3 already done, 0 delayed
[auto_scale_0 @ 0x772d08006940] picking rgb24 out of 10 ref:yuv420p alpha:0
[auto_scale_0 @ 0x772d08006940] w:220 h:256 fmt:yuv420p csp:unknown range:unknown sar:1/1 -> w:220 h:256 fmt:rgb24 csp:gbr range:pc sar:1/1 flags:0x00000004
[auto_scale_0 @ 0x772d08006940] [framesync @ 0x772d08006a68] Selected 1/100 time base
[auto_scale_0 @ 0x772d08006940] [framesync @ 0x772d08006a68] Sync level 1
[graph -1 input from stream 0:0 @ 0x772d08003f40] video frame properties congruent with link at pts_time: 0
[h264 @ 0x58d4ce4a6740] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4ce588140] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce669b40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4ce74b540] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4ce82cf40] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4cd9c9c00] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4cda48700] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
[h264 @ 0x58d4cd9f9dc0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4cda417c0] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 0
[h264 @ 0x58d4cde7b140] nal_unit_type: 1(Coded slice of a non-IDR picture), nal_ref_idc: 2
Output #0, image2, to 'output.png':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
    encoder         : Lavf61.7.100
  Stream #0:0(und), 0, 1/10: Video: png, rgb24(pc, gbr/unknown/unknown, progressive), 220x256 [SAR 1:1 DAR 55:64], q=2-31, 200 kb/s, 10 fps, 10 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
        encoder         : Lavc61.19.100 png
[out#0/image2 @ 0x58d4cd9c6dc0] Starting thread...
[out#0/image2 @ 0x58d4cd9c6dc0] sq: send 0 ts 0.1
[out#0/image2 @ 0x58d4cd9c6dc0] sq: 0 frames_max 1 reached
[out#0/image2 @ 0x58d4cd9c6dc0] sq: finish 0; head ts 0.1
[out#0/image2 @ 0x58d4cd9c6dc0] sq: finish queue
[out#0/image2 @ 0x58d4cd9c6dc0] sq: receive 0 ts 0.1 queue head 0 ts 0.1
[vf#0:0 @ 0x58d4cda53680] All consumers returned EOF
[vost#0:0/png @ 0x58d4cd9fefc0] Encoder thread received EOF
[out#0/image2 @ 0x58d4cd9c6dc0] sq: 0 EOF
[out#0/image2 @ 0x58d4cd9c6dc0] sq: finish queue
[vf#0:0 @ 0x58d4cda53680] Terminating thread with return code 0 (success)
[vist#0:0/h264 @ 0x58d4cd9fe800] [dec:h264 @ 0x58d4cd9ff840] Decoder returned EOF, finishing
[vist#0:0/h264 @ 0x58d4cd9fe800] [dec:h264 @ 0x58d4cd9ff840] Terminating thread with return code 0 (success)
[vist#0:0/h264 @ 0x58d4cd9fe800] All consumers of this stream are done
[in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c28c0] All consumers are done
[in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c28c0] Terminating thread with return code 0 (success)
[vost#0:0/png @ 0x58d4cd9fefc0] Terminating thread with return code 0 (success)
[image2 @ 0x58d4cd9fe980] The specified filename 'output.png' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x58d4cd9fe980] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
[image2 @ 0x58d4cd9fe980] Opening 'output.png' for writing
[file @ 0x772c94000e80] Setting default whitelist 'file,crypto,data'
[AVIOContext @ 0x772c94041040] Statistics: 70402 bytes written, 0 seeks, 1 writeouts
[out#0/image2 @ 0x58d4cd9c6dc0] All streams finished
[out#0/image2 @ 0x58d4cd9c6dc0] Terminating thread with return code 0 (success)
[out#0/image2 @ 0x58d4cd9c6dc0] Output file #0 (output.png):
[out#0/image2 @ 0x58d4cd9c6dc0]   Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (70402 bytes); 
[out#0/image2 @ 0x58d4cd9c6dc0]   Total: 1 packets (70402 bytes) muxed
[out#0/image2 @ 0x58d4cd9c6dc0] video:69KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.10 bitrate=N/A speed= 7.1x    
[in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c28c0] Input file #0 (/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4):
[in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c28c0]   Input stream #0:0 (video): 46 packets read (35078 bytes); 20 frames decoded; 0 decode errors; 
[in#0/mov,mp4,m4a,3gp,3g2,mj2 @ 0x58d4cd9c28c0]   Total: 46 packets (35078 bytes) demuxed
[AVIOContext @ 0x58d4cd9ccfc0] Statistics: 43916 bytes read, 0 seeks
(venv) [me@me-vostro3681 ~]$ 

If i change ffmpeg command i dont get the error - the change is "-update true"
https://superuser.com/questions/1792249/ffmpeg-suppress-warning-when-writing-to-a-single-image
https://video.stackexchange.com/questions/36766/extracting-a-screenshot-from-a-video-using-ffmpeg


(venv) [me@me-vostro3681 tweets_media]$ ffmpeg -ss 00:00:01.00 -i /home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4 -vf 'scale=320:320:force_original_aspect_ratio=decrease' -vframes 1 -update true output.jpg
ffmpeg started on 2025-01-02 at 04:25:06
Report written to "/tmp/ffmpeg-20250102-042506.log"
Log level: 48
ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.1 (GCC) 20240910
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libdvdnav --enable-libdvdread --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgsm --enable-libharfbuzz --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librav1e --enable-librsvg --enable-librubberband --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-vapoursynth --enable-version3 --enable-vulkan
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/me/Downloads/Twitter_archive/twitter-2024-12-29-d55ae212d1a49b2307ab446026a73ee26370e65f7bc6e6964f2e15b58f432620/data/tweets_media/1648598052658200576-FuD_L_ZWcAAoDnC.mp4':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
  Duration: 00:00:08.00, start: 0.000000, bitrate: 43 kb/s
  Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 220x256, 42 kb/s, SAR 1:1 DAR 55:64, 10 fps, 10 tbr, 100 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
File 'output.jpg' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
Output #0, image2, to 'output.jpg':
  Metadata:
    major_brand     : iso5
    minor_version   : 512
    compatible_brands: iso6mp41
    encoder         : Lavf61.7.100
  Stream #0:0(und): Video: mjpeg, yuv420p(pc, progressive), 275x320 [SAR 1:1 DAR 55:64], q=2-31, 200 kb/s, 10 fps, 10 tbn (default)
      Metadata:
        handler_name    : Twitter-vork muxer
        vendor_id       : [0][0][0][0]
        encoder         : Lavc61.19.100 mjpeg
      Side data:
        cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[out#0/image2 @ 0x5642f8301000] video:6KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
frame=    1 fps=0.0 q=3.0 Lsize=N/A time=00:00:00.10 bitrate=N/A speed=3.67x
Comment 17 caulier.gilles 2025-01-02 10:36:14 UTC
yes, ffmpeg needs love with the video file.

I recommend to report this problem to the ffmpeg project as UPSTREAM bug...

Best

Gilles Caulier
Comment 18 frankoz95967943 2025-01-02 10:38:36 UTC
(In reply to caulier.gilles from comment #17)
> yes, ffmpeg needs love with the video file.
> 
> I recommend to report this problem to the ffmpeg project as UPSTREAM bug...
> 
> Best
> 
> Gilles Caulier

the fix is use ffmpeg a little different --update true option.

Is it possible to change digikam to handle this problem a little more gracefully - and/or use ffmpeg with --update true option?
From what i've gathered in forums the fix is the --update true solves the issue.
Comment 19 Maik Qualmann 2025-01-03 07:25:37 UTC
You are already using FFmpeg-7.1, I think we haven't tested our VideoThumbnailer with that version yet. I will test it this weekend.
Even QtMultimedia I think recommends FFmpeg-7.0.2 for Qt-6.8.X at the moment.

Maik
Comment 20 caulier.gilles 2025-01-03 08:36:27 UTC
hi Maik,

yes, no test with ffmpeg 7 for the moment here.

yes Qt 6.8.1 have been tested with ffmpeg 7.0.2, but previous versions no.

All bundles uses ffmpeg 6.x series.

Gilles
Comment 21 Maik Qualmann 2025-01-03 21:42:41 UTC
Git commit b813e82e5d2daaeb9bdf9f2f757060008db94e7c by Maik Qualmann.
Committed on 03/01/2025 at 21:42.
Pushed by mqualmann into branch 'master'.

fix FFmpeg 7 deprecated warning for avcodec_close()

M  +10   -0    core/libs/threadimageio/video/videothumbdecoder.cpp

https://invent.kde.org/graphics/digikam/-/commit/b813e82e5d2daaeb9bdf9f2f757060008db94e7c
Comment 22 Maik Qualmann 2025-01-03 21:50:41 UTC
Apart from the now fixed deprecated compile warning for FFmpeg 7, I can't detect any other malfunctions. Your video samples are processed without any problems.

I don't know how Manjaro handles the FFmpeg story, with openSUSE the official FFmpeg packages are just almost useless dummies because of licenses. You have to add a special repository to get the non-free FFmpeg packages. Is it possible that it's similar with Manjaro to get functional FFmpeg packages?

Maik
Comment 23 frankoz95967943 2025-01-08 13:50:12 UTC
I am not sure how to do that.
Comment 24 caulier.gilles 2025-03-15 15:32:17 UTC
Hi,

digiKam 8.6.0 is just released:

https://www.digikam.org/news/2025-03-15-8.6.0_release_announcement/

Problem still exists with this version?

Thanks in advance

Gilles Caulier
Comment 25 caulier.gilles 2025-04-12 06:48:33 UTC
frankoz95967943, any feedback here using digiKam AppImage 8.7.0 pre-release fully rebuilt from scratch recently ?

https://files.kde.org/digikam/