> Add an if statement to ensure their is a video source before you blit:
>
> if self.player.source and self.player.source.video_format:
>    # blit video

Thanks,  that did do the trick.  Maybe this should be added into the
manual ? (It's a simple fix but hard to guess if you don't already
know)

> I got a hugh number of errors with particular video files that I
> encoded to mpeg audio / mpeg video.  So it might be the video file, do
> you have another to try?
>
> How much experience do you have with video?  If you find that the
> video looks squished, read up on sample / pixel aspect ratios.  For
> easy transcoding on windows (and linux) try vlc.

I am working on video codecs so the chance of duff video is very
high,  that was the reason for picking one out of the Windows basic
install as an example :-)

Thanks for your help,

Boo

--~--~---------~--~----~------------~-------~--~----~
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