Tested pygame that didn't work with sdl2 - and I did not want to install another version of the sdl. Tried pyglet which needed avbin for which I didn't find a source or an ARM binary. Checked ffmpeg-python which in fact worked for cool stuff like creating video overlays and converting audio and video, didn't seem to be the right choice for simply playing audio. It is noteworthy that one could instantiate more than one player if that helps (and have them play samples at the same time).Īlternative: gstreamer got Python bindings and mp3 as well as ogg decoding.ġ Installed ffmpeg along with sdl2 and ffpyplayer - didn't get it to play, both using pip3 and installing from github.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |