I have Ubuntu 16.04 LTS and I've manually installed Ubuntu 18.04 LTS. Everything looks fine except video thumbnails. How to solve this?
I have Ubuntu 16.04 LTS and I've manually installed Ubuntu 18.04 LTS. Everything looks fine except video thumbnails. How to solve this?
Install FFMPEG Thumbnailer-
Then close and reopen file manager. Thumbnails for most video files should generate now.
However, if it's still not working then open file manager, go to your home folder if you're not already there (Home folder is usually the folder which contains Downloads, Documents, Photos etc folders).
Press Ctrl+H, enter into the folder named .cache. Then enter in the folder thumbnails.
Delete everything in there. Restart your PC.
I have tried HattinGokbori87's solution but it failed, and I found another way to solve it.
First I installed the HattinGokbori87's suggested package like this:
Then I restarted the computer but I still could not see the video's thumbnails in the file manager, so I tried to install another package like this:
Then cleaned up the directory like this:
Re-opened the Ubuntu file manager, it works!
Refer to this article if your Ubuntu 18.04 thumbnails still do not work.
Update: For Ubuntu 20.04 this method still applies (I just upgraded my computer operating system from Ubuntu 19.10 to Ubuntu 20.04).
Install following packages
ffmpeg,ffmpegthumbnailer,gstreamer0.10-ffmpeg
Then edit the following file with respective content
just paste the following lines
and finally restart your machine and see.
I think there's a bug either in
totem-video-thumbnailer
orGStreamer
.When you search for solutions, many of them suggest
ffmpegthumbnailer
.I can't say whether it's a better, or a worse thumbnailer, but installing it did work for me.
The only caveat is that you seem to have to configure configure things to override the system default. I couldn't find what the default processing order is for conflicting thumbnailers in the same directory, but thumbnailers in
~/.local/share/thumbnailers
appear to take precedence over/usr/share/thumbnailers
Creating a link solved my problem:
ln -s /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer ~/.local/share/thumbnailers/ffmpegthumbnailer.thumbnailer
A couple of notes:
Here is an excellent answer with a swag of background about how thumbnailing hangs together
You may quit nautilus/nemo by running them with the -q flag
Deleting the contents of
~/.cache/thumbnails
causes thumbnails to be rebuilt the next time they are neededI followed HattinGokbori87's instructions above, that is:
Then delete thumbnail cache and restart
This fixed my issue, which was that only some mp4 files have thumbnails. However, it also removed existing mpeg thumbnails.
So, I remove ffmpegthumbnailer:
Then delete thumbnail cache and restart
And it works, I guess all I really needed to do was delete the cache and restart.