Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MovieCreator.build(file) NullPointerException #449

Open
StormLion opened this issue Dec 16, 2021 · 0 comments · May be fixed by #456 or #471
Open

MovieCreator.build(file) NullPointerException #449

StormLion opened this issue Dec 16, 2021 · 0 comments · May be fixed by #456 or #471

Comments

@StormLion
Copy link

I got a while i call the build method, just like below, can anybody help
public static void startTrim(File src, File dst, int startMs, int endMs) throws IOException { FileDataSourceImpl file = new FileDataSourceImpl(src); Movie movie = MovieCreator.build(file); // here i got the NullPointerException // remove all tracks we will create new tracks from the old List<Track> tracks = movie.getTracks(); movie.setTracks(new LinkedList<Track>());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant