Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when playing mp3 with large cover/artwork #13

Open
cjpsycos opened this issue Apr 12, 2019 · 0 comments
Open

Exception when playing mp3 with large cover/artwork #13

cjpsycos opened this issue Apr 12, 2019 · 0 comments

Comments

@cjpsycos
Copy link

I'm getting an exception when I try to play a MP3 file with a cover/artwork-image size greater than 1650x1650 pixels.
It is not about how many covers are included in the MP3 file, but the size of them.

java.io.IOException: Resetting to invalid mark
at java.base/java.io.BufferedInputStream.reset(BufferedInputStream.java:454)
at org.tritonus.share.sampled.file.TAudioFileReader.getAudioInputStream(TAudioFileReader.java:330)
at javazoom.spi.mpeg.sampled.file.MpegAudioFileReader.getAudioInputStream(Unknown Source)
at javazoom.spi.mpeg.sampled.file.MpegAudioFileReader.getAudioInputStream(Unknown Source)
at java.desktop/javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1062)
at audio.player.TestPlayMp3.testPlay(TestPlayMp3.java:21)
at audio.player.TestPlayMp3.main(TestPlayMp3.java:16)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant