sannies / mp4parser

A Java API to read, write and create MP4 files
Apache License 2.0
2.74k stars 563 forks source link

Can't load mp3 #389

Open NoobyPilot opened 5 years ago

NoobyPilot commented 5 years ago

Every time I try to load an mp3, i tried some downloaded and some self recorded, i get the following error:

java.io.IOException: Expected Start Word 0x7ff at org.mp4parser.muxer.tracks.MP3TrackImpl.readMP3Header(MP3TrackImpl.java:174) at org.mp4parser.muxer.tracks.MP3TrackImpl.readSamples(MP3TrackImpl.java:145) at org.mp4parser.muxer.tracks.MP3TrackImpl.(MP3TrackImpl.java:53) at org.mp4parser.muxer.tracks.MP3TrackImpl.(MP3TrackImpl.java:46)

I couldn't seem to find any Issue describing this problem, so I just want to ask: Is there already a known reason thatcauses this problem and/or a known way how to fix it?

HBiSoft commented 4 years ago

Have a look at this question #25

3c133ps3d commented 4 years ago

Solution is simple: don't use MP3 files.