FFmpeg-Android
FFmpeg-Android copied to clipboard
Can synchronous invocation be supported?
The nature of using ffmpeg as a separate binary (by java.lang.ProcessBuilder) makes it impossible to invoke it synchronously. On the other hand, you can use a small wrapper that will make the invocation seem synchronous, that will wait until the process is complete.
Note that you cannot run this pseudo-synchronous method on the main thread.
See this fork and particularly this commit that implements the wrapper I wrote about.