java.lang.RuntimeException: java.io.IOException: Cannot run program "/opt/airvideo-server/ffmpeg/ffmpeg ": error=2, No such file or directory at com.inmethod.air.video.common.ff.FFVideoSnapshotParser.getSnapshot(FFVideoSnapshotParser.java:50

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

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

Solutions on the web

via inmethod.com by Unknown author, 1 year ago
java.io.IOException: Cannot run program "/opt/airvideo-server/ffmpeg/ffmpeg ": error=2, No such file or directory at com.inmethod.air.video.common.ff.FFVideoSnapshotParser.getSnapshot(FFVideoSnapshotParser.java:50
java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
at com.inmethod.process.StandardProcessBuilderDelegate.start(StandardProcessBuilderDelegate.java:76)
at com.inmethod.process.ProcessBuilder.start(ProcessBuilder.java:111)
at com.inmethod.air.video.common.ff.FFVideoSnapshotParser.getSnapshot(FFVideoSnapshotParser.java:396)
at com.inmethod.air.video.common.thumbnail.ThumbnailParser.parseThumbnail(ThumbnailParser.java:67)
at com.inmethod.air.video.common.thumbnail.ThumbnailParser.parseThumbnailInternal(ThumbnailParser.java:104)
at com.inmethod.air.video.common.thumbnail.ThumbnailParser.parseThumbnail(ThumbnailParser.java:139)
at com.inmethod.air.video.v0240.info.MediaInfoParser.parseMediaInfo(MediaInfoParser.java:80)
at com.inmethod.air.video.v0240.model.fs.FileSystemVideoItem.loadDetail(FileSystemVideoItem.java:59)
at com.inmethod.air.video.v0240.model.BrowseService$2$1.run(BrowseService.java:276)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

2 times, 1 month ago
Once, 1 month ago
Once, 2 months ago
15 times, 3 months ago
6 times, 3 months ago

Write tip

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