Bug 351894 - Missing video thumbnails after upgrading to 15.08
Summary: Missing video thumbnails after upgrading to 15.08
Status: RESOLVED FIXED
Alias: None
Product: kdemultimedia
Classification: Unmaintained
Component: ffmpegthumbs (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
: 352199 354334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-28 12:24 UTC by FiveYellowMice
Modified: 2016-04-23 16:30 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FiveYellowMice 2015-08-28 12:24:45 UTC
Dolphin used to have ffmpegthumbnail and mplayerthumbnail which are useful for generating video Thumbnails with "Preview" turned on. 
However after upgrading Dolphin to 15.08, it does not, even not in settings list. 

Reproducible: Always
Comment 1 Nils Sommer 2015-08-28 18:38:30 UTC
Same here (Archlinux).
Comment 2 Frank Reininghaus 2015-08-29 19:08:01 UTC
Thanks for the bug report.

(In reply to hkz85825915 from comment #0)
> Dolphin used to have ffmpegthumbnail and mplayerthumbnail

No, Dolphin never had them, nor did Dolphin ever have any thumbnailers, or Preview plugins, at all. All these plugins are provided by other packages, which are then used not only by Dolphin, but also by the file dialog, Folder View, and others, to generate thumbnails.

Maybe ffmpegthumbs and mplayerthumbs are not ported to Qt5/KF5 yet?
Comment 3 Rog131 2015-08-30 08:13:27 UTC
The ffmpegthumbs has been ported to the Qt5/KF5 - KDE review: https://git.reviewboard.kde.org/r/118545/ . 

The problem seems to be that the ffmpegthumbs master branch is still for the KDE4 and the KDE Applications 15.08 was releasing the ffmpegthumbs from the master.

For the Arch there is an option to use the KF5 version: https://bbs.archlinux.org/viewtopic.php?id=201484 .
Comment 4 Albert Astals Cid 2015-08-30 12:05:42 UTC
Did the dolphin people think about this when deciding to do a KF5 release?
Comment 5 Rog131 2015-08-30 12:57:26 UTC
Same kind of (missing plugins): https://bugs.kde.org/show_bug.cgi?id=351913
Comment 6 Frank Reininghaus 2015-08-30 20:32:29 UTC
(In reply to Albert Astals Cid from comment #4)
> Did the dolphin people think about this when deciding to do a KF5 release?

I think it's quite obvious that nobody thought about this. 

We all agree that thinking more about this and some other aspects of the file management infrastructure would have been good, but I'm not sure if blaming just those who work on Dolphin makes much sense. Considering that the same infrastructure has been used for quite some time by Plasma's Folder View and by some applications that need a file dialog and that had their first KF5/Qt5-based release earlier than Dolphin, I think that it was not entirely unreasonable to assume that the worst KDE SC 4.x -> KF5 transition issues were already resolved or being worked on and discussed in public.

Now, with the benefit of hindsight, it seems obvious that the KF5-based preview plugins (which exist since last year, thanks for the links, Rog131) should have been released as soon as possible in addition to the KDE SC 4.x-based ones (which are still needed until all applications are KF5-based).

I guess the lesson to learn from this is that the dependencies between different packages should be analyzed in much more detail if another transition like this one, where everything is ported and released at its own pace and in different groups (frameworks, applications and workpspace), happens in the future. Moreover, one should not feel too safe if the software that is built by kdesrc-build seems to work fine, because it builds a lot of stuff which is either not released yet, or might never be released (like lib/konq in kde-baseapps). The same applies to the packages made from git checkouts which distros made (thankfully!) available to those who were willing to test KF5-based apps early.
Comment 7 Nils Sommer 2015-08-31 06:59:15 UTC
> We all agree that thinking more about this and some other aspects of the file management infrastructure would have been good, but I'm not sure if blaming just those who work on Dolphin makes much sense.

Agreed! Any chance to help with this? (no KDE dev experience yet)
Comment 8 Harald Sitter 2015-08-31 08:05:17 UTC
It appears to me that ffmpeg primarily needs someone to maintain it? I am not sure releasing something that isn't maintained, as it were, is something I can appreciate.

That being said. What needs to happen is:
- merge frameworks into master
- i18n freeze (assuming there are strings anyway?)
- do a standalone beta
- do a standalone release
- pick up for applications 15.12 release moving forward.

Also, I think the discussion about how to prevent future screw ups like this ought to be moved to the release-team mailing list as this is really a global issue of how we track runtime dependencies (right now: the lack thereof).
Comment 9 Christoph Feck 2015-09-03 10:28:05 UTC
*** Bug 352199 has been marked as a duplicate of this bug. ***
Comment 10 Ryan Babchishin 2015-09-03 17:48:12 UTC
Is there a work around for Ubuntu?
Comment 11 Rog131 2015-09-03 19:58:14 UTC
"Is there a work around for Ubuntu?"

You could add a bug report to the Ubuntu - Something like ' Please package the framework version of the thumbnail plugins'.

or/and 

Simply grab the source and compile it - Kubuntu Forums: https://www.kubuntuforums.net/showthread.php?32568-Video-Previews&p=367642&viewfull=1#post367642
Comment 12 Christoph Feck 2015-10-27 10:59:11 UTC
*** Bug 354334 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2015-12-03 20:41:00 UTC
Both kdegraphics and ffmpeg thumbnailers will be released with a KF5 port together with KDE Applications 15.12. Thanks to Hrvoje Senjan from openSUSE KDE team for the porting.
Comment 14 Stéphane Tréboux 2016-04-23 13:12:03 UTC
I just updated to KDE Applications 15.12. In the Dolphin preferences under General -> Previews the following options are available and ticked:
- PS/PDF/DVI (provided by kdegraphics-thumbnailers 15.12.3)
- video files (provided by ffmpegthumbs 15.12.3)
Still no thumbnails are generated. Any idea what could be missing?
Comment 15 Rog131 2016-04-23 14:37:28 UTC
(In reply to Stéphane Tréboux from comment #14)
> I just updated to KDE Applications 15.12. In the Dolphin preferences under
> General -> Previews the following options are available and ticked:
> - PS/PDF/DVI (provided by kdegraphics-thumbnailers 15.12.3)
> - video files (provided by ffmpegthumbs 15.12.3)
> Still no thumbnails are generated. Any idea what could be missing?

Distribution ?
If Ubuntu then it is a packaging bug: https://www.kubuntuforums.net/showthread.php?69996-No-video-amp-pdf-files-preview-in-Dolphin-15-12-3&p=386740&viewfull=1#post386740
Bug should be filed to the Launchpad: https://launchpad.net/ubuntu/+source/ffmpegthumbs/+bugs
Comment 16 Stéphane Tréboux 2016-04-23 16:30:32 UTC
(In reply to Rog131 from comment #15)
> (In reply to Stéphane Tréboux from comment #14)
> > I just updated to KDE Applications 15.12. In the Dolphin preferences under
> > General -> Previews the following options are available and ticked:
> > - PS/PDF/DVI (provided by kdegraphics-thumbnailers 15.12.3)
> > - video files (provided by ffmpegthumbs 15.12.3)
> > Still no thumbnails are generated. Any idea what could be missing?
> 
> Distribution ?
> If Ubuntu then it is a packaging bug:
> https://www.kubuntuforums.net/showthread.php?69996-No-video-amp-pdf-files-
> preview-in-Dolphin-15-12-3&p=386740&viewfull=1#post386740
> Bug should be filed to the Launchpad:
> https://launchpad.net/ubuntu/+source/ffmpegthumbs/+bugs

Your guess is correct; the distribution is Kubuntu 16.04 LTS. Thanks for the hint about the packaging bug. kdegraphics-thumbnailers is affected too.

I filed two bugs in Launchpad.
ffmpegthumbs: https://bugs.launchpad.net/ubuntu/+source/ffmpegthumbs/+bug/1574037
kdegraphics-thumbnailers: https://bugs.launchpad.net/ubuntu/+source/kdegraphics-thumbnailers/+bug/1574049

Until the packages are fixed there is a workaround (I took it from kubuntuforums.net).
This command will link all the files from /usr/lib/x86_64-linux-gnu/plugins/ to /usr/lib/x86_64-linux-gnu/qt5/plugins/:
sudo ln -s /usr/lib/x86_64-linux-gnu/plugins/* /usr/lib/x86_64-linux-gnu/qt5/plugins/