[KPhotoAlbum] troubleshooting mplayerthumbs?

Jesper K. Pedersen blackie at kde.org
Tue Jul 31 06:57:41 BST 2012


Timothee,

Over the last month I've indeed moved away from using mplayerthumbs as it was 
too unreliable, and am now extracting videos myself directly.

I would be very interested in hearing what kind of problems you have now.

Cheers

On Wednesday 25 July 2012 21:22:47 Timothee Groleau wrote:
> Hi Johannes, thanks for your reply!
> 
> I have fixed my problem by using the source from git instead of the
> kphotoalbum ebuild provided by gentoo. Just for completeness, I'll still add
> the clarifications you requested below, in case other people have the same
> issue.
> 
> I'm having other issues with this latest git snapshot btw (crashes when a
> video thumbnail plays through video), but I should make a separate thread
> for that.
> 
> 
> Anyway, thanks again!
> Tim
> 
> On Monday 23 July 2012 20:09:07 Johannes Zarl wrote:
> > Hi Tim,
> > 
> > Can you provide a little bit more detail on what exactly is working/not-
> > working? I.e. is KPA just sitting idle, not doing anything when new videos
> > are added, or is it doing some work and just the end result is not
> > displayed?
> 
> It seems it was doing some work but result was not displayed. All new
> detected videos would show the default icon instead of a correct extracted
> thumbnail. I could also right-click on a video and select "recreate
> selected thumbnails", I could see a flicker in the ui, but the same default
> would show up. If I did that the same "recreate thumbnail" process on the
> video which *did* have a proper thumbnail, they too would end up having the
> default thumbnail.
> > Regarding mplayerthumbs/kffmpegthumbnailer: Currently KPA directly invokes
> > mplayer to get thumbnails. To get a vague idea of what could be the
> > problem, you could try invoking mplayer manually:
> > 
> > mplayer -nosound -ss 10 -vf screenshot -frames 1 -vo png:z=9
> > SOME_VIDEO.EXT
> 
> That command works fine on my videos, it generates a file 00000001.png which
> is a proper grab from the video.
> 
> > Codewise, the thumbnailing is done inside the ImageManager. AFAIK you'll
> > want to take a look at the classes VideoThumbnailsExtractor and
> > ExtractOneVideoFrame.
> 
> Many thanks for the information!
> 
> > HTH,
> > 
> >   Johannes
> > 
> > On Monday 23 July 2012 17:55:56 Timothee Groleau wrote:
> > > Hi there,
> > > 
> > > video thumbnailing with mplayerthumbs has not been working for me for
> > > some
> > > time in kphotoalbum. I've deferrered fixing it, and I don't remember
> > > when
> > > or how it broke (I'm gonna guess an upgrade to either konqueror or
> > > kphotoalbum).
> > > 
> > > I've decided I must finally fix it, but I'm not able to see any errors
> > > message anywhere. How should I go about troubleshooting?
> > > 
> > > Below are some info about my system,
> > > 
> > > gentoo amd64
> > > kphotoalbum 4.2 on kde 4.8.3
> > > mplayerthumbs-4.8.3 (with mplayer backend; because thumbnailing in
> > > konqueror doesn't work with phonon backend)
> > > mplayer-1.0_rc4_p20110322-r1
> > > 
> > > For reference, video thumbnailing works in konqueror, with setting
> > > enabled
> > > "Video Files (MPlayerThumbs)", and video playback works in kphotoalbum.
> > > video thumbnailing used to work in kphotoalbum, and the old thumbnails
> > > are
> > > still ok. I've tried installing kffmpegthumbnailer instead, and I've
> > > managed to set that up in konqueror, but had no success with kphotoalbum
> > > either.
> > > 
> > > In case it matters, I've re-emerged mplayerthumbs and then kphotoalbum
> > > again, to make sure it'd be compiled after, still no luck.
> > > 
> > > Any help would be much appreciated. Please let me know what other
> > > information or details about my setup I should send.
> > > 
> > > Thanks in advance!
> > > Tim.
> > 
> > _______________________________________________
> > KPhotoAlbum mailing list
> > KPhotoAlbum at mail.kdab.com
> > https://mail.kdab.com/mailman/listinfo/kphotoalbum
-- 
Having trouble finding a given image in your collection containing
thousands of images?

http://www.kphotoalbum.org might be the answer.




More information about the Kphotoalbum mailing list