Ffmpegthumbnailer is a lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files.

ffmpegthumbnailer logoIf you haven’t heard then “ffmpegthumbnailer” is an awesome little tool that uses the faster and more efficient FFmpeg multimedia library to help Nautilus file manager create video thumbnails faster than Totem does.

Now Totem is based on Gstreamer framework and I don’t know whether it’s Totem or Gstreamer to blame here but you can make Nautilus create video thumbnails under GNU/Linux (Ubuntu in this case) a hell lot faster than Totem does!.

But here’s the thing. The method that was used in Ubuntu 11.04 to replace Totem’s entries with ffmpegthumbnailer don’t work in Ubuntu 11.10 since it’s based on the Nautilus 3.0. This is because Nautilus 3.0 is a part of Gnome Shell desktop and the new Gnome Shell uses a different “registry” database manager called “Dconf-editor” which replaced the previous “Gconf-editor” and was used in Ubuntu 11.04 and below versions.

But by using a simple trick (won’t take more than few seconds!) we can make it work under Ubuntu 11.10.
1. First install ffmpegthubmnailer in Ubuntu 11.10 Oneiric Ocelot by using the below command.
sudo apt-get install ffmpegthumbnailer
2. Now just run Nautilus as the root user. For that use the below command in your Terminal window.
gksudo nautilus
3. Now using Nautilus, go to the below folder path…
/usr/share/thumbnailers
nautilus-thumbnailers-folder
Copy the selected file to somewhere “safe”, just in case.

4. Copy the file called “totem.thumbnailer” to your “Home” folder as a safety precaution.

5. Now I’ve simply created (replaced the totem-thumbnailer with ffmpeg actually, no magic, just changed two lines of codes) a new file by the same name but makes sure to launch ffmpegthumbnailer instead of totem. First download it from here.

6. It’s compressed (otherwise I couldn’t upload it to this site). So extract the file inside it (named: “totem.thumbnailer”) and just copy and paste that file into to the above mentioned “/usr/share/thumbnailers” folder and when asked, simply replace the original one.
If you’ve closed the file manager then use the command in the Step 2 to re-open it. Otherwise you won’t be able to replace this file.
replace-the-file
Now hit the magic button! = “Replace”

7. Now type the below command to restart nautilus and ffmpegthubmnailer should generate video thumbnails like crazy instead of Totem!.
nautilus -q
If however you want FFmpegthumbnailer to create all the thumbnails from scratch (including “failed” thumbnails, etc) then simply go to “.thumbnails” folder which is in your “Home” folder (hidden by default). Simply delete all the contents inside the folders named: “fail”, “normal” and “large”. That’s it.
video-thumbnails-in-nautilus
Forgive my poor taste in music but hey!, it works ;-)
Now whenever you enter a folder where previously you had Totem created video thumbnails… now ffmpegthumbnailer will start creating them all over again, with speed of course
 
F.A.Q.
  • How can I use ffmpegthumbnailer in Nautilus?
Change the command value of the GConf key for each mimetype you want to assign to ffmpegthumbnailer. The keys are located in: /desktop/gnome/thumbnailers/ . So to use ffmpegthumbnailer to create thumbnails for avi files change the command value of /desktop/gnome/thumbnailers/video@x-avi to:
/usr/bin/ffmpegthumbnailer -s %s -i %i -o %o -c png -f -t 10




  • How can I use ffmpegthumbnailer in Thunar?


To use ffmpegthumbnailer in combination with thunar, just install the thunar-thumbnailer packages from your distribution or from http://goodies.xfce.org/projects/thunar-plugins/thunar-thumbnailers. This will properly register ffmpegthumbnailer with thunar.
  • How can I use ffmpegthumbnailer in KDE?
Install the kffmpegthumbnailer package available from this website.

Custom Search
 


If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog:
rss_trappola
Share on Google Plus

About Hugo Repetto

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Gadget

This content is not yet available over encrypted connections.

My Favorites