When i run this code:
String cmd = mFfmpegInstallPath+" -f image2 -i "+Environment.getExternalStorageDirectory()+"/ffmpeg/img%03d.png "+Environment.getExternalStorageDirectory()+"/tmp/out.mp4"; Process p = Runtime.getRuntime().exec(cmd); I got a error:
Working Directory: null Environment: null
So how to run ffmpeg command line in android?