Page 1 of 1

1.9 not working on Qnap TS-121

PostPosted: Sun Sep 03, 2017 9:28 am
by scicchi
Hello, I am (I was?) a happy user of Serviio and I bought a Pro licence a long time ago.
Recently I upgraded my Qnap to QTS 4.3.3 and Serviio to 1.9
Now I can't stream the most of my videos on my Qnap with Serviio anymore, while I can play them through the default Qnap application ("Media Streaming Add-on"). On Serviio the transcoding feature is switched off (I tried to switch it on as well but nothing changes).
Some videos still can be played, others freeze every two seconds, some others don't even start.

I believe there is something wrong with ffmpeg, because the log file contains the following:

2017-09-03 10:05:17,990 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded file '/share/HDA_DATA/.qpkg/Serviio/tmp/Serviio/transcoding-temp-cd6f18db9b764975f73e0e0e90fd8f9e.stf' cannot be found, FFmpeg execution probably failed
java.io.IOException: Transcoded file '/share/HDA_DATA/.qpkg/Serviio/tmp/Serviio/transcoding-temp-cd6f18db9b764975f73e0e0e90fd8f9e.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
at org.serviio.delivery.resource.transcode.AbstractAVTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractAVTranscodingDeliveryEngine.java:137)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:152)
at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:96)
at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:46)
at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:133)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:81)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:82)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:66)
at org.apache.http.protocol.HttpService.doService(HttpService.java:423)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:78)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:341)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:204)

I reinstalled Serviio 1.9 and JRE 8.131.1 from scratch without joy.

What should I try? I want my Serviio back!

Thank you in advance for support

Re: 1.9 not working on Qnap TS-121

PostPosted: Sun Sep 03, 2017 7:19 pm
by atc98092
I suggest updating ffmpeg, as I believe you are correct that it is the root of the problem. I can't help you with instructions on doing that on a NAS, though. Perhaps the NAS sub-forum might have a thread about it.

Re: 1.9 not working on Qnap TS-121

PostPosted: Mon Sep 04, 2017 12:35 pm
by zip
can you execute the ffmpeg executable via ssh session or does it crash (it should be at /share/HDA_DATA/.qpkg/Serviio/lib/ffmpeg )? Also, do you have any free space under /share/HDA_DATA/.qpkg/Serviio/tmp ?

Re: 1.9 not working on Qnap TS-121

PostPosted: Mon Sep 04, 2017 12:44 pm
by scicchi
First of all, thank you for your support.

Alas, my Linux knowledge is close to zero, so I can connect via SSH with WinSCP and maybe I could do via command line, but I wonder how to launch ffmpeg.

Would you be so kind to write the sequence of commands I should enter via ssh after logon?

Thanks

scicchi

Re: 1.9 not working on Qnap TS-121

PostPosted: Tue Sep 05, 2017 10:53 am
by zip
you'd connect via Putty

then something like

  Code:
cd /share/HDA_DATA/.qpkg/Serviio/lib
./ffmpeg


See if it crashes or not.

Re: 1.9 not working on Qnap TS-121

PostPosted: Tue Sep 05, 2017 11:41 am
by scicchi
Good news! Serviio 1.9 now is working again!

I simply updated ffmpeg (I downloaded from the french Qnap forum) and restarted the system.

Thank you so much for your appreciated support.

scicchi