java.io.IOException: Error running exec(). Command: [/data/data/com.flipartstudio.playandrecord/files/ffmpeg, /system/bin/ls, -l, /data/data/com.example.foo/files/ffmpeg] Working Directory: null Environment: null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

,
Expert tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

Solutions on the web

via Stack Overflow by Muhammad Hamza Shahid
, 1 year ago
Error running exec(). Command: [/data/data/com.flipartstudio.playandrecord/files/ffmpeg, /system/bin/ls, -l, /data/data/com.example.foo/files/ffmpeg] Working Directory: null Environment: null
via Stack Overflow by Urvashi Patel
, 11 months ago
Error running exec(). Command: [/data/data/com.example.bansi_vasundhara.videotomp3_demo/files/ffmpeg, /data/data/com.example.bansi_vasundhara.videotomp3_demo/files/ffmpeg, -i, file:///android_asset/SampleVideo.mp4, -vn, -acodec copy, /storage/sdcard0/VideoToMP3/SampleMP3.mp3] Working Directory: null Environment: null
via GitHub by mhamzashahid
, 1 year ago
Error running exec(). Command: [/data/data/com.flipartstudio.playandrecord/files/ffmpeg, ffmpeg, -i, /storage/emulated/0/media/audio/a.mp3, -i, /storage/emulated/0/recording.3gp, -filter_complex, "[0:a][1:a]amerge=inputs=2[aout]", -map, "[aout]", /storage/emulated/0/recording.3gp] Working Directory: null Environment: null
via Stack Overflow by Krish
, 6 months ago
Error running exec(). Command: [/data/user/0/ensis.selfiereporter/files/ffmpeg, -i, /storage/emulated/0/1493821898.mp4, -c:v, libx264, /storage/emulated/0/1493821898.mp4] Working Directory: null Environment: null
via GitHub by Shahar2k5
, 1 year ago
Error running exec(). Command: [/data/data/com.myApp.app/files/ffmpeg, -i /data/data/com.myApp.app/app_myApp/ce902ba4ae56d0ced13daf3e5f4a19df.mp4 -strict -2 -c:v libx264 -preset ultrafast -threads 4 -vf crop=1080:1080:420:0 /data/data/com.myApp.app/app_myApp/ce902ba4ae56d0ced13daf3e5f4a19df_new.mp4] Working Directory: null Environment: null
via Stack Overflow by Stefan Ionescu
, 1 year ago
Error running exec(). Command: [/data/data/com.app.watermark.watermark/files/ffmpeg, -i, /storage/extSdCard/DCIM/Camera/video.avi, -i, /storage/extSdCard/DCIM/Camera/logo.png, -filter_complex, 'overlay=10:main_h-overlay_h-10', /storage/extSdCard/DCIM/Camera/watermarked.avi] Working Directory: null Environment: null
java.io.IOException: Error running exec(). Command: [/data/data/com.flipartstudio.playandrecord/files/ffmpeg, /system/bin/ls, -l, /data/data/com.example.foo/files/ffmpeg] Working Directory: null Environment: null
at java.lang.ProcessManager.exec(Native Method)
at java.lang.ProcessManager.exec(ProcessManager.java:209)
at java.lang.Runtime.exec(Runtime.java:168)
at java.lang.Runtime.exec(Runtime.java:123)
at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)
at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Once, 3 weeks ago
93 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.