Jan-11-2020, 10:42 AM
(This post was last modified: Jan-11-2020, 10:42 AM by constantin01.)
Hi
I use pyglet to play songs in wav and mp3 formats. According to docs of Pyglet, I should install ffmpeg, so I did it but problem is:
To be presice:
Windows 10 64x
>>> pyglet.version
'2.0.dev0'
I use pyglet to play songs in wav and mp3 formats. According to docs of Pyglet, I should install ffmpeg, so I did it but problem is:
p = pyglet.media.Player() file = pyglet.media.load(r'C:\Zeta.mp3') TraceBack (most recent call last): ... File "C:\Python3\lib\site-packages\pyglet\media\codecs\wave.py", line 59, in __init__ raise WAVEDecodeException(e) pyglet.media.codecs.wave.WAVEDecodeException: file does not start with RIFF idWhat is wrong? Probably, I installed ffmpeg in wrong way? What I do: install windows built from here: https://www.ffmpeg.org/ and then copy files into folder 'ffmpeg' in C:\ , after it I set a path in environment variables. How to check whether I installed ffmpeg correctly?
To be presice:
Windows 10 64x
>>> pyglet.version
'2.0.dev0'