Hello,
I downloaded an official DIVX HD sample file from
http://www.divx.com/en/electronics/solutions/high-definition/divx-plus-hd/video - the "Up in the Air Trailer". I added it to the library as a .MKV, as .DIVX and a converted MPEG2TS. If I access the server using the Generic Profile, the player states that he found no playable files if I enter the folder.
So I created a profile that puts out a different mime-type for MKV as stated
here.
- Code:
<Profile id="7" name="Sony BDP-S370" extendsProfileId="1">
<Detection>
<X-AV-Client-Info>.*Blu-ray Disc Player.*</X-AV-Client-Info>
</Detection>
<MediaFormatProfiles>
<MediaFormatProfile mime-type="video/divx">MATROSKA</MediaFormatProfile>
</MediaFormatProfiles>
<Transcoding>
</Transcoding>
<AutomaticImageRotation>true</AutomaticImageRotation>
</Profile>
If I now try to look into Video/All titles/ serviio crashes as soon as I selected the starting letter folder:
- Code:
2010-06-13 18:05:37,912 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 6 and profile Sony BDP-S370
2010-06-13 18:05:37,912 ERROR [ContainerNode] Cannot retrieve results of action command: Cannot execute library command for list: null
org.serviio.upnp.service.contentdirectory.command.CommandExecutionException: Cannot execute library command for list: null
at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.java:117)
at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.executeListAction(ContainerNode.java:198)
at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.retrieveContainerItems(ContainerNode.java:96)
at org.serviio.upnp.service.contentdirectory.definition.ActionNode.retrieveContainerItems(ActionNode.java:127)
at org.serviio.upnp.service.contentdirectory.ContentDirectory.Browse(ContentDirectory.java:154)
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.serviio.upnp.protocol.soap.ServiceInvoker.invokeOperation(ServiceInvoker.java:253)
at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:93)
at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:73)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:50)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:166)
Caused by: java.lang.NullPointerException
at java.util.Collections$UnmodifiableCollection.<init>(Unknown Source)
at java.util.Collections$UnmodifiableList.<init>(Unknown Source)
at java.util.Collections.unmodifiableList(Unknown Source)
at org.serviio.delivery.resource.transcode.TranscodingConfiguration.getDefinitions(TranscodingConfiguration.java:36)
at org.serviio.delivery.resource.VideoDeliveryEngine.getMatchingTranscodingDefinition(VideoDeliveryEngine.java:248)
at org.serviio.delivery.resource.VideoDeliveryEngine.fileCanBeTranscoded(VideoDeliveryEngine.java:112)
at org.serviio.delivery.resource.VideoDeliveryEngine.fileCanBeTranscoded(VideoDeliveryEngine.java:52)
at org.serviio.delivery.resource.AbstractDeliveryEngine.getMediaInfoForProfile(AbstractDeliveryEngine.java:66)
at org.serviio.delivery.MediaResourceRetrievalStrategy.getMediaInfoForAvailableProfiles(MediaResourceRetrievalStrategy.java:67)
at org.serviio.upnp.service.contentdirectory.command.ResourceValuesBuilder.buildResources(ResourceValuesBuilder.java:43)
at org.serviio.upnp.service.contentdirectory.command.AbstractEntityItemCommand.generateResourcesForEntity(AbstractEntityItemCommand.java:128)
at org.serviio.upnp.service.contentdirectory.command.AbstractEntityItemCommand.retrieveList(AbstractEntityItemCommand.java:55)
at org.serviio.upnp.service.contentdirectory.command.AbstractCommand.retrieveItemList(AbstractCommand.java:111)
... 16 more
2010-06-13 18:05:37,912 WARN [ContentDirectory] Browse for object id V_T#INI_U failed with exception: null
java.lang.NullPointerException
at org.serviio.upnp.service.contentdirectory.definition.ContainerNode.retrieveContainerItems(ContainerNode.java:98)
at org.serviio.upnp.service.contentdirectory.definition.ActionNode.retrieveContainerItems(ActionNode.java:127)
at org.serviio.upnp.service.contentdirectory.ContentDirectory.Browse(ContentDirectory.java:154)
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.serviio.upnp.protocol.soap.ServiceInvoker.invokeOperation(ServiceInvoker.java:253)
at org.serviio.upnp.protocol.soap.ServiceInvoker.invokeService(ServiceInvoker.java:93)
at org.serviio.upnp.webserver.ServiceControlRequestHandler.handleRequest(ServiceControlRequestHandler.java:73)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:50)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:166)
2010-06-13 18:05:37,912 DEBUG [ServiceControlRequestHandler] Returning error SOAP message
This behavior disappears, as soon as I remove the empty:
- Code:
<Transcoding>
</Transcoding>
And then the files show up at the player!
Both the MKV and the DIVX. I can start playback, the video codec is displayed as AVC, but the trailer begins to stutter as soon as the (low bitrate) part with the "approved for..." blabla screen ends and the actual content begins. The bitrate then is (according to the player) around 10 mbit/s.
EDIT: Others MKVs, even those with AC3 sound now show up and I can start playback. But they all stutter. The transcoded version of these had a mpeg-2-bitrate of over 10 mbit/s - in the same range than the now "working" H.264 stream... So why oh why does it stutter
The progress indicator in the time bar jumps back and forth, looks like the player is not receiving enough data?!
EDIT 2: While playing the cpu usage of ServiioService.exe surges to 90+% (on one of my two cores). I've set the logging level to "ERROR", so the generated logfile is empty, but still the cpu usage is this high...
unbekannt