! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
gst-thumbnailer doesn't produce any thumbnail
Status:
RESOLVED: FIXED
Product:
Tumbler
Component:
General

Comments

Description Lionel Le Folgoc 2011-09-22 20:34:13 CEST
Hi,

With tumbler 0.1.22, I disabled the ffmpeg thumbnailer at configure time and used the gstreamer one instead, but it won't produce thumbnails for any video (they were correctly generated with ffmpeg-thumbnailer)... :(

I don't know what's wrong, I can't find any sign of a crash.

dbus traffic for pdf (similar for pictures):
=====
method call sender=:1.18 -> dest=org.freedesktop.thumbnails.Thumbnailer1 serial=17 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=GetSupported
method call sender=:1.18 -> dest=org.freedesktop.thumbnails.Thumbnailer1 serial=18 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Queue
   array [
      string "file:///home/mrpouit/T%C3%A9l%C3%A9chargement/LINUX%20System%20Call%20Quick%20Reference.pdf"
      string "file:///home/mrpouit/T%C3%A9l%C3%A9chargement/q_s2866_100.pdf"
   ]
   array [
      string "application/pdf"
      string "application/pdf"
   ]
   string "normal"
   string "foreground"
   uint32 0
signal sender=:1.81 -> dest=:1.18 serial=7 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Started
   uint32 0
signal sender=:1.81 -> dest=:1.18 serial=8 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Ready
   uint32 0
   array [
      string "file:///home/mrpouit/T%C3%A9l%C3%A9chargement/LINUX%20System%20Call%20Quick%20Reference.pdf"
   ]
signal sender=:1.81 -> dest=:1.18 serial=9 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Ready
   uint32 0
   array [
      string "file:///home/mrpouit/T%C3%A9l%C3%A9chargement/q_s2866_100.pdf"
   ]
signal sender=:1.81 -> dest=:1.18 serial=10 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Finished
   uint32 0
=====

And for two random video files:
=====
method call sender=:1.18 -> dest=org.freedesktop.thumbnails.Thumbnailer1 serial=33 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=GetSupported
method call sender=:1.18 -> dest=org.freedesktop.thumbnails.Thumbnailer1 serial=34 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Queue
   array [
      string "file:///home/mrpouit/Vid%C3%A9os/Jean%20Yanne.mp4"
      string "file:///home/mrpouit/Vid%C3%A9os/Le%20temps%20ne%20fait%20rien%20%C3%A0%20l'affaire.flv"
   ]
   array [
      string "video/mp4"
      string "video/x-flv"
   ]
   string "normal"
   string "foreground"
   uint32 0
signal sender=:1.81 -> dest=:1.18 serial=66 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Started
   uint32 9
signal sender=:1.81 -> dest=:1.18 serial=67 path=/org/freedesktop/thumbnails/Thumbnailer1; interface=org.freedesktop.thumbnails.Thumbnailer1; member=Finished
   uint32 9
=====

The "Ready" reply with the file uri is never emitted.

Any idea on how to easily debug what happens?
Thanks.
Comment 1 Lionel Le Folgoc 2011-09-22 20:41:43 CEST
Oh, actually, the second log has "uint32 9" (instead of 0) for the calls, so I guess it means something went wrong. ;-)
Comment 2 Sam Thursfield 2011-09-26 19:05:13 CEST
Created attachment 3884 
Patch to actually generate thumbnail

Turns out the GStreamer pipeline is never being started, so there's not much change of a thumbnail being generated. Fix attached.
Comment 3 Jannis Pohlmann editbugs 2011-09-26 19:30:52 CEST
I wonder how this ever worked for Ross and myself before. Thanks for the patch Sam, I already applied it to master:

commit aab140d868c1ebedbb04bbd65deddf94dc21787b
Author: Jannis Pohlmann <jannis@xfce.org>
Date:   Mon Sep 26 19:28:51 2011 +0200

    Fix generation of video images by starting the pipeline (bug #7996).
    
    Patch provided by Sam Thursfield<ssssam@gmail.com>.
Comment 4 Mark Trompell 2011-09-27 09:39:35 CEST
*** Bug 7994 has been marked as a duplicate of this bug. ***
Comment 5 Jannis Pohlmann editbugs 2011-09-27 10:47:03 CEST
@Sam I just noticed that bugzilla strips of the git patch header when clicking on the patch rather than on "[Details]". Next time I'll make sure you're also the author of the commit.
Comment 6 Christoph Wickert editbugs 2011-10-17 01:54:44 CEST
*** Bug 8040 has been marked as a duplicate of this bug. ***

Bug #7996

Reported by:
Lionel Le Folgoc
Reported on: 2011-09-22
Last modified on: 2011-10-17
Duplicates (2):
  • 7994 tumbler crashes when using gst-thumbnailer
  • 8040 tumbler-0.1.22-3.fc16: Process /usr/lib/tumbler-1/tumblerd was killed by signal 6

People

Assignee:
Jannis Pohlmann
CC List:
2 users

Version

Version:
0.1.22

Attachments

Patch to actually generate thumbnail (840 bytes, patch)
2011-09-26 19:05 CEST , Sam Thursfield
no flags

Additional information