After some painkillers, I’ve managed to build ffmpegthumbnailer and also added it for Mediatomb.
Was fixed by creating an empty m4 folder, that gets removed afterwards. So all Foresight users will never see it.
libffmpegthumbnailer/videothumbnailer.cpp:198: error: ‘errno’ was not declared in this scopeThat file is missing: #include <errno.h>
So i managed to make a patch that will add that line inside videothumbnailer.cpp file. + had to add some buildreqs that wasnt suggested when cooking the recipe locally. But now its finally done.
This video thumbnailer can be used to create thumbnails for your video files. The thumbnailer uses ffmpeg to decode frames from the video files, so supported videoformats depend on the configuration flags of ffmpeg. Here is some commands to use: Usage
To test them out, open terminal and write:
sudo conary update ffmpegthumbnailer=@fl:2-devel
for mediatomb:
sudo conary update mediatomb=@fl:2-devel
These packages was just perfect for me, weird errors that i managed to hunt down and fix them.
Also follow the issues for ffmpegthumbnailer here:
http://code.google.com/p/ffmpegthumbnailer/issues/detail?id=37
http://code.google.com/p/ffmpegthumbnailer/issues/detail?id=38