Get frames at time stamps

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Get frames at time stamps

Alexander Saprykin
Hi folks,

my name is Alexander Saprykin and I'm participating in GSoC for Totem
chapters plugin. Maybe you've seen some of my posts on planet.gnome.org.
If you are interesting in this project, you can track progress on my
blog: axsaprykin.blogspot.com.

I'm implementing chapters list now, and the problem is that I need to
get frame for every chapter at predefined time stamp. For example, I
want to get screens from video at 43 secs, 120 secs and 150 secs. Is
there any way to do it inside Totem plugin? Or I need to go through the
whole video file like totem-thumbnailer does?

Best Regards


------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Get frames at time stamps

Bastien Nocera-2
On Fri, 2010-05-21 at 00:53 +0400, Alexander Saprykin wrote:

> Hi folks,
>
> my name is Alexander Saprykin and I'm participating in GSoC for Totem
> chapters plugin. Maybe you've seen some of my posts on planet.gnome.org.
> If you are interesting in this project, you can track progress on my
> blog: axsaprykin.blogspot.com.
>
> I'm implementing chapters list now, and the problem is that I need to
> get frame for every chapter at predefined time stamp. For example, I
> want to get screens from video at 43 secs, 120 secs and 150 secs. Is
> there any way to do it inside Totem plugin? Or I need to go through the
> whole video file like totem-thumbnailer does?

One thing that could be done is:
- remember where the slider was (for session restoration)
- popup a dialogue saying we're updating thumbnails (and cache them)
- go through the different times, and capture the images
- restore the previous location

In a number of cases, we would want to capture the thumbnails as we're
adding the markers to the file, so we wouldn't need to capture them
afterwards.

For files with existing chapter markers, we might be able to disconnect
the video output for the duration of the capture (for example, when
opening a matroska file, or DVD with chapters, you wouldn't want to see
the whole film in slideshow form...).


------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel