pillitoka on 2020/03/28 23:55
(log in to comment)
I'm getting a pyglet error. I'm not very familiar with pyglet or ffmpeg. Does anyone have any suggestions? I'm on Ubuntu.
pyglet.media.codecs.ffmpeg.FFmpegException: avformat_open_input in ffmpeg_open_filename returned an error opening file /home/christopher/Downloads/pyweek/29/puggu/game/../resources/sounds/gameOver_screamstudio.wav Error code: -1094995529
Output file #0 does not contain any stream
It is also our fist time with pyglet. From what you describe it looks like pyglet is having trouble decoding this file.
If the problem is with the game over sound file only, try commenting out the following lines:in puggu --> game --> gameModules --> resources.py, line 57in puggu --> game --> run_game.py, line 148
Then this sound is neither loaded nor played. Hopefully you wont reach game over and wont miss it!Can you please let us know if that worked?
If you have trouble with other sounds also, let me know. I will list out all the places where the sounds are played in the code.