You are not logged in.

#1 2023-11-26 08:54:56

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

[SOLVED] [Nautilus] no thumbnail created for avi files

Hello,
I have an issue on a fresh installation, in Nautilus (Gnome Shell / Wayland) I have no preview on avi video files.
all others seems to be ok from what I can see.
I installed ffmpegthumbnailer following this doc https://wiki.archlinux.org/title/File_m … _Konqueror but avi files are not thumbnailed.
I tried to manually generate a thumbnail with ffmpegthumbnailer on a failed file and, as expected, it was ok.
Am I missing any library/binary/configuration?
Thanks for your help

Last edited by farnsworth (2023-11-26 20:51:14)

Offline

#2 2023-11-26 10:44:14

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [SOLVED] [Nautilus] no thumbnail created for avi files

Run:

xdg-mime query filetype FILE

on one of your avi files. I get "video/vnd.avi". This mimetype isn't listed on the MimeType line of /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer.

Create the directory ~/.local/share/thumbnailers and copy over the ffmpegthumbnailer.thumbnailer file to this directory, and append ";video/vnd.avi" to the end of the MimeType line. Restart nautilus and it should work again.

Offline

#3 2023-11-26 18:38:09

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

Re: [SOLVED] [Nautilus] no thumbnail created for avi files

you're right, thanks for your help, now it's ok.
Do you have any idea why this is not included in the package? maybe I'm getting too old and avi files are also now big_smile

Offline

#4 2023-11-26 20:29:48

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [SOLVED] [Nautilus] no thumbnail created for avi files

If I had to guess, something got updated (shared-mime-info or file) and avi mime recognition changed. The ffmpegthumbnailer should probably be updated.

And here it is. Changed in shared-mime-info.

Offline

#5 2023-11-26 20:33:10

yochananmarqos
Member
Registered: 2020-02-05
Posts: 217

Re: [SOLVED] [Nautilus] no thumbnail created for avi files

...and here's the corresponding upstream ffmpegthumbnailer change.

Offline

#6 2023-11-26 20:50:57

farnsworth
Member
From: /home/farnsworth
Registered: 2012-01-28
Posts: 28

Re: [SOLVED] [Nautilus] no thumbnail created for avi files

great, thanks.
will keep an eye on it and then remove the configuration file from my home folder when the new release with this modification is out.

Offline

#7 2024-01-21 10:50:34

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

Re: [SOLVED] [Nautilus] no thumbnail created for avi files

toz wrote:

Run:

xdg-mime query filetype FILE

on one of your avi files. I get "video/vnd.avi". This mimetype isn't listed on the MimeType line of /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer.

Create the directory ~/.local/share/thumbnailers and copy over the ffmpegthumbnailer.thumbnailer file to this directory, and append ";video/vnd.avi" to the end of the MimeType line. Restart nautilus and it should work again.

Do we always need to do it in the future?

Offline

#8 2024-01-21 11:48:38

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [SOLVED] [Nautilus] no thumbnail created for avi files

laichiaheng wrote:

Do we always need to do it in the future?

Only until the new version of ffmpegthumbnailer is released. Not sure when that will happen though.

Offline

Board footer

Powered by FluxBB