On Fri, Mar 13, 2009 at 1:44 AM, Padraig Kitterick
<[email protected]> wrote:
>
> Hi Alex,
>
> On 12 Mar 2009, at 01:55, Alex Holkner wrote:
>
>>
>> On Thu, Mar 12, 2009 at 9:30 AM, Padraig Kitterick
>> <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> I've been having quite a lot of problems getting Pyglet+AVBin to play
>>> back a bunch of video files correctly (Win XP32, Python 2.5, Pyglet
>>> 1.1.2) using the simple video.py example and I would really
>>> appreciate
>>> some input from pyglet experts. Here are a few Qs:
>>>
>>> 1) Inspecting the source for pyglet.media.Player I came across
>>> Player._update_schedule and the following lines:
>>>
>>>        interval = 1000.
>>>        if self._sources[0].video_format:
>>>                interval = min(interval, 1/24.)
>>>        [snip]
>>>        clock.schedule_interval_soft(self.dispatch_events, interval)
>>>
>>> which in my case, using the simple video.py example, always results
>>> in
>>> the player updating itself at 24fps maximum. Am I correct in thinking
>>> that the player is hard limited to 24 fps?!
>>
>> That's right.  The current trunk version of avbin (not yet released)
>> exposes the reported frame rate of the video, so future versions of
>> pyglet will be able to use this to set a more appropriate interval.
>
> Fantastic to hear that this is coming. I read somewhere that 1.2 will
> have multi-threaded decoding of AV streams. Is that correct?

That was the plan; I'm not sure if it's ever going to be stable enough
for release.

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to