I would guess that if your video file is temporally compressed those are the key frames so that you get a full image without having to read through the file from the previous full frame. On Jan 29, 2013 5:44 AM, "Alan Rodas Bonjour" <[email protected]> wrote:
> Hello folks, I'm having some trouble trying to play a video on a scene by > scene stepping. > The thing is that when I try to seek a specific scene (given the start > time in seconds) and then play it, the playing start time is diferent from > what I told the media player to seek. > > So i.e. > > self.media_player.seek(12) > print self.media_player.time -> is now 12 > self.media_player.play() > print self.media_player.time -> is now 20.xxx > > in the same video, it happens that if I try other values, between these 12 > and 20.xxx it always starts playing at the same place (20.xxx). > If I put, lets say 21, then the play time jumps to 30.xxx > > I've been searching the docs to check if this is expected behavior, but > found nothing, nor in the bug lists. > > Does anyone now why is this happening. > > Thanks in advance. > > Cheers > > > -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pyglet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
