Page 1 of 1

Serviio 1.5.2 Linux looks for ffmpeg.exe

PostPosted: Mon Apr 27, 2015 10:11 am
by coque
Hi there

The Serviio 1.5.2 on Linux now looks to execute 'lib\ffmpeg.exe' - which prevents it from indexing the newly added movies
Please see below the log file :
2015-04-26 20:26:06,777 WARN [ProcessExecutor] Cannot retrieve results, output reader is null
2015-04-26 20:26:06,778 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/home/NAS/Shared Series/Once Upon a Time/Once.Upon.a.Time-S03/Once.Upon.a.Time.S03E04.720p.HDTV.X264-DIMENSION.mkv). Message: Unknown video file type.
2015-04-26 20:26:06,781 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "lib\ffmpeg.exe": error=2, No such file or directory
java.io.IOException: Cannot run program "lib\ffmpeg.exe": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at org.serviio.external.ProcessExecutor.run(ProcessExecutor.java:135)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 1 more
2015-04-26 20:26:06,782 WARN [ProcessExecutor] Cannot retrieve results, output reader is null
2015-04-26 20:26:06,782 WARN [MetadataExtractionCoordinator] Skipping processing metadata for an unsupported file (/home/NAS/Shared Series/Once Upon a Time/Once.Upon.a.Time-S03/Once.Upon.a.Time.S03E02.720p.HDTV.X264-DIMENSION.mkv). Message: Unknown video file type.


Creating a link to ffmpeg with name 'lib\\ffmpeg.exe' solves the problem ;) but it was just to ensure it executes the right binary

Re: Serviio 1.5.2 Linux looks for ffmpeg.exe

PostPosted: Mon Apr 27, 2015 11:36 am
by zip
in your startup script you're not passing -Dffmpeg.location variable. Where did you get the serviio.sh file?

Re: Serviio 1.5.2 Linux looks for ffmpeg.exe

PostPosted: Mon Apr 27, 2015 1:09 pm
by coque
It's a simple startup script (setting JAVA_HOME and some JVM parameters).
I haven't had a need to provide -Dffmpeg.location location so far (till latest version Serviio managed to execute it w/o pointing to where ffmpeg is as long as it's location is in $PATH)
it's a minor problem - just was curious why it is looking for the windows executable in a linux build

Re: Serviio 1.5.2 Linux looks for ffmpeg.exe

PostPosted: Mon Apr 27, 2015 9:07 pm
by zip
It's needed now, due to changes in my build process.