Page 1 of 3
Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 3:01 pm
by mmarauder
I just recently upgraded to Serviio-1.0, which is fantastic I might add, but media browser is not functioning correctly. I have configured my firewalls to allow the port and I am able to login and view all my files, but not play. I get the error:
200,Stream not found, NetStream.Play.StreamNotFound,clip '[Clip] 'https://*********************:23424/cds/resource/28/MEDIA_ITEMFLV-0/ORIGINAL,flv_player?authToken=30429315968046b0b00069978005d60d" I have tried changing my files permissions to 777 encase it was a permissions issue but that did not solve the problem. I have checked the error longs and the only thing that I found that looks somewhat related is:
2012-07-30 10:42:26,455 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-28-flv_player-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
2012-07-30 10:42:26,855 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-28-flv_player-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
2012-07-30 10:42:27,155 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-28-flv_player-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
Everything else is in regards to LibraryManager and not being able to read the metadata for a certain file. I was wondering if anyone else has come across this and knows the fix. Thanks.
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 3:31 pm
by zip
couple of things -
1) try it again, then try to open the URL in a web browser or VLC player
2) if the above works, try to upgrade your Flash plugin or try a different browser
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 4:00 pm
by mmarauder
Thanks,
I tried using VLC >> streaming >> Network then pasting in
http://*****************:23424/cds/reso ... 978005d60d (removed my hostname for security) but nothing happends it just sits there trying to load. VLC does not produce any errors. I tried using other computers and browsers to rule out my machine or flash player( both browsers and flash are up to date on all machines). Going to the link directly( using the one listed above) gives me:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
- <result>
<httpCode>500</httpCode>
</result>
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 4:10 pm
by zip
ok, can you enable
detailed logging and try to open the URL again? then post the log here.
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 4:47 pm
by will
Unless you have installed a new version of ffmpeg over what your OS has, ffmpeg is too old and won't accept the commandline options being passed to it.
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 5:23 pm
by mmarauder
These are the logs files. I connected first through the media browser, then connected using the url directly in my browser,then I tried connecting through VLC streaming.
2012-07-30 13:20:41,254 DEBUG [MediaItemDAOImpl] Media item 03 i against i stop.mp3 already exists in DB
2012-07-30 13:20:41,254 DEBUG [RepositoryDAOImpl] Marking Repository 7 as scanned with current timestamp
2012-07-30 13:20:43,418 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 172.20.0.5, timeout = 0
2012-07-30 13:20:43,418 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 823fc0eb-c2cc-3cd5-8fc7-23e4859e7974
2012-07-30 13:20:45,220 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:45
2012-07-30 13:20:52,309 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2012-07-30 13:20:52,309 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2012-07-30 13:21:14,324 DEBUG [RendererManager] Adding renderer Renderer [uuid=4e2874b2-8ae5-45b0-be94-25d09af5791e, ipAddress=172.20.0.30, name=Windows Media Player, profileId=1, manuallyAdded=false, forcedProfile=false, enabled=true, accessGroupId=1] to list of active renderers
2012-07-30 13:21:29,081 WARN [ServiioStatusService] AuthenticationException occured. Returning error code 401 to the REST layer. Message: The provided authentication token is invalid or expired.
2012-07-30 13:21:29,081 DEBUG [ServiioStatusService] Detailed exception:
org.serviio.restlet.AuthenticationException: The provided authentication token is invalid or expired.
at org.serviio.upnp.service.contentdirectory.rest.resources.server.LoginServerResource.validateToken(LoginServerResource.java:71)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:52)
at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
at org.restlet.resource.Finder.handle(Finder.java:510)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
at org.restlet.Application.handle(Application.java:388)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.Component.handle(Component.java:388)
at org.restlet.Server.handle(Server.java:488)
at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:695)
at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2012-07-30 13:21:30,319 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 172.20.0.5, timeout = 0
2012-07-30 13:21:30,319 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 823fc0eb-c2cc-3cd5-8fc7-23e4859e7974
2012-07-30 13:21:32,121 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:00:50
2012-07-30 13:21:43,897 WARN [ServiioStatusService] AuthenticationException occured. Returning error code 401 to the REST layer. Message: The provided authentication token is invalid or expired.
2012-07-30 13:21:43,897 DEBUG [ServiioStatusService] Detailed exception:
org.serviio.restlet.AuthenticationException: The provided authentication token is invalid or expired.
at org.serviio.upnp.service.contentdirectory.rest.resources.server.LoginServerResource.validateToken(LoginServerResource.java:71)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:52)
at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
at org.restlet.resource.Finder.handle(Finder.java:510)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
at org.restlet.Application.handle(Application.java:388)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.Component.handle(Component.java:388)
at org.restlet.Server.handle(Server.java:488)
at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:695)
at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 5:34 pm
by zip
did you just use the previous URL? The authToken part is expired, you have to log in again into MediaBrowser, try to play a file an then use the new URL that is in the player window error message. You should see some FFmpeg command execution in the log then.
Re: Media Browser strange behaviour

Posted:
Mon Jul 30, 2012 5:42 pm
by mmarauder
2012-07-30 13:40:08,650 DEBUG [CDSRetrieveMediaServerResource] Request for content delivery accepted
2012-07-30 13:40:08,650 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/***********, Profile=Flash player'
2012-07-30 13:40:08,650 DEBUG [ResourceDeliveryProcessor] Request for resource 28 and type 'MEDIA_ITEM' received
2012-07-30 13:40:08,650 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 28 (local)
2012-07-30 13:40:08,650 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 28)
2012-07-30 13:40:08,650 DEBUG [VideoDAOImpl] Reading a Video (id = 28)
2012-07-30 13:40:08,650 DEBUG [VideoDeliveryEngine] Delivering item '28' for client 'IPAddress=/*****************, Profile=Flash player'
2012-07-30 13:40:08,650 DEBUG [VideoDeliveryEngine] Delivering file '*******.*******.S04E03.Hidef.Hdtv.Evolve.mkv' using transcoding
2012-07-30 13:40:08,650 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/********************, Profile=Flash player'
2012-07-30 13:40:08,651 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-28-flv_player-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
2012-07-30 13:40:08,651 DEBUG [ServiioStatusService] Detailed exception:
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-28-flv_player-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.CDSRetrieveMediaServerResource.deliver(CDSRetrieveMediaServerResource.java:65)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:449)
at org.restlet.resource.ServerResource.get(ServerResource.java:645)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:527)
at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:587)
at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:299)
at org.serviio.restlet.AbstractProEditionServerResource.doConditionalHandle(AbstractProEditionServerResource.java:35)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractCDSServerResource.doConditionalHandle(AbstractCDSServerResource.java:50)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:53)
at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
at org.restlet.resource.Finder.handle(Finder.java:510)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
at org.restlet.Application.handle(Application.java:388)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.Component.handle(Component.java:388)
at org.restlet.Server.handle(Server.java:488)
at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:695)
at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2012-07-30 13:40:09,050 DEBUG [CDSRetrieveMediaServerResource] Request for content delivery accepted
Yes, I had updated the Token. I have done it again and I found the line "Transcoded file '/tmp/Serviio/transcoding-temp-28-flv_player-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed' which I am assuming is the cause of the problem. I do not know how to correct this problem though.
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 5:47 pm
by zip
Ok, it looks like you have old FFmpeg. What is your OS? If Linux you might have to build FFmpeg from the sources on serviio.org/download (or see the
wiki for details)
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 5:49 pm
by mmarauder
uname -a
Linux crane3 2.6.38-9-generic #43-Ubuntu SMP Thu Apr 28 15:23:06 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
ffmpeg -- version
FFmpeg version 0.6.6-4:0.6.6-0ubuntu0.11.04.1, Copyright (c) 2000-2010 the Libav developers
built on Jun 12 2012 16:35:16 with gcc 4.5.2
I'm compiling ffmpeg from source from your website now.
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 6:47 pm
by mmarauder
I have upgraded ffmprg and lame and librtmp using the source code form the downloads page. I have restarted the server and it now displays this:
ffmpeg --version
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 30 2012 13:58:02 with gcc 4.5.2
configuration:
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
But the file still does not play in the media browser, web browser, or vlc. I have checked the logs and do not see anything mentioning the file like before.
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 7:54 pm
by zip
what do you get back when opening the URL in the browser, an error again ? If yes, there must be an error in the log (make sure you have detailed on)
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 8:26 pm
by mmarauder
I recompiled ffmpeg so now the version reads:
ffmpeg --version
ffmpeg version git-2012-07-30-a85b4a5 Copyright (c) 2000-2012 the FFmpeg developers
built on Jul 30 2012 16:14:13 with gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
libavutil 51. 66.100 / 51. 66.100
libavcodec 54. 45.100 / 54. 45.100
libavformat 54. 22.100 / 54. 22.100
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 5.101 / 3. 5.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
When going to the page I get the same error I believe:
2012-07-30 16:20:32,037 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'IPAddress=/****, Profile=Flash player'
2012-07-30 16:20:32,037 DEBUG [ResourceDeliveryProcessor] Request for resource 28 and type 'MEDIA_ITEM' received
2012-07-30 16:20:32,037 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 28 (local)
2012-07-30 16:20:32,037 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 28)
2012-07-30 16:20:32,037 DEBUG [VideoDAOImpl] Reading a Video (id = 28)
2012-07-30 16:20:32,037 DEBUG [VideoDeliveryEngine] Delivering item '28' for client 'IPAddress=/*********, Profile=Flash player'
2012-07-30 16:20:32,037 DEBUG [VideoDeliveryEngine] Delivering file '******.********.S04E03.Hidef.Hdtv.Evolve.mkv' using transcoding
2012-07-30 16:20:32,037 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/***********, Profile=Flash player'
2012-07-30 16:20:32,037 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: Transcoded file '/tmp/Serviio/transcoding-temp-28-flv_player-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
2012-07-30 16:20:32,037 DEBUG [ServiioStatusService] Detailed exception:
java.io.IOException: Transcoded file '/tmp/Serviio/transcoding-temp-28-flv_player-ORIGINAL.stf' cannot be found, FFmpeg execution probably failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:45)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.CDSRetrieveMediaServerResource.deliver(CDSRetrieveMediaServerResource.java:65)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:449)
at org.restlet.resource.ServerResource.get(ServerResource.java:645)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:527)
at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:587)
at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:299)
at org.serviio.restlet.AbstractProEditionServerResource.doConditionalHandle(AbstractProEditionServerResource.java:35)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractCDSServerResource.doConditionalHandle(AbstractCDSServerResource.java:50)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:53)
at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
at org.restlet.resource.Finder.handle(Finder.java:510)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
at org.restlet.Application.handle(Application.java:388)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.Component.handle(Component.java:388)
at org.restlet.Server.handle(Server.java:488)
at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:695)
at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 8:34 pm
by zip
further up in the log you should see the FFmpeg command used. Find it and try to run it locally, then post the error
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 8:53 pm
by mmarauder
I have gone back through the logs and could not find the ffmpeg command. I did find this however: [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/66.36.227.200, Profile=Flash player'
So I went and tried a different file, and it worked fine. I tried lots of other files and they all worked. What I believe is happening is when I was testing it every time with the same file for continuity but it was trying to use the old transcoding job from when my ffmpeg wasn't correct. How can I delete any current/old transcoding jobs. I checked in /tmp/Serviio and nothing was there, yet the logs still say a suitable transcoding job exists and my config is using the default location for transcoding.
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 8:57 pm
by zip
it keeps a trace of those in memory, so serviio restart should be enough
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 9:02 pm
by mmarauder
Ok, I'll restart the serviio sever. Thanks for all your help, I really appreciate it.
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 9:14 pm
by mmarauder
I have another question, I know its off topic but I was wondering if you could help me quickly. I have the perferred quality for remote set to original and I see in the video in media browser that it lists the other play qualities, medium, low, original. I am unable to change them from this windows, unless I change it from the console. Is there a way I can enable changing of the quality through the media browser?
Re: Media Browser will not stream any files

Posted:
Mon Jul 30, 2012 9:16 pm
by zip
yes, but you have to start playing it first - a bit rubbish, I agree, but that's what the Flowplayer plugin allows.
Re: Media Browser will not stream any files

Posted:
Sat Aug 04, 2012 10:20 am
by FastLaneJB
I know this is an old thread but I believe I have a similar problem to what's being mentioned here but with Windows.
Basically I've got a Linux VM running 0.62 just fine, I'll upgrade that when there's a new WebGUI so it's easy to control but I wanted to test the new Serviio because both the access control and more importantly the Media Browser sound great. I'll happily pay for these features, you've done a great job Zip on Serviio over the years.
But the problem. So I installed a clean Windows 7 x64 VM. The installer failed to put it's own Java on (Timeout on download) so I went to Oracle's site and put on the 64bit version of Java 6 Update 33. Serviio now installed fine.
Pointed it to a few test MKV files which are 1080p HD but only about 3 minutes in length. Set my password and logged into the MediaBrowser from another machine. It's really nice and slick so well done there Zip.
Play a video. Works fine on Medium which I left it on. Switch it to Low quality while playing, also works fine. Switch it to Original however and I get the same error that this thread is talking about. If I look in the Temp folder when switching between qualities I see the file name change. When going to Original it creates the ORIGINAL file but it's 256KB and never increases in size.
Trying it locally from the machine that Serviio is on makes no difference.
The log in debug reports...
- Code:
2012-08-04 11:17:44,649 DEBUG [AbstractTranscodingDeliveryEngine] A suitable transcoding job already exists, re-use it for client 'IPAddress=/127.0.0.1, Profile=Flash player'
2012-08-04 11:17:44,649 WARN [ServiioStatusService] IOException occured. Returning error code 500 to the REST layer. Message: FFmpeg execution failed
2012-08-04 11:17:44,649 DEBUG [ServiioStatusService] Detailed exception:
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:125)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:95)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:120)
at org.serviio.delivery.ResourceDeliveryProcessor.deliverContent(ResourceDeliveryProcessor.java:84)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.CDSRetrieveMediaServerResource.deliver(CDSRetrieveMediaServerResource.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:449)
at org.restlet.resource.ServerResource.get(ServerResource.java:645)
at org.restlet.resource.ServerResource.doHandle(ServerResource.java:527)
at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:587)
at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:299)
at org.serviio.restlet.AbstractProEditionServerResource.doConditionalHandle(AbstractProEditionServerResource.java:35)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractCDSServerResource.doConditionalHandle(AbstractCDSServerResource.java:50)
at org.serviio.upnp.service.contentdirectory.rest.resources.server.AbstractRestrictedCDSServerResource.doConditionalHandle(AbstractRestrictedCDSServerResource.java:53)
at org.restlet.resource.ServerResource.handle(ServerResource.java:846)
at org.restlet.resource.Finder.handle(Finder.java:510)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:72)
at org.restlet.Application.handle(Application.java:388)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Router.doHandle(Router.java:497)
at org.restlet.routing.Router.handle(Router.java:737)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:151)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.routing.Filter.doHandle(Filter.java:156)
at org.restlet.routing.Filter.handle(Filter.java:203)
at org.restlet.engine.ChainHelper.handle(ChainHelper.java:111)
at org.restlet.Component.handle(Component.java:388)
at org.restlet.Server.handle(Server.java:488)
at org.restlet.engine.http.connector.BaseServerHelper.handle(BaseServerHelper.java:158)
at org.restlet.engine.http.connector.BaseServerHelper.handleInbound(BaseServerHelper.java:167)
at org.restlet.engine.http.connector.BaseHelper.handleNextInbound(BaseHelper.java:418)
at org.restlet.engine.http.connector.Connection.readMessages(Connection.java:695)
at org.restlet.engine.http.connector.Controller$2.run(Controller.java:95)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
As it's a clean Windows with just Serviio 1.0 installed it'll be using the ffmpeg supplied in the Windows installer so that should be fine. I'll give it a whirl with some other files to see if that makes a difference.
Any ideas though?
EDIT: OK tried it with an SD avi file and that seems to work fine in all 3 qualities. So it's got to be something to do with the MKV files and ffmpeg. What's the command that it runs so I can try it from the command line to see what the ffmpeg error is?