If I run it as root it runs for a few seconds and responds "Killed"
But; something suspicious is happening because I just went to check the exact output and I got this: $ sudo totem-video-thumbnailer -v sample.mp4 sample.png TotemVideoThumbnailer-Message: 17:38:03.906: Initialised libraries, about to create video widget TotemVideoThumbnailer-Message: 17:38:03.908: setting URI file:///home/aaron/tmp/sample.mp4 TotemVideoThumbnailer-Message: 17:38:03.908: Video widget created TotemVideoThumbnailer-Message: 17:38:03.908: About to open video file OpenBLAS blas_thread_init: pthread_create failed for thread 7 of 16: Resource temporarily unavailable OpenBLAS blas_thread_init: RLIMIT_NPROC 125184 current, 125184 max So I am a liar now. But this works: $ sudo totem-video-thumbnailer -vl sample.mp4 sample.png TotemVideoThumbnailer-Message: 17:40:03.840: Initialised libraries, about to create video widget TotemVideoThumbnailer-Message: 17:40:03.842: setting URI file:///home/aaron/tmp/sample.mp4 TotemVideoThumbnailer-Message: 17:40:03.842: Video widget created TotemVideoThumbnailer-Message: 17:40:03.842: About to open video file TotemVideoThumbnailer-Message: 17:40:03.948: Checking whether file has cover TotemVideoThumbnailer-Message: 17:40:03.949: Opened video file: 'sample.mp4' TotemVideoThumbnailer-Message: 17:40:03.949: About to seek to 0.333333 TotemVideoThumbnailer-Message: 17:40:03.978: About to get frame for iter 0 TotemVideoThumbnailer-Message: 17:40:03.985: Frame for iter 0 is interesting TotemVideoThumbnailer-Message: 17:40:03.988: Saving captured screenshot to sample.png -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to totem in Ubuntu. https://bugs.launchpad.net/bugs/1988100 Title: Video thumbnails fail to generate Status in totem package in Ubuntu: New Bug description: totem-video-thumbnailer appears to be crashing and so no video thumbnails are generated. This is what happens when I run it manually: $ totem-video-thumbnailer -v sample.mp4 sample.png TotemVideoThumbnailer-Message: 11:08:44.734: Initialised libraries, about to create video widget TotemVideoThumbnailer-Message: 11:08:44.739: setting URI file:///home/aaron/tmp/sample.mp4 TotemVideoThumbnailer-Message: 11:08:44.739: Video widget created TotemVideoThumbnailer-Message: 11:08:44.739: About to open video file (totem-video-thumbnailer:416380): GStreamer-WARNING **: 11:08:44.806: failed to create thread: Error creating thread: Resource temporarily unavailable (totem-video-thumbnailer:416380): GStreamer-WARNING **: 11:08:44.808: failed to create thread: Error creating thread: Resource temporarily unavailable terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted Passing the -l flag causes it to work fine. Also, in other tests, which I fail to replicate now, I saw this error: OpenBLAS blas_thread_init: RLIMIT_NPROC 125184 current, 125184 max As a workaround I have installed ffmpegthumbnailer and $ln -s /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer ~/.local/share/thumbnailers/ffmpegthumbnailer.thumbnailer This has things working for me, but does not really address the problem. ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: totem 42.0-1ubuntu1 ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46 Uname: Linux 5.15.0-47-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.1 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Tue Aug 30 10:53:06 2022 InstallationDate: Installed on 2021-09-24 (339 days ago) InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420) SourcePackage: totem UpgradeStatus: Upgraded to jammy on 2022-07-19 (41 days ago) modified.conffile..etc.default.apport: [modified] mtime.conffile..etc.default.apport: 2021-09-27T12:02:48.414586 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1988100/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp