Jump to content

Slow to start


Recommended Posts

Not sure if it's just my setup, but when I press play, it can take up to 10 seconds before playback starts.

 

Anyone else see this?

 

Thanks.

Link to post
Share on other sites

Yes all cabled.

 

Gigabit round the house, although TV is only 100megabit.

 

Start does vary. Sometimes 2-3 seconds, but mainly around 10.

Link to post
Share on other sites

Yes all cabled.

 

Gigabit round the house, although TV is only 100megabit.

 

Start does vary. Sometimes 2-3 seconds, but mainly around 10.

 

@@chessdragon136 - log from earlier: https://www.dropbox.com/s/pd5d6m741g794aj/server-63544828576.txt?dl=0

 

There are a few http errors in the log, but not sure if they're related.

 

.

Edited by CBers
Link to post
Share on other sites
FrostByte

I'm seeing the same thing as CBers.  A blank screen that just waits for a few seconds and then starts playing.  I just assumed it was buffering like Roku app does but without the progress bar.

Link to post
Share on other sites

The Roku app buffers as it's building the transcode stream, but this app is direct play like MBC.

 

There really should only be a second or 2 of lag before playback.

  • Like 1
Link to post
Share on other sites
chessdragon136
2014-08-28 13:17:54.2359 Debug - HttpServer: HTTP Response 206 to 192.168.1.199. Response time: 10015.5728 ms.
    Url: http://192.168.1.140:8096/mediabrowser/Videos/97d3aeeca3ff99f09e06fe5bdb2a4a9c/Stream.mkv?static=true&VideoStreamIndex=0&AudioStreamIndex=1&MediaSourceId=97d3aeeca3ff99f09e06fe5bdb2a4a9c&DeviceId=SHCHU5ARL4PQ2&StartTimeTicks=17359850000
2014-08-28 13:17:54.2359 Error - HttpServer: Error this.ProcessRequest(context)(Exception while writing error to the response)
    Cannot access a disposed object.
    Object name: 'WebSocketSharp.Net.HttpListenerResponse'.
    System.ObjectDisposedException
     at WebSocketSharp.Net.HttpListenerResponse.set_StatusCode(Int32 value)
     at MediaBrowser.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.set_StatusCode(Int32 value)
     at MediaBrowser.Server.Implementations.HttpServer.HttpListenerHost.ErrorHandler(Exception ex, IRequest httpReq)

@@Luke - This is from @@CBers log - Truth to tell I'm not sure what I am looking at -> I don't use websockets in my code at all as the older tv's only have HTML4. But looking at the ms response time it looks like this is the issue. 

Link to post
Share on other sites
2014-08-28 13:17:54.2359 Debug - HttpServer: HTTP Response 206 to 192.168.1.199. Response time: 10015.5728 ms.
    Url: http://192.168.1.140:8096/mediabrowser/Videos/97d3aeeca3ff99f09e06fe5bdb2a4a9c/Stream.mkv?static=true&VideoStreamIndex=0&AudioStreamIndex=1&MediaSourceId=97d3aeeca3ff99f09e06fe5bdb2a4a9c&DeviceId=SHCHU5ARL4PQ2&StartTimeTicks=17359850000
2014-08-28 13:17:54.2359 Error - HttpServer: Error this.ProcessRequest(context)(Exception while writing error to the response)
    Cannot access a disposed object.
    Object name: 'WebSocketSharp.Net.HttpListenerResponse'.
    System.ObjectDisposedException
     at WebSocketSharp.Net.HttpListenerResponse.set_StatusCode(Int32 value)
     at MediaBrowser.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.set_StatusCode(Int32 value)
     at MediaBrowser.Server.Implementations.HttpServer.HttpListenerHost.ErrorHandler(Exception ex, IRequest httpReq)

@@Luke - This is from @@CBers log - Truth to tell I'm not sure what I am looking at -> I don't use websockets in my code at all as the older tv's only have HTML4. But looking at the ms response time it looks like this is the issue. 

 

 

 

From the server's standpoint that looks fine because that response time represents the entire amount of time the file was being streamed. 10 seconds to download a 500mb file from a smart tv looks normal to me. The issue is why does the tv need the entire file before it will start playing. bad or missing data in the mkv header could be one reason. if the tv can't match up timestamps to byte offsets from the header information, then it will need the whole file before it can start playing.

Link to post
Share on other sites

So I think your answer is, if the mkv has what's called header stripping, then you shouldn't try to direct stream it. the server currently doesn't report this but i'll try to get it added.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...