FAQ  •  Register  •  Login

Smart Cache/Buffer

<<

XNY

Serviio newbie

Posts: 18

Joined: Wed Jan 11, 2012 10:19 am

Post Thu Feb 23, 2012 4:36 am

Smart Cache/Buffer

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 :D
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Thu Feb 23, 2012 8:19 am

Re: Smart Cache/Buffer

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

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Feb 23, 2012 9:23 am

Re: Smart Cache/Buffer

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

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Thu Feb 23, 2012 9:30 am

Re: Smart Cache/Buffer

Ah yes, forgot about that.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Feb 23, 2012 10:07 am

Re: Smart Cache/Buffer

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 ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Feb 23, 2012 10:28 am

Re: Smart Cache/Buffer

As I said, the request will expire if we wait for a buffer to be filled
<<

lazybones

Streaming enthusiast

Posts: 42

Joined: Mon Dec 12, 2011 2:49 am

Post Mon Feb 27, 2012 2:44 am

Re: Smart Cache/Buffer

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

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Mon Feb 27, 2012 7:43 pm

Re: Smart Cache/Buffer

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.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Feb 27, 2012 9:42 pm

Re: Smart Cache/Buffer

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

Pedja

Serviio newbie

Posts: 1

Joined: Thu Apr 12, 2012 7:59 pm

Post Thu Apr 12, 2012 8:11 pm

Re: Smart Cache/Buffer

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

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Apr 12, 2012 11:30 pm

Re: Smart Cache/Buffer

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

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 59 guests

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