Generate Thumbnails

This forum is about all development around libVLC.
neosettler
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 18 Dec 2012 17:44

Generate Thumbnails

Postby neosettler » 06 Apr 2019 18:02

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,

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Generate Thumbnails

Postby Jean-Baptiste Kempf » 07 Apr 2019 11:43

You should look at the thumbnailer from the vlc-android project https://code.videolan.org/videolan/vlc- ... mbnailer.c
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

neosettler
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 18 Dec 2012 17:44

Re: Generate Thumbnails

Postby neosettler » 07 Apr 2019 16:31

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.

neosettler
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 18 Dec 2012 17:44

Re: Generate Thumbnails

Postby neosettler » 07 Apr 2019 22:22

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Generate Thumbnails

Postby Jean-Baptiste Kempf » 10 Apr 2019 08:53

Seriously, read the android libvlc thumbnailer, it is very easy to adapt.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests