Page 1 of 2

video thumbnail/preview on KDE5 dolphin

Posted: 05 Feb 2017, 12:50
by ofsha
I need video preview/thubnails on dolphin, not just for photos.
It was working OK on porteus 3.1 kde4 and 3.2.2 MATE caja showing video thumbs "out of box"
but i like to try the new kde5.

i managed to make an ffmpegthumbs-16.12.1-1-i686.xzm
with the help of xz2txz and txz2xzm
and it really added the correct option for video file on dolphin settings
control >> configure >> general >> previews
but no avail :(

any one can help with that matter?

Re: video thumbnail/preview on KDE5 dolphin

Posted: 05 Feb 2017, 21:52
by Bogomips
Welcome to Porteus. I'm sure there is someone here with experience of video thumbnails. Please bear with us. :)

Re: video thumbnail/preview on KDE5 dolphin

Posted: 08 Feb 2017, 13:54
by ofsha
I'm using this wonderfull OS since SLAX5 era.
Forced to update to 3.2.2 after upgrading my laptop to a X6 one.
Using 64bit MATE until i figure out few issues with the KDE5 version,
this is one of them.... :wall:

Thank for your reply.

Re: video thumbnail/preview on KDE5 dolphin

Posted: 08 Feb 2017, 21:59
by ncmprhnsbl
i suspect you need to compile ffmpegthumbs source against ffmpeg present in porteus..
for this you need the devel module and the source : http://download.kde.org/stable/applicat ... 2.1.tar.xz

Re: video thumbnail/preview on KDE5 dolphin

Posted: 10 Feb 2017, 14:38
by ofsha
ncmprhnsbl wrote:i suspect you need to compile ffmpegthumbs source against ffmpeg present in porteus..
for this you need the devel module and the source : http://download.kde.org/stable/applicat ... 2.1.tar.xz
Hi ncmprhnsbl,
Thanks for your attention, but I'm afraid this is over my skills :(

trying to compile the source you provided with cmake
but getting this error:

Code: Select all

guest@porteus:~/Downloads/ffmpegthumbs-16.12.1/build$ cmake ..
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:6 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.0.0) with any of the following names:

    ECMConfig.cmake
    ecm-config.cmake

  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!                                                                                                                                                   
See also "/home/guest/Downloads/ffmpegthumbs-16.12.1/build/CMakeFiles/CMakeOutput.log".               
Can you (or anyone) point me to the right direction?

Re: video thumbnail/preview on KDE5 dolphin

Posted: 11 Feb 2017, 00:42
by Bogomips
^ Just in case the devel module is not being used, please see here: http://forum.porteus.org/viewtopic.php? ... 940#p52070

Re: video thumbnail/preview on KDE5 dolphin

Posted: 11 Feb 2017, 18:41
by ofsha
Bogomips wrote:^ Just in case the devel module is not being used, please see here: http://forum.porteus.org/viewtopic.php? ... 940#p52070
HI Bogomips,

The devel.xzm is in place with the rest of the core modules.
I think the cmake is calling for an Extra CMake packages/modules but cant find them
and i dont know where they are/should be

Code: Select all

find_package(ECM 1.0.0 REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

Re: video thumbnail/preview on KDE5 dolphin

Posted: 11 Feb 2017, 18:53
by donald
Maybe search via USM for a package called
extra-cmake-modules
32 Bit --> extra-cmake-modules-5.26.0-i486-1_slonly.txz

Re: video thumbnail/preview on KDE5 dolphin

Posted: 12 Feb 2017, 19:30
by ofsha
donald wrote:Maybe search via USM for a package called
extra-cmake-modules
32 Bit --> extra-cmake-modules-5.26.0-i486-1_slonly.txz
Hi Donald
thanks for your help.

I downloaded an install this module via USM and got to a missing QT5 library error, installed it and got to a KF5 problem :shout:

I wonder if someone here already walk these path "all the way"?
http://forum.porteus.org/viewtopic.php? ... mbs#p46934

Re: video thumbnail/preview on KDE5 dolphin

Posted: 12 Feb 2017, 20:19
by donald
Hi ofsha

The modules mentioned in the link:
dolphin-plugins and kdegraphics-thumbnailers,
are available (newer versions of course) at
http://alien.slackbook.org/ktown/14.2/5/
in ./kde/applications

But i don't know if that's what you need
I'm relying here on wread

Re: video thumbnail/preview on KDE5 dolphin

Posted: 15 Feb 2017, 13:24
by ofsha
I PM wread and jamie81
Hope one of them will visit here soon
Meanwhile I'm Savin my energy with MATE
(not as good looking as KDE but everything works...) :D

Re: video thumbnail/preview on KDE5 dolphin

Posted: 02 Apr 2017, 00:00
by wread
@ofsha
video tthumbnail/preview on my KDE5 dolphin works ok.

Regards!

Re: video thumbnail/preview on KDE5 dolphin

Posted: 04 Apr 2017, 10:54
by ofsha
@wread
I'm happy to hear your kde5 is showing video thumbs. :Bravo:
Did it work 'out of the box' or you added/changed speciphic xzm?
If so, Can you please tell me how you did it?

Re: video thumbnail/preview on KDE5 dolphin

Posted: 06 Apr 2017, 13:03
by wread
@ofsha

I use dolphin-16.12.3, dolphin-plugins-16.12.3 and ffmpegthumbs-16.12.3, all in x86-64-1alien.xzm version.

I must say my KDE5 is not the official version; maybe you should try to find out if you are missing dependencies...

Try ldd /usr/bin/dolphin | grep found

Good luck!

Re: video thumbnail/preview on KDE5 dolphin

Posted: 09 Apr 2017, 00:14
by ofsha
@wread

:Yahoo!:
got it working with your packages.
even with the original dolphin-16.08.3

TUVM!