Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Totem never works right in my experience. My latest problem is that totem will not display some video Thumbnails. I fixed the problem by installing ffmpegthumbnailer and using this to generate thumbnails. But unfortunately it appears to have only fixed the problem within Nautilus. Shotwell, it seems, is still relying on Totem for its thumbnails because all the same videos that Totem wouldn't show Thumbnails for, Shotwell still won't either--even though Nautilus is now showing thumbnails for them because of ffmpegthumbnailer.

How do I get Shotwell to use ffmpegthumbnailer instead of Totem for video thumbnails?

share|improve this question
    
Which version of Ubuntu are you on? –  Thomas W. Jun 21 '12 at 17:08

2 Answers 2

Shotwell 0.9.x uses Totem for video thumbnailing, but that was dropped as of Shotwell 0.10 in favor of shotwell-video-thumbnailer. Chances are, upgrading to a more recent version will solve your problem.

As for ffmpegthumbnailer, you'd have to edit the Shotwell code to add support for it. The place to look would be in VideoSupport.vala in the thumbnailer() method. That said, duplicate detection relies on video thumbnails -- something to keep in mind if you have an existing Shotwell database.

share|improve this answer

This question has been around for some time, but it does also matter today, because some Linux distributions have licensing issues on this and it might be easier to use ffmpeg. I found, that renaming

/usr/bin/shotwell-video-thumbnailer to /usr/bin/shotwell-video-thumbnailer-original and creating a new file

/usr/bin/shotwell-video-thumbnailer with:

#!/bin/sh
# ffmpegthumbnailer -i "$*" -c png -s320-1 -o-
ffmpeg -threads 2 -loglevel error -y -skip_frame noref -ss 00:00:10 -i "$*"  -
filter_complex "thumbnail=100,scale=720:-1" -frames:v 1 -f image2 -

in it and making that executable by calling chmod +x /usr/bin/shotwell-video-thumbnailer does the trick.

You can either use ffmpegthumbnailer or the ffmpeg line depending on your personal preferences by moving the # from before ffmpegthumbnailer to before ffmpeg . I found ffmpeg to be faster and that's what the script in it's current form runs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.