Page 1 of 1

0.6.1 - AppleHTTP Transcoding

PostPosted: Fri Jan 06, 2012 1:53 pm
by CraigD
I have attempted to adjust the online transcoding profile for applehttp with no real luck. My preference is to mux to mpegts instead of mpeg and not to transcode to mpeg2video if the video codec is h264.

I have added the following to my profiles.xml in the OnlineTranscoding section for both my PS3 and my Samsung D series:

  Code:
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
   <Matches container="applehttp" vCodec="h264"/>
</Video>


but whenever I try to list online streams for a set of AppleHTTP streams (not even when I try to play a stream), I get DLNA protocol error 501.

What am I doing wrong?

Re: 0.6.1 - AppleHTTP Transcoding

PostPosted: Fri Jan 06, 2012 2:09 pm
by zip
do you have a detailed log?

Re: 0.6.1 - AppleHTTP Transcoding

PostPosted: Fri Jan 06, 2012 8:24 pm
by CraigD
Yeah I'll get one this weekend. There was an exception thrown somewhere. Unfortunately the log has rolled since it's been rebuilding my library.

Re: 0.6.1 - AppleHTTP Transcoding

PostPosted: Sat Jan 07, 2012 7:07 pm
by CraigD
Doesn't seem to be an issue any longer for some reason. Though I do have an issue when playing a transcoded live stream. Here's an exception in the logs:

  Code:
2012-01-07 13:48:01,765 ERROR [ServiceInvoker] Operation X_SetBookmark threw an exception
org.serviio.db.dao.PersistenceException: Cannot set bookmark for MediaItem 1000000000010001
   at org.serviio.library.dao.MediaItemDAOImpl.setMediaItemBookmark(MediaItemDAOImpl.java:310)
   at org.serviio.library.local.service.MediaService.setMediaItemBookmark(MediaService.java:65)
   at org.serviio.upnp.service.contentdirectory.ContentDirectory.X_SetBookmark(ContentDirectory.java:308)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   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:74)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
   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:187)
Caused by: java.sql.SQLDataException: The resulting value is outside the range for the data type INTEGER.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedResultSet.noStateChangeException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.setLong(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.setMediaItemBookmark(MediaItemDAOImpl.java:307)
   ... 14 more
Caused by: java.sql.SQLException: The resulting value is outside the range for the data type INTEGER.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)
   ... 20 more
Caused by: ERROR 22003: The resulting value is outside the range for the data type INTEGER.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.types.DataType.outOfRange(Unknown Source)
   at org.apache.derby.iapi.types.SQLInteger.setValue(Unknown Source)
   ... 16 more



The video just stops on my TV; I am able to restart it.

Re: 0.6.1 - AppleHTTP Transcoding

PostPosted: Sat Jan 07, 2012 11:53 pm
by zip
Ops, bug. It's trying to set bookmark where obviously online content doesn't support it. But it should not be only for apple http, but all online content on the Samsung. You can disable the Samsung special functionality if you're not using it. Otherwise I'll see if there are more people with this in which case I'd release a patch.

Re: 0.6.1 - AppleHTTP Transcoding

PostPosted: Sun Jan 08, 2012 2:14 pm
by CraigD
How do I disable the Samsung specific functionality?

Re: 0.6.1 - AppleHTTP Transcoding

PostPosted: Sun Jan 08, 2012 2:17 pm
by zip
Remove DeviceDescription block from the profile.