Linux installation won't stream online sources
I also have an Ubuntu Linux media server on the same home network, which serves static media files using miniDLNA. It also works fine, but can't serve web radio streams.
So I thought I would install Serviio on the Linux machine and run only one DLNA server, retiring the miniDLNA.
I followed the instructions here: http://www.wiki.serviio.org/doku.php?id ... all:ubuntu
Unfortunately, Ubuntu doesn't have ffmpeg in its repositories, so I had to compile and install it.
The server runs and serves static files. The problem is that it loads and displays online sources but they don't play on either my stereo or my Samsung Galaxy 5 using MediaHouse. This is a deal-breaker, because the ability to stream the web radio files is the reason I want to replace miniDLNA with Serviio. Otherwise the Serviio installation is just taking up heaps of space (java and ffmpeg are very large) for no gain.
This can't be a network issue, as the Windows and Linux machines are on the same network and workgroup.
Nor can it be a problem with my devices as the Windows Serviio installation correctly streams my online sources to all my devices.
It doesn't seem to be an installation issue, as the Linux Serviio installation appears to work in all other respects.
Set-up details:
Ubuntu 14.04
Serviio v. 1.5.2
Java version 1.8.0_66
ffmpeg 2.8.1
From the log, it seems to be an ffmpeg error. Here is an excerpt from the log which I am guessing is related to the problem:
2015-10-29 14:35:24,618 WARN [ProcessExecutor] Process ffmpeg has a return code of 1! This is a possible error. Detailed output follows.
icy-br : 32
Stream #0:0: Audio: mp3, 0 channels, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mp3 (native) -> ? (?))
Encoder (codec mp3) not found for output stream #0:0
2015-10-29 14:36:00,653 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: Transcoded stream is empty, FFmpeg execution probably failed or connection has been lost.
java.io.IOException: Transcoded stream is empty, FFmpeg execution probably failed or connection has been lost.
at org.serviio.delivery.resource.transcode.StreamBasedTranscodingDeliveryStrategy.createInputStream(StreamBasedTranscodingDeliveryStrategy.java:68)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:135)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:110)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:151)
at org.serviio.delivery.GETMethodProcessor.retrieveResource(GETMethodProcessor.java:121)
at org.serviio.delivery.GETMethodProcessor.buildDeliveryContainer(GETMethodProcessor.java:48)
at org.serviio.delivery.AbstractMethodProcessor.handleRequest(AbstractMethodProcessor.java:132)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:81)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:86)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
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)
At the moment I have reenabled the Serviio server on the Windows machine and the miniDLNA server on the Ubuntu machine.