InvalidBoxHeaderException - Unable to make changes to Mp4 file:Unable to find next atom because identifier is invalid

Issue #80 invalid
hojjat imani created an issue

I try to set title and artist of a .m4a file using following code in android:

agOptionSingleton.getInstance().setAndroid(true); AudioFile audioFile = AudioFileIO.read(new File("file.m4a")); Tag newTag = audioFile.getTag(); newTag.setField(FieldKey.TITLE, "songTitle"); newTag.setField(FieldKey.ARTIST, "songArtist"); audioFile.commit();

it works on some devices but on some others I get following exeptions:

org.jaudiotagger.audio.exceptions.InvalidBoxHeaderException: Unable to find next atom because identifier is invalid ������"

org.jaudiotagger.audio.exceptions.CannotWriteException: Unable to make changes to Mp4 file:Unable to find next atom because identifier is invalid ������"

Comments (4)

  1. IJabz repo owner

    What version are using, please retest with later/earlier version - is the problem isolated to Android, does it work okay on desktop ?

  2. keerthi kumar

    What causes this error?? One of the users of my App( that uses jaudiotagger) is getting the same error. Will post on the environment details soon.

  3. Log in to comment