Hi.
I would like to know how many videos should I allow to be played at the same
time in my app.
Randomly I get a crash, it sounds like an audio buffer overflow. It starts
happening with 3 videos, not inmediately but sooner or later it crashes.I
tested setting volume=0 on all videos, but I get the same error.
So, should I limit the maximum playing videos to 2?
Does this depend on something like sizes, duration, or FPS?
FPS aprox = {1:60, 2:60, 3:36, 4:23)
PC: XP AthlonX2 4200, RAM=2Gb ECC
Complete stacktrace:
Traceback (most recent call last):
File "stx.py", line 25, in <module>
arrancar()
File "C:\STX\stx\arranque.py", line 29, in arrancar
PAN.arrancar()
File "C:\STX\stx\pantalla.py", line 840, in arrancar
self.__bucle()
File "C:\STX\stx\pantalla.py", line 869, in __bucle
self.refrescar()
File "C:\STX\stx\pantalla.py", line 873, in refrescar
self.ver()
File "C:\STX\stx\principal.py", line 2701, in ver
elif self.mod==MOD_EDI: self.__ver_editor()
File "C:\STX\stx\principal.py", line 2663, in __ver_editor
ESCENA.ver()
File "C:\STX\stx\principal.py", line 1990, in ver
self.origen.ver(self.t)
File "C:\STX\stx\principal.py", line 1138, in ver
self.__ver_hijos()
File "C:\STX\stx\principal.py", line 1159, in __ver_hijos
hijo.ver(self.t)
File "C:\STX\stx\principal.py", line 1135, in ver
self.sincronizar()
File "C:\STX\stx\principal.py", line 890, in sincronizar
self.sincronizar_video()
File "C:\STX\stx\archivo.py", line 565, in sincronizar_video
self.vid.dispatch_events()
File "C:\Python25\Lib\site-packages\pyglet\media\__init__.py", line 837, in di
spatch_events
self._fill_audio()
File "C:\Python25\Lib\site-packages\pyglet\media\__init__.py", line 643, in _f
ill_audio
for audio_data, audio_format in self._get_audio_data(write_size):
File "C:\Python25\Lib\site-packages\pyglet\media\__init__.py", line 678, in _g
et_audio_data
audio_data = source._get_audio_data(bytes)
File "C:\Python25\Lib\site-packages\pyglet\media\avbin.py", line 334, in _get_
audio_data
self._audio_buffer, size_out)
WindowsError: exception: access violation reading 0x010F3000
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---