FAQ  •  Register  •  Login

0.6.1 - AppleHTTP Transcoding

<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Fri Jan 06, 2012 1:53 pm

0.6.1 - AppleHTTP Transcoding

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?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jan 06, 2012 2:09 pm

Re: 0.6.1 - AppleHTTP Transcoding

do you have a detailed log?
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Fri Jan 06, 2012 8:24 pm

Re: 0.6.1 - AppleHTTP Transcoding

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.
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sat Jan 07, 2012 7:07 pm

Re: 0.6.1 - AppleHTTP Transcoding

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.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 07, 2012 11:53 pm

Re: 0.6.1 - AppleHTTP Transcoding

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.
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sun Jan 08, 2012 2:14 pm

Re: 0.6.1 - AppleHTTP Transcoding

How do I disable the Samsung specific functionality?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Jan 08, 2012 2:17 pm

Re: 0.6.1 - AppleHTTP Transcoding

Remove DeviceDescription block from the profile.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 20 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.