You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ProcessBuilder pb = new ProcessBuilder(ffmpeg, "-i", "/path/to/input.mp4", "-vcodec", "h264",
"/path/to/output.mp4");`
pb.inheritIO().start().waitFor();
When I'm trying to load the executable file path,I find the filename to find is like "platform/ffmpeg",and via classLoader,it can't be found.The platform means android-x86,android-x86_64,android-arm or android-arm64.
Instead,I find it that when I change the filename param to "lib/platform/ffmpeg",the executable file will be found by classLoader.Here,the platform means arm64-v8a,armeabi-v7a,x86, or x86_64.
This occurs only on Android platform so far in my environments.Below is the cache file tree of the app.
Hope that you can get what I'm talking.Emmm,my English skill is poor,thanks. Just the "helloworld" code doesn't work on android.