Thanks again!
python -c 'import struct;print( 8 * struct.calcsize("P"))' does output 32!
I never installed pyglet using apt-get, but I just downloaded the source
distribution of 1.1.4 and installed with the setup.py.
Am Mittwoch, 29. Januar 2014 00:00:31 UTC+1 schrieb
[email protected]:
>
> Please help me! I already searched for over 2hrs but I cannot seem to get
> this working.
>
> I got this demo script from pyglet:
>
> import pyglet
>
> music = pyglet.resource.media('music.mp3')
> music.play()
>
> pyglet.app.run()
>
> Trying to run this always gives me following errors:
>
> File "/home/christian/public/audio.py", line 3, in <module>
> music = pyglet.resource.media('music.mp3')
> File "/usr/local/lib/python2.7/dist-packages/pyglet/resource.py", line
> 623, in media
> return media.load(path, streaming=streaming)
> File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py",
> line 1412, in load
> source = get_source_loader().load(filename, file)
> File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py",
> line 1393, in load
> return riff.WaveSource(filename, file)
> File "/usr/local/lib/python2.7/dist-packages/pyglet/media/riff.py", line
> 201, in __init__
> 'AVbin is required to decode compressed media')
> pyglet.media.riff.WAVEFormatException: AVbin is required to decode
> compressed media
>
> At the moment I have the pyglet version from 'pip install --upgrade
> http://pyglet.googlecode.com/archive/tip.zip' before I installed the 1.4
> version manually.
> My Avbin versions should be 10 as well as 7. Two versions because I tried
> installing the older version afterwards as I read somewhere that this
> should probably fix the problem, but it did not.
>
> Any help is greatly appreciated!
>
> Thank you :)
>
> Regards,
>
> Christian
>
>
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.