I am trying to create a movie object out of a mp4 file that is corrupt (because of an abrupt interruption during a video recording on an Android phone).
However I end up with the exception:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List org.mp4parser.boxes.iso14496.part12.MovieBox.getBoxes(java.lang.Class)' on a null object reference
I know that the file exists, and that the file path is correct, the error is thrown when I try to run this line of code:
MovieCreator.build("theFile.mp4")
Does this mean that this library cannot be used on this file?
(I can also mention that the line of code above works fine on a non-corrupt mp4 video file)
I am trying to create a movie object out of a mp4 file that is corrupt (because of an abrupt interruption during a video recording on an Android phone).
However I end up with the exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List org.mp4parser.boxes.iso14496.part12.MovieBox.getBoxes(java.lang.Class)' on a null object reference
I know that the file exists, and that the file path is correct, the error is thrown when I try to run this line of code:
MovieCreator.build("theFile.mp4")
Does this mean that this library cannot be used on this file?
(I can also mention that the line of code above works fine on a non-corrupt mp4 video file)