If 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.
2. Now just run Nautilus as the root user. For that use the below command in your Terminal window.
3. Now using Nautilus, go to the below folder path…
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!.
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.
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.
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.
Do you consider this article interesting? Share it on your network of Twitter contacts, on your Facebook wall or simply press "+1" to suggest this result in searches in Google, Linkedin, Instagram or Pinterest. Spreading content that you find relevant helps this blog to grow. Thank you!
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
gksudo nautilus
/usr/share/thumbnailers
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!.
nautilus -q
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?
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:
0 comments:
Post a Comment