Description:
The file /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer ships with the -f flag in the Exec line:
Exec=ffmpegthumbnailer -i %i -o %o -s %s -f
The -f flag forces ffmpegthumbnailer to overwrite the output file but skips writing the required PNG metadata fields (Thumb::URI, Thumb::MTime) defined by the freedesktop Thumbnail Managing Standard.
As a result, Thunar (via tumblerd) rejects all generated video thumbnails as invalid and refuses to display them. The issue affects all users of Thunar/XFCE with tumbler on Arch Linux. GNOME and KDE are unaffected because they use their own thumbnailing pipelines that do not rely on .thumbnailer files.
The fix is to remove the -f flag:
Exec=ffmpegthumbnailer -i %i -o %o -s %s
Steps to reproduce:
- Install
ffmpegthumbnailer and tumbler on Arch Linux with XFCE/Thunar
- Open a folder containing video files in Thunar
- No video thumbnails are generated
- Workaround: disable
[FfmpegThumbnailer] plugin in ~/.config/tumbler/tumbler.rc (Disabled=true) and remove the -f flag from /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer — thumbnails start working correctly after clearing ~/.cache/thumbnails/ and rebooting
Description:
The file
/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailerships with the-fflag in theExecline:The
-fflag forces ffmpegthumbnailer to overwrite the output file but skips writing the required PNG metadata fields (Thumb::URI,Thumb::MTime) defined by the freedesktop Thumbnail Managing Standard.As a result, Thunar (via tumblerd) rejects all generated video thumbnails as invalid and refuses to display them. The issue affects all users of Thunar/XFCE with tumbler on Arch Linux. GNOME and KDE are unaffected because they use their own thumbnailing pipelines that do not rely on
.thumbnailerfiles.The fix is to remove the
-fflag:Steps to reproduce:
ffmpegthumbnailerandtumbleron Arch Linux with XFCE/Thunar[FfmpegThumbnailer]plugin in~/.config/tumbler/tumbler.rc(Disabled=true) and remove the-fflag from/usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer— thumbnails start working correctly after clearing~/.cache/thumbnails/and rebooting