Hagen Brooks
Hagen Brooks
@kerimovscreations This is probably because you are not using JDK8. You should implement it in your project, have a look here - https://developer.android.com/studio/write/java8-support
@YitianTonyXu Please close this issue. It is fixed.
This happens because you are passing a `Uri` instead of the file path. I know on Android 10> we can no longer access the file path where we could previously...
Please try the latest release: implementation 'org.mp4parser:isoparser:1.9.41' implementation 'org.mp4parser:muxer:1.9.41' This should fix the out of memory issue. Also, please close the issue if it fixed your issue.
I deleted my previous comment because it doesn't seem like the link I mentioned resolved the issue. Google is in the process of forcing Android developers to use only content...
Using an older version of mp4parser I'm able to pass the following: ```java FileInputStream inputStream = new FileInputStream(context.getContentResolver().openFileDescriptor(uri, "r").getFileDescriptor()); video = MovieCreator.build(new FileDataSourceImpl(inputStream.getChannel())); ``` For some reason this was removed...
Have a look at this question #25
This is probably caused by your progaurd
Add the following in your progaurd-rules.pro: -keep class org.mp4parser.** {*;}
This is fixed in `1.9.41`, please close the issue when you have confirmed this.