FFMpegThumbs-MattePaint 0.3
(KDE Improvement)
The ffmpegthumbs-mattepaint is an alternative version of the standard KDE ffmpegthumbs. The ffmpegthumbs-mattepaint (0.3) is based on the https://projects.kde.org/projects/kde/kdemultimedia/ffmpegthumbs git revision 77eeb2e9.
Both the ffmpegthubs and the ffmpefthumbs-mattpaint can be installed side by side.
A preview clip: http://www.dailymotion.com/video/xyh0w1_kde-thumbnailer-ffmpegthumbs-mattepaint_tech
The poster pictures were downloaded with the Nepomuk-WebMiner: https://projects.kde.org/projects/extragear/base/nepomuk-webminer
Changes:
* The ffmpegthumbs-mattepaint is using the QPainter & QImage to draw the “ornaments” ( or the filmstrip holes) on the thumbnail. The ffmpegthumbs-mattepaint is not limited to show the classic filmstrip holes – any png picture will do.
* The ffmpegthumbs-mattepaint is using pseudo-random number to seek the preview image (5%..95%). The standard ffmpegthumbs is using fixed 20% seek.
* Added a script and a KDE service menu to delete the poor thumbnails so the thumbnailing can be done again.
* Added scripts and the KDE service menu to fix the thumbnails – Thumbnails from the VLC & SMPLayer snapshots and from the png file.
The ornament images (.png) are loaded from the KDE‘s ../apps/ffmpegthumbs-mattepaint/ directory. At here this is either /usr/share/kde4/apps/ffmpegthumbs-mattepaint/ or the users ~/.kde/share/apps/ffmpegthumbs-mattepaint/ directory. Check your distribution paths !
The user decides:
* If the ../apps/ffmpegthumbs-mattepaint/ directory exists but there are no ornament images: only the bare preview thumbnail is made.
* If the ../apps/ffmpegthumbs-mattepaint/ directory does not exists: the mimetype icon is blended over the preview thumbail (http://api.kde.org/4.x-api/kdelibs-apidocs/kio/html/classThumbCreator.html).
* If the ../apps/ffmpegthumbs-mattepaint/ directory exists and there are ornament images: the preview thumbnail is made with the wanted ornaments.
Generic
The compilation is depending same development files as the standard ffmpegthumbs.
The generic compilation:
1) cd /to/the/ffmpegthumbs-mattepaint/
2) mkdir builddir
3) cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix`
4) make
5) sudo make install
HowTo / Readme
A short readme is included in the archive: …/ffmpegthumbs-mattepaint-0.3/readme/readme.html
Known issues with the 0.3
– 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…
changelog:
0.1 / 2012-09-08
Initial release
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.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 .
[read more]
job recommendations: