! 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 !
tumbler + ffmpegthumbnailer + gstreamer0.10 = no video tumbnails + tumblerd f...
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Tumbler
Component:
gst-thumbnailer

Comments

Description Marek Kozłowski 2012-01-05 22:14:42 CET
I experience it under Arch although the same happened the lat time I use Gentoo. I remember it worked some time ago. I'm not sure but I suppose it changed after upgrading gstreamer...

$ rm ~/.config/Thunar ~/.cache/Thunar ~/.thumbnails
# pacman -S tumbler ffmpegthumbnailer gstreamer0.10

No video tumbnails for any video files.

If I insert my external USB HDD /usr/lib/tumbler-1/tumblerd seems to freeze: `lsof' shows that all video files in open directories of that HDD are open by it. Therefore no normal dismounting works. I have to `kill tumblerd' each time I want to safely eject the storage.

Currently I'm using:
- tumbler-0.1.23-1  
- ffmpegthumbnailer-2.0.7-2
- gstreamer0.10-0.10.35-1
Comment 1 Lionel Le Folgoc 2012-02-04 16:04:17 CET
Check that you have the required gstreamer plugins to support your video files (and gstreamer0.10-ffmpeg might help too).
Comment 2 Marek Kozłowski 2012-02-05 09:32:33 CET
(In reply to comment #1)
> Check that you have the required gstreamer plugins to support your video files
> (and gstreamer0.10-ffmpeg might help too).

I suppose I do.
gstreamer0.10-ffmpeg makes no difference :-(
Comment 3 misc 2012-05-02 13:29:51 CEST
I might have had something related to this (Arch Linux, marlin instead of thunar): tumbler would trip over h.264 video files that are encoded in 10-bit (ordinary 8-bit was fine), halting indefinitely while sometimes consuming a lot of resources.

For me the culprit turned out to be the gstreamer plugin since the bug still occurred with only that enabled via ./configure. So right now I use only the one for ffmpegthumbnailer and haven't had any issues since.

I did have to recompile the latter with the following patch though, as 2.0.7-2 appears to access ffmpeg via deprecated (faulty/removed?) API: https://code.google.com/p/ffmpegthumbnailer/source/detail?spec=svn241&r=241

Also, for some reason I had to use AUR's ffmpeg-git instead of Extra's ffmpeg; even with said patch ffmpegthumbnailer's ./configure would fail with the latter.
Comment 4 Klaus Flittner 2012-05-21 21:41:39 CEST
Created attachment 4447 
gst-thumbnailer: close file on error

I am experiencing the same issue with gst-thumbnailer not closing the files it cannot generate a thumbnail. The attached patch fixes this problem for me. I am not sure if you are really required to set the state to NULL before unrefing playbin or if this is a bug in gstreamer.
Comment 5 Lionel Le Folgoc 2012-05-22 20:14:43 CEST
The gst playbin/playbin2 test cases do that too, so I guess it's expected. ;-)
Comment 6 Brad Hermanson 2012-08-10 08:13:58 CEST
I just wanted to add that I'm experiencing this same issue on Slackware -current with Xfce 4.10. Slackware 14.0 is soon to ship, and this is causing issues with, e.g. unmounting flash drives that have videos on them.
Comment 7 Nick Schermer editbugs 2012-12-08 22:58:29 CET
Wrote better gstreamer thumbnailer that properly closes streams (i hope).

Bug #8303

Reported by:
Marek Kozłowski
Reported on: 2012-01-05
Last modified on: 2012-12-08

People

Assignee:
Jannis Pohlmann
CC List:
5 users

Version

Version:
unspecified

Attachments

gst-thumbnailer: close file on error (714 bytes, patch)
2012-05-21 21:41 CEST , Klaus Flittner
no flags

Additional information