los-cocos / cocos

graphic library for games and multimedia, for python language on PC-like hardware
http://los-cocos.github.io/cocos-site/
Other
633 stars 146 forks source link

pyglet 1.5.8 compatibility problem in tetrico #338

Closed ccanepa closed 4 years ago

ccanepa commented 4 years ago

Even with pyglet_ffmpeg installed tetrico was silent and printing

(py38_pyglet) D:\tmp\samples\tetrico>python tetrico.py
warn: cocos running with no sound, no mp3 decoder found.
      Try installing pyglet_ffmpeg2.

It comes ftom changes in pyglet-1.5-maintenance, comit https://github.com/pyglet/pyglet/commit/d987026e97d536c8b8f5bce63d993bc4371f4ff2 just after the pyglet 1.5.7 release

They changed some internals and tetrico failed.

Not related to the problem but something that confused a bit the testing of the tetrico patch, there's a new audio-video decoder available in windows that does not need ffmpeg: decoders: [WMFDecoder['.asf', '.wma', '.wmv', '.mp3', '.sami', '.smi', '.3g2', ' .3gp', '.3gp2', '.3gp', '.aac', '.adts', '.avi', '.m4a', '.m4v', '.mov', '.mp4'] ]

ccanepa commented 4 years ago

fixed at 90b935090