FAQ  •  Register  •  Login

Serviio 1.5.2 Linux looks for ffmpeg.exe

<<

coque

Serviio newbie

Posts: 2

Joined: Mon Apr 27, 2015 10:00 am

Post Mon Apr 27, 2015 10:11 am

Serviio 1.5.2 Linux looks for ffmpeg.exe

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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Apr 27, 2015 11:36 am

Re: Serviio 1.5.2 Linux looks for ffmpeg.exe

in your startup script you're not passing -Dffmpeg.location variable. Where did you get the serviio.sh file?
<<

coque

Serviio newbie

Posts: 2

Joined: Mon Apr 27, 2015 10:00 am

Post Mon Apr 27, 2015 1:09 pm

Re: Serviio 1.5.2 Linux looks for ffmpeg.exe

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
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Apr 27, 2015 9:07 pm

Re: Serviio 1.5.2 Linux looks for ffmpeg.exe

It's needed now, due to changes in my build process.

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 31 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.