[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#973942: nemo: thumbnailing doesn't work for all kinds of videos



Control: reassign -1 totem-common
Control: severity -1 important


Hey.


I think I found the reason for this...


I tried with various further debug options:

$ /usr/bin/totem-video-thumbnailer  -s 256 file:///home/calestyo/test.mp4 foo -v
TotemVideoThumbnailer-Message: 06:45:48.757: Initialised libraries, about to create video widget
TotemVideoThumbnailer-Message: 06:45:48.763: setting URI file:///home/calestyo/test.mp4
TotemVideoThumbnailer-Message: 06:45:48.763: Video widget created
TotemVideoThumbnailer-Message: 06:45:48.763: About to open video file
TotemVideoThumbnailer-Message: 06:45:49.000: Checking whether file has cover
TotemVideoThumbnailer-Message: 06:45:49.000: Opened video file: 'file:///home/calestyo/test.mp4'
TotemVideoThumbnailer-Message: 06:45:49.000: About to seek to 0,333333
TotemVideoThumbnailer-Message: 06:45:49.020: About to get frame for iter 0

(totem-video-thumbnailer:401457): GLib-ERROR **: 06:45:49.023: ../../../glib/gmem.c:112: failed to allocate 1244311 bytes
Trace/breakpoint trap

$ /usr/bin/totem-video-thumbnailer -v -s 256 file:///home/calestyo/test.mp4 foo
TotemVideoThumbnailer-Message: 06:39:48.944: Initialised libraries, about to create video widget
TotemVideoThumbnailer-Message: 06:39:48.950: setting URI file:///home/calestyo/test.mp4
TotemVideoThumbnailer-Message: 06:39:48.951: Video widget created
TotemVideoThumbnailer-Message: 06:39:48.951: About to open video file
TotemVideoThumbnailer-Message: 06:39:49.197: Checking whether file has cover
TotemVideoThumbnailer-Message: 06:39:49.197: Opened video file: 'file:///home/calestyo/test.mp4'
TotemVideoThumbnailer-Message: 06:39:49.197: About to seek to 0,333333
TotemVideoThumbnailer-Message: 06:39:49.211: About to get frame for iter 0

(totem-video-thumbnailer:400083): GStreamer-WARNING **: 06:39:49.213: failed to create thread: Error creating thread: Resource temporarily unavailable


$ /usr/bin/totem-video-thumbnailer  -s 256 file:///home/calestyo/test.mp4 foo -v --gst-debug-level=
TotemVideoThumbnailer-Message: 06:46:18.672: Initialised libraries, about to create video widget
TotemVideoThumbnailer-Message: 06:46:18.679: setting URI file:///home/calestyo/test.mp4
TotemVideoThumbnailer-Message: 06:46:18.679: Video widget created
TotemVideoThumbnailer-Message: 06:46:18.679: About to open video file
TotemVideoThumbnailer-Message: 06:46:18.917: Checking whether file has cover
TotemVideoThumbnailer-Message: 06:46:18.918: Opened video file: 'file:///home/calestyo/test.mp4'
TotemVideoThumbnailer-Message: 06:46:18.918: About to seek to 0,333333
TotemVideoThumbnailer-Message: 06:46:18.929: About to get frame for iter 0

***MEMORY-ERROR***: totem-video-thumbnailer[401516]: GSlice: failed to allocate 4080 bytes (alignment: 4096): Cannot allocate memory

Aborted



So it seems there is some issue with creating new threads and not
enough memory being available for that.

With these errors I found:
https://blog.frehi.be/2021/06/19/missing-video-thumbnails-in-nautilus-in-debian-bullseye/


Adding a "-l" to the Exec= line in
/usr/share/thumbnailers/totem.thumbnailer indeed fixes the issue.

I haven't checked now, whether removing libopenblas0-pthread
respectively switching to another one, also fixes it, as described in
the chat.


Since the bug is rather in totem, reassigning it there.


Cheers,
Chris.


Reply to: