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
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.
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!.
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
- How can I use ffmpegthumbnailer in Nautilus?
/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?
If you liked this article, subscribe to the feed by clicking the image below to keep informed about new contents of the blog: