Reputation: 11
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
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