Page 1 of 1
Smart Cache/Buffer

Posted:
Thu Feb 23, 2012 4:36 am
by XNY
Can developers make Serviio could determine connection speed(from ISP) and do auto cache/buffer adjusment to make sure no "pause and play" when streaming video from external server. With 2 Mbps speed I found Serviio hard to streaming blu-ray video on the fly.
If you can't make it auto at least manual

Re: Smart Cache/Buffer

Posted:
Thu Feb 23, 2012 8:19 am
by will
Serviio is buffering the content as it transcodes it into a temp file first, so if you press pause and wait a few minutes it will buffere more content. Otherwise turn down the quality if the source you are using supports it as you will struggle to stream HD content over 2Mb/s.
Re: Smart Cache/Buffer

Posted:
Thu Feb 23, 2012 9:23 am
by zip
will wrote:Serviio is buffering the content as it transcodes it into a temp file first
That is not the case for live streams, but for static online content yes.
The problem with buffer is that it should really be done on the renderer side (and some do it quite well, eg xbox). If the server waits for a buffer to fill in the play request from the TV will probably time out and fail.
Re: Smart Cache/Buffer

Posted:
Thu Feb 23, 2012 9:30 am
by will
Ah yes, forgot about that.
Re: Smart Cache/Buffer

Posted:
Thu Feb 23, 2012 10:07 am
by Illico
zip wrote:That is not the case for live streams, but for static online content yes.
The problem with buffer is that it should really be done on the renderer side (and some do it quite well, eg xbox). If the server waits for a buffer to fill in the play request from the TV will probably time out and fail.
Do you think that buffer size should become a custom user variable ?
Re: Smart Cache/Buffer

Posted:
Thu Feb 23, 2012 10:28 am
by zip
As I said, the request will expire if we wait for a buffer to be filled
Re: Smart Cache/Buffer

Posted:
Mon Feb 27, 2012 2:44 am
by lazybones
zip wrote:As I said, the request will expire if we wait for a buffer to be filled
I wonder if Serviio couldn't send looped buffering video to the player to cover the periods of buffering to keep the player happy.
Re: Smart Cache/Buffer

Posted:
Mon Feb 27, 2012 7:43 pm
by Illico
lazybones wrote:I wonder if Serviio couldn't send looped buffering video to the player to cover the periods of buffering to keep the player happy.
+1, I also thinking something like that.
Re: Smart Cache/Buffer

Posted:
Mon Feb 27, 2012 9:42 pm
by zip
that would screw up duration of the video and some renderers might cut it short because of that. It'd also make the installation too big.
Re: Smart Cache/Buffer

Posted:
Thu Apr 12, 2012 8:11 pm
by Pedja
I also agree that there should be an option to set buffer size. That would allow us to adjust. I have problems watching some streams that are close to my internet link speed so ti happens from time to time that stream stalls for short. That could be easily solved by increasing buffer just a bit.
And, that would be an option. Who has problems with timeouts on player, he can opt not to use it.
While waiting for buffer to initially load, Servio should display some picture. That may be still picture just saying "Buffering.." or maybe simple animation that shows how buffer fills up so, user can see when stream play will start.
I do not care if duration would be messed up. I am using it to watch online streams, where duration is not important, and that is where buffering is most needed. I am pretty sure other feel the same way.
However, who does case about duration, he does not have to use this option.
Re: Smart Cache/Buffer

Posted:
Thu Apr 12, 2012 11:30 pm
by zip
Pedja wrote:I do not care if duration would be messed up. I am using it to watch online streams, where duration is not important, and that is where buffering is most needed. I am pretty sure other feel the same way.
You will care once the TV cuts the stream at half time (at it's original duration point).