FAQ  •  Register  •  Login

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

<<

psychou

Serviio newbie

Posts: 2

Joined: Mon Jul 15, 2013 9:03 pm

Post Mon Jul 15, 2013 9:20 pm

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

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
Last edited by psychou on Tue Jul 16, 2013 10:12 pm, edited 1 time in total.
<<

Xmantium

User avatar

DLNA master

Posts: 1396

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue Jul 16, 2013 8:59 pm

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

Use the v1.2.1 compatible web ui here - https://github.com/mpemberton5/Web-UI-f ... master.zip
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Tue Jul 16, 2013 9:08 pm

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

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
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

psychou

Serviio newbie

Posts: 2

Joined: Mon Jul 15, 2013 9:03 pm

Post Tue Jul 16, 2013 10:09 pm

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

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

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 16 guests

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