sannies/mp4parser

Cant Trim Videos

STICKnoLOGIC opened this issue · 0 comments

Hi!
want to share my experience and error that I encounter,
I migrate from version1.2.x to 1.9.x,
Screenshot_20221001_085650
as you can see, The error is in the MovieCreator.build, I checked first if the src file is null (but its not):
here is the code:
private static void generateVideo(@NonNull File src, @NonNull File dst, long startMs, long endMs, @NonNull OnVideoTrimListener callback) throws Exception { Movie movie = MovieCreator.build(src.getAbsolutePath()); //the error T_T /*other code to trim videos*/ }

Anyone can guide on why and how?

Thanks!