Page 1 of 1

Generate Thumbnails

Posted: 06 Apr 2019 18:02
by neosettler
Greetings,

Giving a try at fetching and/or generating video thumbnails using LibVLC 3.0. Is there a common way to do this? The idea is to populate a custom file browser (using Qt) that display video files with thumbnails.

thank you,

Re: Generate Thumbnails

Posted: 07 Apr 2019 11:43
by Jean-Baptiste Kempf
You should look at the thumbnailer from the vlc-android project https://code.videolan.org/videolan/vlc- ... mbnailer.c

Re: Generate Thumbnails

Posted: 07 Apr 2019 16:31
by neosettler
Thank you for your suggestion Jean-Baptiste,

I should have mentioned that I'm on Windows but I'll see what I can do with the VLC-Android. It seems like replacing pthread would get the job done.

Re: Generate Thumbnails

Posted: 07 Apr 2019 22:22
by neosettler
Having execution speed in mind, is there any recommandation like how to turn audio tracks off? Also, set play does seems like a major over head while only one frame is needed. Basically, even if the process stops after fetching the first frame, the audio has been started.

Re: Generate Thumbnails

Posted: 10 Apr 2019 08:53
by Jean-Baptiste Kempf
Seriously, read the android libvlc thumbnailer, it is very easy to adapt.