Page 1 of 1

[Solved]Problem with ffmpeg on a QNAP ts-219P

PostPosted: Mon Jul 15, 2013 9:20 pm
by psychou
Hi,

I'm using serviio 1.2.1 on a qnap nas ts-219P and the console on a windows 8 pc.
My problem is that i can't see anything in my shared folder. But when I use the QNAP DLNA or Twonky server, I see all my videos. The permissions on the folder is OK.
I've added the right linux path on the console.
In the serviio log file, I have a permission error with ffmpg :
  Code:
2013-07-15 22:56:11,992 WARN  [LibraryManager] Skipping processing metadata for an unsupported file. Message: Unknown video file type.
2013-07-15 22:56:13,519 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "/root/.serviio/opt/bin/ffmpeg": java.io.IOException: error=13, Permission denied
java.io.IOException: Cannot run program "/root/.serviio/opt/bin/ffmpeg": java.io.IOException: error=13, Permission denied
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
        at org.serviio.external.ProcessExecutor.run(ProcessExecutor.java:135)
Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
        ... 1 more
2013-07-15 22:56:13,525 WARN  [ProcessExecutor] Cannot retrieve results, output reader is null

When I've installed serviio no errors has been reported...
Can anybody help me ?

Psychou

Re: Problem with ffmpg on a QNAP ts-219P

PostPosted: Tue Jul 16, 2013 8:59 pm
by Xmantium
Use the v1.2.1 compatible web ui here - https://github.com/mpemberton5/Web-UI-f ... master.zip

Re: Problem with ffmpg on a QNAP ts-219P

PostPosted: Tue Jul 16, 2013 9:08 pm
by will
That error has nothing to do with using a web ui.

Have you checked that /root/.serviio/opt/bin/ffmpeg is marked as executable ?
  Code:
 ls -l /root/.serviio/opt/bin

If it doesn't have x set, then run
  Code:
chmod +x /root/.serviio/opt/bin/ffmpeg


Also, what happens if you run ffmpeg manually
  Code:
/root/.serviio/opt/bin/ffmpeg

Re: Problem with ffmpg on a QNAP ts-219P

PostPosted: Tue Jul 16, 2013 10:09 pm
by psychou
Hi,

Will, that was it !
ffmpeg and ffmpeg_binary was not marked as executable.
After a little chmod +x, that's working good !

Thank you so much !

Psychou