Reputation: 15734
How do I extract a screenshot (image) at specific time from a video, using GStreamer?
I want to extract the screenshot somewhere at the middle of a movie. i.e. If the video is 60 seconds, I would like to extract the screenshot at 00:00:30 .
The video length is unknown at runtime.
Upvotes: 2
Views: 1677
Reputation: 41757
Check out the source code for totem-video-thumbnailer
: http://git.gnome.org/browse/totem/tree/src/totem-video-thumbnailer.c
Upvotes: 1