[gst-devel] How to get thumbnail/preview image of a video file using GStreamer API ?

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Feb 26 09:48:20 CET 2010


On Thu, 2010-02-25 at 18:40 +0300, Burka Victor wrote:

> Can you help me with the following: I need to display a thumbnail image
>  of my video file in the video player playlist that I'm developing. So
>  was looking in the GStreamer API how to get a thumbnail image. I
>  understand I might depend on a file format, but is it any way to get
>  that picture ? I found in the Internet something called "preview" or
>  "preview-image" tags that I can retrieve, but again I didn't find how
>  in the API.

There's also this minimal example:

http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/snapshot/snapshot.c

The preview-image/image tags are more for album art embedded in audio
files and the like, so probably not what you're looking for.

Cheers
 -Tim






More information about the gstreamer-devel mailing list