Hello,
I'd like to use JavaCPP and FFmpeg in order to transcode audio file from WAV (g711) to AMR and vice-versa.
Following example in the API doc I see that using of ProcessBuilder is suggested.
Now I would like to understand:
- is this a preferred method respect to the Runtime.exec() of the ffmpeg command? Why this approach should be better?
- if there is a more convenient (and performant) way to implement audio transcoding. For example by using directly the JNI implementation.
Thank you.
Regards.
Giuliano