We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to run multiple command with 1 execute command. Here is my code:
val queries = arrayListOf<String>() imagePaths.forEachIndexed { index, path -> val query: Array<String> = FFmpegQueryExtension().mergeImageAndAudio( path, audioPaths[index], outputs[index] ) queries.addAll(query) } CallBackOfQuery().callQuery(queries.toTypedArray(), object : FFmpegCallBack { override fun statisticsProcess(statistics: Statistics) {} override fun process(logMessage: LogMessage) {} override fun success() { onSuccess(outputs) } override fun cancel() {} override fun failed() { onError() } })
And here is the queries output:
-y -loop 1 -i IMAGE#1PATH -i AUDIO#1PATH -shortest -c:a copy -preset ultrafast VIDEO#1PATH -y -loop 1 -i IMAGE#2PATH -i AUDIO#2PATH -shortest -c:a copy -preset ultrafast VIDEO#2PATH -y -loop 1 -i IMAGE#3PATH -i AUDIO#3PATH -shortest -c:a copy -preset ultrafast VIDEO#3PATH
I got 3 videos as output but they are the same as each other (all 3 videos got image#1 and audio#1 paths)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want to run multiple command with 1 execute command. Here is my code:
And here is the queries output:
I got 3 videos as output but they are the same as each other (all 3 videos got image#1 and audio#1 paths)
The text was updated successfully, but these errors were encountered: