FFMpegThumbs-MattePaint
Various KDE Extensions
Description:

The ffmpegthumbs-mattepaint is an alternative version of the standard KDE ffmpegthumbs.

Both the ffmpegthubs and the ffmpefthumbs-mattpaint can be installed side by side.

The ffmpegthumbs-mattepaint:

* is using the QPainter & QImage to draw the thumbnail decorations.

* is using pseudo-random number to seek the preview image (5%..95%).

* can use external images as the thumbnails.

* can use the KDE service menus to add/remove the thumbnails.

The thumbnail decorations are loaded from the image files so the user can draw own decorations.

As default the ffmpegthumbs-mattepaint is using the attched/embedded MP4/Matroska cover art for the thumbnail: https://youtu.be/iRz3aWnD21Q.


The user decides if there will be:

* a pure image thumbnail.

* a thumbnail with the blended mime icon or framed icon.

* a thumbnail with the matte picture(s).


Preview Clips:

Thumbnail decoration (KDE4): http://youtu.be/MXZPEvA6rW4 .

Thumbnail decoration (KF5): https://youtu.be/f1pI6BjiOec

Using KDE service menus: http://youtu.be/8Dldote6uiI.

Attched/embedded mp4/Matroska cover art for the thumbnail: https://youtu.be/iRz3aWnD21Q.

Adding the Matroska embedded art to the thumbnails: http://youtu.be/_lqS5ww8di8.

Hand picking the Matroska embedded art: http://youtu.be/08Dzz-Vc8Ik.

Adding embedded Mp4 cover: https://youtu.be/aeshJUc57T8

Adding IMdb data - cover, year, genre, storyline: https://youtu.be/LbR7I21wp-4

Drag and drop thumbnails: https://youtu.be/-9jHd3F8oD4

The compilation is depending same development files as the standard ffmpegthumbs.

Compilation examples:

KDE4:http://pastebin.com/gg82KwrU.

KF5: http://pastebin.com/vVQ6bfW7


HowTo / Readme

A short readme is included in the archive: .../ffmpegthumbs-mattepaint/readme/readme.html


Known issues / Other notes:

- 2016-07-31: Fixing the KDE-Look FFMpegThumbs-MattePaint 'Logo' image.

- 2016-07-04: The new page is horribly broken. Trying to fix with a new source upload. Sorry for the inconvenience.

- The normal (128) and the large (256) thumbnails are made separately so they can be different images. A workaround is to symlink the thumbnail subdirectories.


Only guarantee: No harm intended...
Last changelog:

1 year ago

0.7 / 2016-06-09

- Using new ffmpegthumbs git revision. The git revision 3978c76 is fix to the ffmpegthumbs bug 359752.

0.6 / 2015-11-10

- Use embedded cover art as default for the mp4 & matroska.
- Add '--ui-language en_US' to the Matroska scripts.

0.5 / 2015-10-05

- Thumbnailer plugin for the KF5
- Example scripts to drag&drop images, search Google images, search thumbnail with a face, read data from IMDb, remove user comment from the extended attributes.

0.4.2 / 2015-11-15

- Use embedded cover art as default for the mp4 & matroska.


0.4.1.2 / 2015-11-10

- Add '--ui-language en_US' to the Matroska scripts.

0.4.1.1 / 2015-10-06

- Fix the video-thumbnail-fixer-mp4.desktop exec line

0.4.1 / 2015-10-05

- Example script to use the attached mp4 posters as thumbnails.

0.4 / 2014-02-09

- Use KDE ThumbCreatorV2. Adds option enable/disable the matte pictures from the checkbox.
- An option to use all (QImage supported) images as the thumbnails.
- Example scripts to use the attached Matroska posters as thumbnails.

0.3.1 / 2013-03-27

- Remove the test build option.
- Clean the perl scrips.

0.3 / 2013-03-24

- More randomness with the qsrand().
- An option to use png images as the thumbnails.
- Example scripts to hand pick the thumbnails: Snapshot from VLC & SMPlayer, Use posters or any png image as the thumbnail .

0.2 / 2012-09-12

- Don't draw frames around the preview image.
- Use the KDE standard dirs.
- Scale the ornaments with the normal thumbnails.

0.1 / 2012-09-08

Initial release


More:

2016-06-11
- Added link to the Gentoo linux ebuild. Asked by Giacomo Giorgianni (mrbitt)

mrbitt

1 year ago

Hi, please add link for Gentoo linux

https://drive.google.com/file/d/0B6vs0mKF7AyLcHVzaUFLQW00Wk0/view?usp=sharing

Thankx :)

Report

srog

1 year ago

Thank you - link added.

Report

VaporEidolon

1 year ago

I love this, but it has been out of date in the AUR for ages. Can you mantain it there?

Report

srog

1 year ago

I'll look the AUR packaging when the ffmpegthumbs problems with the ffmpeg 3.0 has been solved:

https://bugs.kde.org/show_bug.cgi?id=359752
https://git.reviewboard.kde.org/r/126992/
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803813

At the moment the ffmpegthumbs (and FFMpegThumbs-MattePaint) binaries need to be build with the ffmpeg 2.8 or older - Arch: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ffmpegthumbs&id=1b9b522711469d3f656e9f092fff4108716ef18c

Report

VaporEidolon

1 year ago

Thanks!

Report

srog

1 year ago

There is a recent AUR - Last Updated: 2016-05-06 - https://aur.archlinux.org/packages/ffmpegthumbs-mattepaint

Report

davhubner

1 year ago

Hi, your matroska script doesn't work when there is different system language than en_US. It can be fixed by adding '--ui-language' "en_US" to mkvmerge command in mattepaint-matroska.pl

Report

srog

1 year ago

Thank you of finding the bug and the fix.

I'll add the fix, force ui translation en_US, to the next release (soonish ;) ).

Report

vaxxipooh

1 year ago

I have installed Cmake and libs and all i got is this:

CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (message):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/myuser/.kde/share/apps;/usr/share/mintkde-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps

I dont have a clue ?

Report

srog

1 year ago

The error is: 'ERROR: cmake/modules/FindKDE4Internal.cmake not found'

The Mint is Debian based ?

This module is part of kdelibs5-dev

Debian - https://packages.debian.org/search?searchon=contents&keywords=FindKDE4Internal.cmake&mode=path&suite=stable&arch=any

Ubuntu - http://packages.ubuntu.com/search?searchon=contents&keywords=FindKDE4Internal.cmake&mode=exactfilename&suite=trusty&arch=any


Do you have it installed ?

What says: 'locate FindKDE4Internal.cmake'

Report

srog

1 year ago

With the Debian based - the apt command:
'sudo apt-get build-dep ffmpegthumbs' should install the needed packages.

The http://ftp.aso.ee/debian/pool/main/f/ffmpegthumbs/ffmpegthumbs_4.14.1-1.dsc is telling: 'Build-Depends: cmake, debhelper (>= 9), kde-sc-dev-latest (>= 4:4.12), kdelibs5-dev (>= 4:4.11), libavcodec-dev, libavformat-dev, libavutil-dev, libswscale-dev, pkg-config, pkg-kde-tools (>= 0.12)'

Report

jackyohh

1 year ago

CMake Error at cmake_install.cmake:167 (file):
file failed to open for writing (Permission denied):

/***/ffmpegthumbs-mattepaint/KF5/ffmpegthumbs-mattepaint/builddir/install_manifest.txt


Makefile:71: recipe for target 'install' failed

any clue, how to solve this?

Report

srog

1 year ago

The error is 'file failed to open for writing (Permission denied)'.

Whas the builddir empty when tried to compile ?
What commands are you using ?
What if you remove the 'builddir' and then try with separate 'make' and 'make install' steps:

cd ffmpegthumbs-mattepaint

mkdir builddir

cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_USE_QT_SYS_PATHS=ON

make

sudo make install

Report

jackyohh

1 year ago

AAAHHHH!!! i got it! my FFMpegThumbs-MattePaint build directory was on my nfs and thats the reason for some permission problems. on my local home directory everything is fine.
... damn nfs permission

thx for help

Report

vaxxipooh

1 year ago

I remember there was an PPA for this . . is that dissapered outta thin air ?

Report

srog

1 year ago

It was removed 12.7.2015 - more: https://www.kubuntuforums.net/showthread.php?68160-Qmplay2&p=375638&viewfull=1#post375638

Report

vaxxipooh

1 year ago

Okeyas .. well that was kind of sad, there was much useful inthere ...

Report

srog

4 years ago

The CMake error with the option "KDE4_BUILD_TESTS=ON" is a leftover from the original ffmpegthumbs -> cleaning the code.

The build with the 0.3 will succes if you dont'use the "KDE4_BUILD_TESTS" option.

With the 0.3.1 the leftover is removed - with the "KDE4_BUILD_TESTS" option there will be warning:

"$ cd builddir && cmake .. -DKDE4_BUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`


CMake Warning:
Manually-specified variables were not used by the project:

KDE4_BUILD_TESTS"

Report

frag

4 years ago

Thanx

Report

frag

4 years ago

Found FFmpeg: /usr/lib64/libavcodec.so;/usr/lib64/libavformat.so;/usr/lib64/libswscale.so
-- Configuring done
CMake Error at /usr/share/apps/cmake/modules/KDE4Macros.cmake:1010 (add_executable):
Cannot find source file:

/media/mix/data/Soft/Linux/ffmpegthumbs-mattepaint-0.3/tests/../ffmpegthumbnailer/filmstripfilter.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
Call Stack (most recent call first):
tests/CMakeLists.txt:20 (kde4_add_executable)

Report

frag

4 years ago

Awesome!!

Report

Shiranui01

4 years ago

Hot News! If you want to get free Mac Sony AVCHD to FCP Converter, now you can join buy one get one free.
http://www.pavtube.com/back-to-school-sales-2012.html

Report

amigib

4 years ago

Nice work, i think it works even faster then original, thanks for your work

Report

srog

4 years ago

Than you

Report

sxe

4 years ago

Hi,

great idea, i just tested it on archlinux KDE 4.9.1 and it works (kind of) :)

The thumbnails are there but i noticed two problems.

1. When the preview thumbnail is smaller than 94px (dolphin settings) the mimetype icon is to big. It is as high as the whole preview thumbnail.

2. Even after creating ".kde4/share/apps/ffmpegthumbs-mattepaint" the mimetype icon is shown. If i got you right that should not happen.



I made a archlinux PKGBUILD: https://aur.archlinux.org/packages.php?ID=62671

Keep up working on this, great work!

Report

1 year ago

0.7 / 2016-06-09

- Using new ffmpegthumbs git revision. The git revision 3978c76 is fix to the ffmpegthumbs bug 359752.

0.6 / 2015-11-10

- Use embedded cover art as default for the mp4 & matroska.
- Add '--ui-language en_US' to the Matroska scripts.

0.5 / 2015-10-05

- Thumbnailer plugin for the KF5
- Example scripts to drag&drop images, search Google images, search thumbnail with a face, read data from IMDb, remove user comment from the extended attributes.

0.4.2 / 2015-11-15

- Use embedded cover art as default for the mp4 & matroska.


0.4.1.2 / 2015-11-10

- Add '--ui-language en_US' to the Matroska scripts.

0.4.1.1 / 2015-10-06

- Fix the video-thumbnail-fixer-mp4.desktop exec line

0.4.1 / 2015-10-05

- Example script to use the attached mp4 posters as thumbnails.

0.4 / 2014-02-09

- Use KDE ThumbCreatorV2. Adds option enable/disable the matte pictures from the checkbox.
- An option to use all (QImage supported) images as the thumbnails.
- Example scripts to use the attached Matroska posters as thumbnails.

0.3.1 / 2013-03-27

- Remove the test build option.
- Clean the perl scrips.

0.3 / 2013-03-24

- More randomness with the qsrand().
- An option to use png images as the thumbnails.
- Example scripts to hand pick the thumbnails: Snapshot from VLC & SMPlayer, Use posters or any png image as the thumbnail .

0.2 / 2012-09-12

- Don't draw frames around the preview image.
- Use the KDE standard dirs.
- Scale the ornaments with the normal thumbnails.

0.1 / 2012-09-08

Initial release


More:

2016-06-11
- Added link to the Gentoo linux ebuild. Asked by Giacomo Giorgianni (mrbitt)

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 66%
66.00 Likes
34 Dislikes
Details
version
updated Jul 31 2016
added Sep 09 2012
downloads
page views 3303