Skip to content
Discussion options

You must be logged in to vote

This works:

FFmpeg.atPath()
.addInput(
UrlInput.fromUrl(concatFile.getAbsolutePath())
.addArguments("-f", "concat")
.addArguments("-safe", "0")
)
.addArguments("-c", "copy")
.setOverwriteOutput(true)
.addOutput(UrlOutput.toUrl(new File(dir, "concatenated.mp4").getAbsolutePath()))
.execute();

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@daltontf
Comment options

@kokorin
Comment options

@daltontf
Comment options

@kokorin
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kokorin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants