InvalidBoxHeaderException - Unable to make changes to Mp4 file:Unable to find next atom because identifier is invalid
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)
-
repo owner -
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.
-
repo owner thanks because I dont know the cause of this error
-
repo owner - changed status to invalid
No evidence was given, so closed.
- Log in to comment
What version are using, please retest with later/earlier version - is the problem isolated to Android, does it work okay on desktop ?