[gst-devel] Video thumb nails

Fredrik Persson frepe at bredband.net
Tue Oct 10 19:28:29 CEST 2006

No, there is not. Creating a thumbnail from a video file is rather
difficult. I, for one, would've loved this kind of functionality as an
integral part of gstreamer.

However, you can have a look at how this is solved in Totem.

It is a matter of snatching a single frame from a video file, converting
it into either a gtk pixbuf, which is handy if you want to display it on
the screen, or a png, if you want to store it as a file.

This is the totem source code file where the conversion from gstreamer
buffer to gtk pixbuf is done; it is not trivial:


Of course, you also need to snatch that buffer from a running video
stream. That is done elsewhere in the Totem source code, it is not as
difficult as converting it.

Good luck!

/Fredrik Persson

On Tue, 2006-10-10 at 17:11 +0000, Pavan Kumar Patale wrote:
> Hi,
> Can anyone pls let me know if there is any support from GStreamer framework
> to create thumb nails for video files.
> Thanks in advance,
> Pavan.
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

More information about the gstreamer-devel mailing list