WizardEel
WizardEel

Reputation: 11

Trying to play large audio files with Pygame Mixer (Mac OS)

Whenever I try to run pygame.mixer_music.load('myfile.mp3') with big audio files, it tells me that pygame.error: mpg123_getformat: Failed to find valid MPEG data within limit on resync. (code 28)

This only happens with big audio files, I can play small ones just fine

Upvotes: 0

Views: 97

Answers (1)

F_H
F_H

Reputation: 1

For starters I think you need to add the full path of your mp3 file. For example:

pygame.mixer_music.load('/home/pi/Desktop/myfile.mp3')

Upvotes: -1

Related Questions