Hello,

Reading again your original message, this part:

The FG sequence is really two video sequences. One is an alpha mask for the 
> second. So both have to be in Sync.


will be challenging. A hack I would initially try would be to assign the 
internal clock of the first player to the second one. It's not intended to 
be used this way, but it's the quickest way to try it out.

player1 = Player()
player2 = Player()
player2._mclock = player1._mclock

Weird things will probably happen if you try to play or stop and the clock 
is shared but not the rest.

A better way would be to write your own Player, handling multiple sources. 
Unless digging a bit in the code, you might find a robust way to 
externalise the clock which could be shared by multiple Players. The clock 
would be an EventHandler and playing or stopping one Player would propagate 
to the other players.

Good luck!

-- 
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 https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to