Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935072 - xfce-base/tumbler-4.18.2 no thumbnails for .avi files
Summary: xfce-base/tumbler-4.18.2 no thumbnails for .avi files
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-28 19:39 UTC by David Duchesne
Modified: 2024-06-29 03:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xfce-base/tumbler-4.18.2-fix-avi-thumbnails.diff (file_935072.txt,532 bytes, patch)
2024-06-28 19:40 UTC, David Duchesne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Duchesne 2024-06-28 19:39:16 UTC
Hello,
xfce-base/tumbler-4.18.2 fails to display thumbnails for .avi files.

x11-misc/shared-mime-info-2.4-r1 changed type from video/x-msvideo to video/vnd.avi
in tumbler src, mime are hardcoded or use ffmpegthumbnailer values if I understand correctly (which is broken by the change too : https://github.com/dirkvdb/ffmpegthumbnailer/issues/231)

tumbler/plugins/ffmpeg-thumbnailer/ffmpeg-thumbnailer-provider.c at line 97
----
static GList *
ffmpeg_thumbnailer_provider_get_thumbnailers (TumblerThumbnailerProvider *provider)
à{
  static const gchar *mime_types[] =
  {
    "video/jpeg",
    "video/mp4",
    "video/mp2t",
    "video/mpeg",
    "video/quicktime",
    "video/x-ms-asf",
    "video/x-ms-wm",
    "video/x-ms-wmv",
    "video/x-msvideo",
    "video/x-flv",
    "application/x-flash-video",
    "application/vnd.rn-realmedia",
    "video/3gpp",
    "video/x-matroska",
    "video/ogg",
    "video/webm",
    NULL
  };
  FfmpegThumbnailer  *thumbnailer;
  GList              *thumbnailers = NULL;
  GStrv               uri_schemes;
----

The easy fix was to add "video/vnd.avi" (patch linked)
Unfortunately, I can't open a bug upstream because I don't have a gitlab account.


Reproducible: Always
Comment 1 David Duchesne 2024-06-28 19:40:40 UTC
Created attachment 896587 [details, diff]
xfce-base/tumbler-4.18.2-fix-avi-thumbnails.diff